Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit 1ad96a7

Browse files
committed
Added some version specifications for packages in mvn.
Using NetBeans for development, missing package version specs are reported: ********************************* cd /home/rberliner/Dropbox/freeboard/signalk-server-java; JAVA_HOME=/home/rberliner/jdk1.8.0_71 /home/rberliner/netbeans-8.1/java/maven/bin/mvn --errors --errors clean install [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for nz.co.fortytwo.signalk.server:signalk-server-java:jar:0.0.1-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:exec-maven-plugin is missing. @ line 462, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 450, column 12 [WARNING] 'build.plugins.plugin.version' for org.mortbay.jetty:jetty-maven-plugin is missing. @ line 470, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] ***************** This has been fixed by specifying the latest package versions on the pom.
1 parent f4c1376 commit 1ad96a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@
450450
<plugin>
451451
<groupId>org.apache.maven.plugins</groupId>
452452
<artifactId>maven-surefire-plugin</artifactId>
453+
<version>2.19.1</version>
453454

454455
<configuration>
455456
<forkCount>1</forkCount>
@@ -462,6 +463,7 @@
462463
<plugin>
463464
<groupId>org.codehaus.mojo</groupId>
464465
<artifactId>exec-maven-plugin</artifactId>
466+
<version>1.5.0</version>
465467
<configuration>
466468
<mainClass>nz.co.fortytwo.signalk.server.ServerMain</mainClass>
467469
<includePluginDependencies>false</includePluginDependencies>
@@ -470,6 +472,7 @@
470472
<plugin>
471473
<groupId>org.mortbay.jetty</groupId>
472474
<artifactId>jetty-maven-plugin</artifactId>
475+
<version>8.1.16.v20140903</version>
473476
</plugin>
474477
<plugin>
475478
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)