Browse Source

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.
```
tags/rel_3_20_0_ga
Michal Kordas 9 years ago
parent
commit
1fd31f137c
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      pom.xml

+ 2
- 0
pom.xml View File

@@ -137,6 +137,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
@@ -160,6 +161,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<archive>
<manifestFile>${project.build.sourceDirectory}/META-INF/MANIFEST.MF</manifestFile>

Loading…
Cancel
Save