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:19 UTC
[1/2] git commit: Adding apache-snapshots as a plugin repo
Repository: jclouds
Updated Branches:
refs/heads/add-snapshot-plugin-repo [created] f6757a92f
Adding apache-snapshots as a plugin repo
A couple of plugins depend on jclouds-resources
Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/9dea286b
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/9dea286b
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/9dea286b
Branch: refs/heads/add-snapshot-plugin-repo
Commit: 9dea286b360f00e010bcc43537a767d8ee803c1b
Parents: 56a2a8b
Author: Andrew Phillips <an...@apache.org>
Authored: Sun Oct 5 14:24:41 2014 -0500
Committer: Andrew Phillips <an...@apache.org>
Committed: Sun Oct 5 14:24:41 2014 -0500
----------------------------------------------------------------------
project/pom.xml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jclouds/blob/9dea286b/project/pom.xml
----------------------------------------------------------------------
diff --git a/project/pom.xml b/project/pom.xml
index 4aba813..c799d04 100644
--- a/project/pom.xml
+++ b/project/pom.xml
@@ -98,6 +98,20 @@
</repository>
</repositories>
+ <!-- to allow downstream projects to access jclouds-resources in plugin config -->
+ <pluginRepositories>
+ <pluginRepository>
+ <id>apache-snapshots</id>
+ <url>https://repository.apache.org/content/repositories/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
<distributionManagement>
<site>
<id>jclouds-github-pages-site</id>
[2/2] git commit: Overriding modernizer-plugin exclusion file
location for jclouds-project
Posted by an...@apache.org.
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>