Skip to content

Commit 9c0d15c

Browse files
committed
Moves system property to pom.xml
Signed-off-by: Santiago Pericas-Geertsen <[email protected]>
1 parent 5c4eaa2 commit 9c0d15c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

microprofile/cdi/pom.xml

+10
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,16 @@
108108
</annotationProcessorPaths>
109109
</configuration>
110110
</plugin>
111+
<plugin>
112+
<groupId>org.apache.maven.plugins</groupId>
113+
<artifactId>maven-surefire-plugin</artifactId>
114+
<configuration>
115+
<systemProperties>
116+
<mp.initializer.allow>true</mp.initializer.allow>
117+
</systemProperties>
118+
</configuration>
119+
120+
</plugin>
111121
</plugins>
112122
</build>
113123
</project>

microprofile/cdi/src/test/java/io/helidon/microprofile/cdi/AsyncPlatformTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class AsyncPlatformTest {
3535
@BeforeAll
3636
@SuppressWarnings("unchecked")
3737
static void startCdi() {
38-
System.setProperty("mp.initializer.allow", "true");
3938
seContainer = SeContainerInitializer.newInstance()
4039
.disableDiscovery()
4140
.addExtensions(AsyncPlatformExtension.class)

0 commit comments

Comments
 (0)