diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-05 18:37:28 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-05 18:37:28 +0000 |
commit | 83a03558455f4deb93628741ad91e7d063518e56 (patch) | |
tree | 5e91132c5826463783043fb679a596637ed5549d | |
parent | cb39f085e862a6a062d22f647d4b387fba63e09d (diff) |
Add some explicit plugin versions and activate the maven enforcer plugin to verify only explicit released plugin versions are being used in the build to try to ensure the build runs consistently
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@896167 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-java-2.x/trunk/pom.xml | 63 |
1 files changed, 62 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/pom.xml b/sca-java-2.x/trunk/pom.xml index cc7a009109..cad827ec1c 100644 --- a/sca-java-2.x/trunk/pom.xml +++ b/sca-java-2.x/trunk/pom.xml @@ -336,7 +336,7 @@ <plugin> <groupId>org.apache.tuscany.maven.plugins</groupId> <artifactId>maven-bundle-plugin</artifactId> - <version>1.0.5-SNAPSHOT</version> + <version>1.0.5</version> <extensions>true</extensions> </plugin> <plugin> @@ -614,11 +614,72 @@ </includes> </resource> + + </resources> + <plugins> + <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> + </plugins> <pluginManagement> <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-clean-plugin</artifactId> + <version>2.3</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-install-plugin</artifactId> + <version>2.2</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>2.0-beta-7</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>2.3</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.0</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <version>2.1-alpha-2</version> + </plugin> + <!-- compiler plugin configuration --> <plugin> <groupId>org.apache.maven.plugins</groupId> |