1.6 build fails with maven 2.0.9
--------------------------------
Key: TUSCANY-3440
URL: https://issues.apache.org/jira/browse/TUSCANY-3440
Project: Tuscany
Issue Type: Bug
Components: Build System
Affects Versions: Java-SCA-1.6
Reporter: Luciano Resende
Fix For: Java-SCA-1.6
Build is failing when using maven 2.0.9 and the cause seems to be related to
different maven versions being using different maven plugins versions as we are
not explicit setting versions everywhere. The enforcer plugin could be used
to stop that like we have now in 2.x by adding the following to the top level
pom.xml (though someone would then need to go through fixing all the
unspecified versions):
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0-beta-1</version>
<executions>
<execution>
<id>enforce-plugin-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requirePluginVersions>
<message>Best Practice is to always define released
plugin versions!</message>
<banLatest>true</banLatest>
<banRelease>true</banRelease>
<banSnapshots>true</banSnapshots>
<phases>clean,deploy,site</phases>
<additionalPlugins>
</additionalPlugins>
</requirePluginVersions>
</rules>
</configuration>
</execution>
</executions>
</plugin>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.