From 1fd31f137c3995d29a5be698c9919b6f764ba882 Mon Sep 17 00:00:00 2001 From: Michal Kordas Date: Sat, 14 Mar 2015 14:33:09 +0100 Subject: [PATCH] Update maven-jar-plugin and maven-compiler-plugin to fix warning The following warning when invoking `mvn versions:display-plugin-updates` does not appear anymore: ``` [WARNING] Some problems were encountered while building the effective model for org.javassist:javassist:bundle:3.19.0-GA [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 137, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 160, column 15 [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. ``` --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index 82270e85..f7925803 100644 --- a/pom.xml +++ b/pom.xml @@ -137,6 +137,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.2 1.6 1.6 @@ -160,6 +161,7 @@ org.apache.maven.plugins maven-jar-plugin + 2.6 ${project.build.sourceDirectory}/META-INF/MANIFEST.MF -- 2.39.5