From 529e2800e7ca3cfc9bfa828134667fa8524bb2f1 Mon Sep 17 00:00:00 2001 From: Heath Borders Date: Tue, 10 Jun 2014 15:24:15 -0500 Subject: [PATCH] Fixed maven warnings about missing versions. ``` [WARNING] [WARNING] Some problems were encountered while building the effective model for org.boundbox:boundbox-sample-integration-tests:jar:1.2.0 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 81, column 12 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 63, column 12 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.boundbox:boundbox-sample:jar:1.2.0 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 83, column 12 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 65, column 12 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.boundbox:boundbox-android-sample:apk:1.2.0 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 59, column 12 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.boundbox:boundbox-android-sample-tests:apk:1.2.0 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 96, column 12 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 78, 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] ``` --- boundbox-library-integration-tests/pom.xml | 2 ++ boundbox-library/dependency-reduced-pom.xml | 15 ++++++++++++--- samples/boundbox-android-sample-tests/pom.xml | 2 ++ samples/boundbox-android-sample/pom.xml | 1 + samples/boundbox-sample/pom.xml | 2 ++ 5 files changed, 19 insertions(+), 3 deletions(-) diff --git a/boundbox-library-integration-tests/pom.xml b/boundbox-library-integration-tests/pom.xml index 9f88f72..381caa5 100644 --- a/boundbox-library-integration-tests/pom.xml +++ b/boundbox-library-integration-tests/pom.xml @@ -63,6 +63,7 @@ org.codehaus.mojo build-helper-maven-plugin + ${build-helper-maven-plugin.version} add-source @@ -80,6 +81,7 @@ maven-compiler-plugin + ${maven-compiler-plugin.version} 1.6 1.6 diff --git a/boundbox-library/dependency-reduced-pom.xml b/boundbox-library/dependency-reduced-pom.xml index 3ea17c3..cc382b6 100644 --- a/boundbox-library/dependency-reduced-pom.xml +++ b/boundbox-library/dependency-reduced-pom.xml @@ -3,7 +3,7 @@ boundbox-parent org.boundbox - 1.2.0-SNAPSHOT + 1.2.0 4.0.0 boundbox-library @@ -56,10 +56,13 @@ filter-src - process-sources filter-sources + + ${basedir}/src/main/java-templates + ${project.build.directory}/generated-sources/java-templates + @@ -119,7 +122,7 @@ - silent + release Level.OFF @@ -188,6 +191,12 @@ 0.12.0 provided + + org.apache.commons + commons-io + 1.3.2 + compile + junit junit diff --git a/samples/boundbox-android-sample-tests/pom.xml b/samples/boundbox-android-sample-tests/pom.xml index 6e712e8..6afeba2 100644 --- a/samples/boundbox-android-sample-tests/pom.xml +++ b/samples/boundbox-android-sample-tests/pom.xml @@ -78,6 +78,7 @@ org.codehaus.mojo build-helper-maven-plugin + ${build-helper-maven-plugin.version} add-source @@ -95,6 +96,7 @@ maven-compiler-plugin + ${maven-compiler-plugin.version} ${java.version} ${java.version} diff --git a/samples/boundbox-android-sample/pom.xml b/samples/boundbox-android-sample/pom.xml index 2c90449..dbc2375 100644 --- a/samples/boundbox-android-sample/pom.xml +++ b/samples/boundbox-android-sample/pom.xml @@ -58,6 +58,7 @@ maven-compiler-plugin + ${maven-compiler-plugin.version} ${java.version} ${java.version} diff --git a/samples/boundbox-sample/pom.xml b/samples/boundbox-sample/pom.xml index 37d41ba..9d1ef38 100644 --- a/samples/boundbox-sample/pom.xml +++ b/samples/boundbox-sample/pom.xml @@ -65,6 +65,7 @@ org.codehaus.mojo build-helper-maven-plugin + ${build-helper-maven-plugin.version} add-source @@ -82,6 +83,7 @@ maven-compiler-plugin + ${maven-compiler-plugin.version} ${java.version} ${java.version}