Update to Maven JAR Plugin 3.1.1 to pick up the fix of MJAR-241
surefire plugin 3.0.0-M2 remove use of Automatic-Module-Name jar plugin property so we avoid failure on jpms module name validation by jar plugin 3.1.1 Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
9ca77a23aa
commit
bbd45fa66d
|
@ -18,6 +18,33 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.felix</groupId>
|
||||||
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<instructions>
|
||||||
|
<Import-Package>javax.mail.*;resolution:=optional,*</Import-Package>
|
||||||
|
</instructions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<descriptors>
|
||||||
|
<descriptor>src/main/assembly/config.xml</descriptor>
|
||||||
|
</descriptors>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>findbugs-maven-plugin</artifactId>
|
<artifactId>findbugs-maven-plugin</artifactId>
|
||||||
|
|
5
pom.xml
5
pom.xml
|
@ -66,11 +66,10 @@
|
||||||
<unix.socket.tmp></unix.socket.tmp>
|
<unix.socket.tmp></unix.socket.tmp>
|
||||||
<!-- enable or not TestTracker junit5 extension i.e log message when test method is starting -->
|
<!-- enable or not TestTracker junit5 extension i.e log message when test method is starting -->
|
||||||
<jetty.testtracker.log>false</jetty.testtracker.log>
|
<jetty.testtracker.log>false</jetty.testtracker.log>
|
||||||
|
|
||||||
<jetty.surefire.argLine>-Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=US -showversion -Xmx1g -Xms1g -Xlog:gc:stderr:time,level,tags</jetty.surefire.argLine>
|
<jetty.surefire.argLine>-Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=US -showversion -Xmx1g -Xms1g -Xlog:gc:stderr:time,level,tags</jetty.surefire.argLine>
|
||||||
|
|
||||||
<!-- some maven plugins versions -->
|
<!-- some maven plugins versions -->
|
||||||
<maven.surefire.version>2.22.1</maven.surefire.version>
|
<maven.surefire.version>3.0.0-M2</maven.surefire.version>
|
||||||
<maven.compiler.plugin.version>3.8.0</maven.compiler.plugin.version>
|
<maven.compiler.plugin.version>3.8.0</maven.compiler.plugin.version>
|
||||||
<maven.dependency.plugin.version>3.1.1</maven.dependency.plugin.version>
|
<maven.dependency.plugin.version>3.1.1</maven.dependency.plugin.version>
|
||||||
<maven.resources.plugin.version>3.1.0</maven.resources.plugin.version>
|
<maven.resources.plugin.version>3.1.0</maven.resources.plugin.version>
|
||||||
|
@ -490,7 +489,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<version>3.1.0</version>
|
<version>3.1.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<archive>
|
<archive>
|
||||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||||
|
|
Loading…
Reference in New Issue