Skip to content

Commit 1560881

Browse files
authored
Update parent pom, tidy use argLine in properties (#683)
The updated parent pom allows overriding argLine via properties section. We desire this to tidy things up and make it easier to support a EA Valhalla build.
1 parent 5700619 commit 1560881

File tree

5 files changed

+3
-32
lines changed

5 files changed

+3
-32
lines changed

blackbox-test-inject/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212
<groupId>io.avaje.blackboxtest</groupId>
1313
<artifactId>blackbox-test-inject</artifactId>
1414

15-
<properties>
16-
<maven.compiler.release>11</maven.compiler.release>
17-
<argLine>-Dnet.bytebuddy.experimental=true</argLine>
18-
</properties>
19-
2015
<dependencies>
2116

2217
<dependency>

inject-generator/pom.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@
4949

5050
<build>
5151
<plugins>
52-
<plugin>
53-
<groupId>org.apache.maven.plugins</groupId>
54-
<artifactId>maven-surefire-plugin</artifactId>
55-
<configuration>
56-
<useModulePath>false</useModulePath>
57-
</configuration>
58-
</plugin>
5952
<plugin>
6053
<groupId>org.apache.maven.plugins</groupId>
6154
<artifactId>maven-compiler-plugin</artifactId>

inject-test/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,6 @@
141141
</configuration>
142142
</plugin>
143143

144-
<plugin>
145-
<groupId>org.apache.maven.plugins</groupId>
146-
<artifactId>maven-surefire-plugin</artifactId>
147-
<configuration>
148-
<useModulePath>false</useModulePath>
149-
<argLine>-Dnet.bytebuddy.experimental=true</argLine>
150-
</configuration>
151-
</plugin>
152144
</plugins>
153145
</build>
154146
</project>

inject/pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,6 @@
102102
</executions>
103103
</plugin>
104104

105-
<plugin>
106-
<groupId>org.apache.maven.plugins</groupId>
107-
<artifactId>maven-surefire-plugin</artifactId>
108-
<configuration>
109-
<argLine>
110-
--add-opens io.avaje.inject/io.avaje.inject.spi=ALL-UNNAMED
111-
--add-opens io.avaje.inject/io.avaje.inject.aop=ALL-UNNAMED
112-
</argLine>
113-
</configuration>
114-
</plugin>
115-
116105
</plugins>
117106
</build>
118107

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>org.avaje</groupId>
1313
<artifactId>java11-oss</artifactId>
14-
<version>4.3</version>
14+
<version>4.4</version>
1515
</parent>
1616
<scm>
1717
<developerConnection>scm:git:[email protected]:avaje/avaje-inject.git</developerConnection>
@@ -20,6 +20,8 @@
2020

2121
<properties>
2222
<nexus.staging.autoReleaseAfterClose>true</nexus.staging.autoReleaseAfterClose>
23+
<surefire.useModulePath>false</surefire.useModulePath>
24+
<argLine>-Dnet.bytebuddy.experimental=true</argLine>
2325
</properties>
2426

2527
<modules>

0 commit comments

Comments
 (0)