Commit 90964fb2 authored by Antoine Mottier's avatar Antoine Mottier

Use pluginManagement to specify assembly plugin version

Add in the root pom of joram a pluginManagement section that use the property maven-assembly-plugin.version declared in the same pom to define the version of assembly plugin to use.
Use version 3.3.0 (i.e. latest one available at the time of commit) by default.
Override the version to 2.6 for jmscheck module as it is the latest one to include the goal 'attached' that is used by jmscheck.
parent 79e8fab8
......@@ -45,7 +45,11 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<!-- Override version defined in root pom.xml because goal "attached" was available only up to version 2.6
and root pom.xml define version 3.3.0 -->
<version>2.6</version>
<executions>
<execution>
<goals>
......@@ -97,4 +101,4 @@
<modules>
</modules>
</project>
\ No newline at end of file
</project>
......@@ -167,7 +167,20 @@
<artifactId>wagon-ssh</artifactId>
<version>1.0</version>
</extension>
</extensions>
</extensions>
<!-- Plugins version to be used -->
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
......@@ -279,6 +292,7 @@
<email>nicolas.tachker@scalagent.com</email>
</developer>
</developers>
<!-- Preferred dependencies version -->
<dependencyManagement>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment