You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by an...@apache.org on 2014/10/05 21:32:20 UTC
[2/2] git commit: Overriding modernizer-plugin exclusion file
location for jclouds-project
Overriding modernizer-plugin exclusion file location for jclouds-project
Needs to use the local exclusions file, not the one from the
jclouds-resources dep (which is not present in jclouds-project)
Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/f6757a92
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/f6757a92
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/f6757a92
Branch: refs/heads/add-snapshot-plugin-repo
Commit: f6757a92f387ec8854c9e40f859302a62ba86994
Parents: 9dea286
Author: Andrew Phillips <an...@apache.org>
Authored: Sun Oct 5 14:30:33 2014 -0500
Committer: Andrew Phillips <an...@apache.org>
Committed: Sun Oct 5 14:30:33 2014 -0500
----------------------------------------------------------------------
project/pom.xml | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jclouds/blob/f6757a92/project/pom.xml
----------------------------------------------------------------------
diff --git a/project/pom.xml b/project/pom.xml
index c799d04..a4c7382 100644
--- a/project/pom.xml
+++ b/project/pom.xml
@@ -721,6 +721,7 @@
<groupId>org.gaul</groupId>
<artifactId>modernizer-maven-plugin</artifactId>
<version>1.1.0</version>
+ <!-- configuration and dependencies set via profiles -->
<executions>
<execution>
<id>modernizer</id>
@@ -730,10 +731,6 @@
</goals>
</execution>
</executions>
- <configuration>
- <javaVersion>1.7</javaVersion>
- <exclusionsFile>resources/modernizer_exclusions.txt</exclusionsFile>
- </configuration>
</plugin>
</plugins>
<pluginManagement>
@@ -1082,6 +1079,15 @@
<violationSeverity>warning</violationSeverity>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.gaul</groupId>
+ <artifactId>modernizer-maven-plugin</artifactId>
+ <configuration>
+ <javaVersion>1.7</javaVersion>
+ <!-- in jclouds-project use the local file -->
+ <exclusionsFile>../resources/modernizer_exclusions.txt</exclusionsFile>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>
@@ -1124,6 +1130,10 @@
<version>${project.version}</version>
</dependency>
</dependencies>
+ <configuration>
+ <javaVersion>1.7</javaVersion>
+ <exclusionsFile>resources/modernizer_exclusions.txt</exclusionsFile>
+ </configuration>
</plugin>
</plugins>
</build>