Skip to content

Commit 014e899

Browse files
committed
mvn build improvements
Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
1 parent 8b75b42 commit 014e899

File tree

26 files changed

+54
-66
lines changed

26 files changed

+54
-66
lines changed

archetypes/jersey-quickstart-grizzly2/src/main/resources/archetype-resources/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<plugin>
5151
<groupId>org.apache.maven.plugins</groupId>
5252
<artifactId>maven-compiler-plugin</artifactId>
53-
<version>3.8.1</version>
53+
<version>${compiler.mvn.plugin.version}</version>
5454
<inherited>true</inherited>
5555
<configuration>
5656
<source>1.8</source>
@@ -60,7 +60,7 @@
6060
<plugin>
6161
<groupId>org.codehaus.mojo</groupId>
6262
<artifactId>exec-maven-plugin</artifactId>
63-
<version>1.2.1</version>
63+
<version>${exec.mvn.plugin.version}</version>
6464
<executions>
6565
<execution>
6666
<goals>

bundles/apidocs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<dependency>
128128
<groupId>org.glassfish</groupId>
129129
<artifactId>javax.servlet</artifactId>
130-
<version>3.1</version>
130+
<version>3.1.1</version>
131131
</dependency>
132132
<dependency>
133133
<groupId>org.glassfish.jersey.containers</groupId>

bundles/jaxrs-ri/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@
424424
<plugin>
425425
<groupId>org.codehaus.mojo</groupId>
426426
<artifactId>wagon-maven-plugin</artifactId>
427-
<version>1.0-beta-4</version>
427+
<version>2.0.2</version>
428428
<inherited>false</inherited>
429429
<executions>
430430
<execution>

connectors/helidon-connector/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<dependency>
3535
<groupId>io.helidon.jersey</groupId>
3636
<artifactId>helidon-jersey-connector</artifactId>
37-
<version>2.2.1</version>
37+
<version>${helidon.connector.version}</version>
3838
<scope>provided</scope>
3939
</dependency>
4040
<dependency>

core-common/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,6 @@
676676
<plugin>
677677
<groupId>org.apache.maven.plugins</groupId>
678678
<artifactId>maven-source-plugin</artifactId>
679-
<version>3.0.1</version>
680679
<executions>
681680
<execution>
682681
<id>attach-sources</id>

core-server/pom.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,13 @@
227227
<dependency>
228228
<groupId>org.jboss</groupId>
229229
<artifactId>jboss-vfs</artifactId>
230-
<version>3.2.6.Final</version>
230+
<version>${jboss.vfs.version}</version>
231+
<scope>test</scope>
232+
</dependency>
233+
<dependency>
234+
<groupId>org.jboss.logging</groupId>
235+
<artifactId>jboss-logging</artifactId>
236+
<version>${jboss.logging.version}</version>
231237
<scope>test</scope>
232238
</dependency>
233239

@@ -240,6 +246,15 @@
240246
</dependencies>
241247

242248
<profiles>
249+
<profile>
250+
<id>jdk8</id>
251+
<activation>
252+
<jdk>1.8</jdk>
253+
</activation>
254+
<properties>
255+
<jboss.vfs.version>${jboss.vfs.jdk8.version}</jboss.vfs.version>
256+
</properties>
257+
</profile>
243258
<profile>
244259
<id>jdk11+</id>
245260
<activation>

examples/extended-wadl-webapp/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<dependency>
110110
<groupId>org.slf4j</groupId>
111111
<artifactId>slf4j-log4j12</artifactId>
112-
<version>1.6.4</version>
112+
<version>2.0.13</version>
113113
<scope>test</scope>
114114
</dependency>
115115

examples/groovy/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<dependency>
4949
<groupId>org.junit.jupiter</groupId>
5050
<artifactId>junit-jupiter-engine</artifactId>
51-
<version>5.8.2</version>
51+
<version>${junit5.version}</version>
5252
<scope>test</scope>
5353
</dependency>
5454
</dependencies>
@@ -83,7 +83,7 @@
8383
<plugin>
8484
<groupId>org.codehaus.gmavenplus</groupId>
8585
<artifactId>gmavenplus-plugin</artifactId>
86-
<version>1.12.1</version>
86+
<version>3.0.0</version>
8787
<executions>
8888
<execution>
8989
<id>1</id>
@@ -126,7 +126,7 @@
126126
<plugin>
127127
<groupId>org.codehaus.mojo</groupId>
128128
<artifactId>build-helper-maven-plugin</artifactId>
129-
<version>3.0.0</version>
129+
<version>${buildhelper.mvn.plugin.version}</version>
130130
<executions>
131131
<execution>
132132
<id>3</id>

examples/helloworld-spring-annotations/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<dependency>
4545
<groupId>commons-logging</groupId>
4646
<artifactId>commons-logging</artifactId>
47-
<version>1.2</version>
47+
<version>${commons.logging.version}</version>
4848
</dependency>
4949
<dependency>
5050
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
@@ -54,7 +54,7 @@
5454
<dependency>
5555
<groupId>javax.servlet</groupId>
5656
<artifactId>javax.servlet-api</artifactId>
57-
<version>3.0.1</version>
57+
<version>${servlet3.version}</version>
5858
</dependency>
5959
</dependencies>
6060

examples/java8-webapp/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<groupId>org.eclipse.jetty</groupId>
5757
<artifactId>jetty-maven-plugin</artifactId>
5858
<!-- TODO: Remove the version when JERSEY-2743 is resolved. -->
59-
<version>9.2.6.v20141205</version>
59+
<version>${jetty.version}</version>
6060
<configuration>
6161
<scanIntervalSeconds>5</scanIntervalSeconds>
6262
<stopPort>9999</stopPort>

0 commit comments

Comments
 (0)