Issue 344: setup our maven repository to sync with central

This commit is contained in:
Andrew Phillips 2010-08-26 00:40:34 +02:00
parent 048abc16bd
commit ef361ce3ea
3 changed files with 123 additions and 58 deletions

View File

@ -129,6 +129,7 @@ pageTracker._trackPageview();
<!-- top-level only --> <!-- top-level only -->
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-5</version>
<inherited>false</inherited> <inherited>false</inherited>
<executions> <executions>
<execution> <execution>

View File

@ -22,6 +22,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>4</version>
</parent>
<groupId>org.jclouds</groupId> <groupId>org.jclouds</groupId>
<artifactId>jclouds-project</artifactId> <artifactId>jclouds-project</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
@ -57,7 +62,7 @@
<archive>http://groups.google.com/group/jclouds-contributors</archive> <archive>http://groups.google.com/group/jclouds-contributors</archive>
</mailingList> </mailingList>
<mailingList> <mailingList>
<name>SVN Commits</name> <name>Repository Commits</name>
<subscribe>http://groups.google.com/group/jclouds-commits</subscribe> <subscribe>http://groups.google.com/group/jclouds-commits</subscribe>
<unsubscribe>http://groups.google.com/group/jclouds-commits</unsubscribe> <unsubscribe>http://groups.google.com/group/jclouds-commits</unsubscribe>
<post>jclouds-commits@googlegroups.com</post> <post>jclouds-commits@googlegroups.com</post>
@ -66,19 +71,19 @@
</mailingLists> </mailingLists>
<scm> <scm>
<connection>scm:svn:http://jclouds.googlecode.com/svn/trunk</connection> <connection>scm:git:git://github.com/jclouds/jclouds.git</connection>
<developerConnection>scm:svn:https://jclouds.googlecode.com/svn/trunk</developerConnection> <developerConnection>scm:git:ssh://git@github.com/jclouds/jclouds.git</developerConnection>
<url>http://jclouds.googlecode.com/svn/trunk</url> <url>http://github.com/jclouds/jclouds</url>
</scm> </scm>
<repositories> <repositories>
<repository> <!--repository>
<id>repo2</id> <id>repo2</id>
<url>http://repo2.maven.org/maven2</url> <url>http://repo2.maven.org/maven2</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
</repository> </repository-->
<repository> <repository>
<id>jclouds-googlecode-deploy</id> <id>jclouds-googlecode-deploy</id>
<url>http://jclouds.googlecode.com/svn/repo</url> <url>http://jclouds.googlecode.com/svn/repo</url>
@ -95,7 +100,7 @@
</repository> </repository>
<repository> <repository>
<id>jboss</id> <id>jboss</id>
<url>http://repository.jboss.org/maven2/</url> <url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
@ -131,7 +136,7 @@
</repositories> </repositories>
<distributionManagement> <distributionManagement>
<repository> <!--repository>
<id>jclouds-googlecode-deploy</id> <id>jclouds-googlecode-deploy</id>
<url>dav:https://jclouds.googlecode.com/svn/repo</url> <url>dav:https://jclouds.googlecode.com/svn/repo</url>
<uniqueVersion>false</uniqueVersion> <uniqueVersion>false</uniqueVersion>
@ -139,7 +144,7 @@
<snapshotRepository> <snapshotRepository>
<id>jclouds-rimu-snapshots-nexus</id> <id>jclouds-rimu-snapshots-nexus</id>
<url>http://jclouds.rimuhosting.com:8081/nexus/content/repositories/snapshots</url> <url>http://jclouds.rimuhosting.com:8081/nexus/content/repositories/snapshots</url>
</snapshotRepository> </snapshotRepository-->
<site> <site>
<id>website</id> <id>website</id>
<name>website</name> <name>website</name>
@ -147,13 +152,13 @@
</site> </site>
</distributionManagement> </distributionManagement>
<pluginRepositories> <pluginRepositories>
<pluginRepository> <!--pluginRepository>
<id>central</id> <id>central</id>
<url>http://repo1.maven.org/maven2</url> <url>http://repo1.maven.org/maven2</url>
<snapshots> <snapshots>
<enabled>false</enabled> <enabled>false</enabled>
</snapshots> </snapshots>
</pluginRepository> </pluginRepository-->
<pluginRepository> <pluginRepository>
<id>jclouds-googlecode-deploy</id> <id>jclouds-googlecode-deploy</id>
<url>http://jclouds.googlecode.com/svn/repo</url> <url>http://jclouds.googlecode.com/svn/repo</url>
@ -230,7 +235,6 @@
</developers> </developers>
<properties> <properties>
<sourceEncoding>UTF-8</sourceEncoding>
<maven.compile.source>1.6</maven.compile.source> <maven.compile.source>1.6</maven.compile.source>
<maven.compile.target>1.6</maven.compile.target> <maven.compile.target>1.6</maven.compile.target>
<maven.compile.optimize>true</maven.compile.optimize> <maven.compile.optimize>true</maven.compile.optimize>
@ -334,6 +338,7 @@
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.5</version>
<executions> <executions>
<execution> <execution>
<id>integration</id> <id>integration</id>
@ -414,6 +419,7 @@
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<executions> <executions>
<execution> <execution>
<id>javadoc</id> <id>javadoc</id>
@ -425,7 +431,7 @@
</executions> </executions>
<configuration> <configuration>
<additionalJOption>-J-Xmx128m</additionalJOption> <additionalJOption>-J-Xmx128m</additionalJOption>
<encoding>${sourceEncoding}</encoding> <encoding>${project.build.sourceEncoding}</encoding>
<quiet>true</quiet> <quiet>true</quiet>
<links> <links>
<link>http://download.oracle.com/javase/6/docs/api/</link> <link>http://download.oracle.com/javase/6/docs/api/</link>
@ -446,6 +452,7 @@ pageTracker._trackPageview();
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
<version>1.0-beta-1</version>
<executions> <executions>
<execution> <execution>
<id>enforce-banned-dependencies</id> <id>enforce-banned-dependencies</id>
@ -482,20 +489,23 @@ pageTracker._trackPageview();
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>2.3</version>
<configuration> <configuration>
<encoding>${sourceEncoding}</encoding> <encoding>${project.build.sourceEncoding}</encoding>
<source>${maven.compile.source}</source> <source>${maven.compile.source}</source>
<target>${maven.compile.target}</target> <target>${maven.compile.target}</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<version>2.4.2</version>
<configuration> <configuration>
<encoding>${sourceEncoding}</encoding> <encoding>${project.build.sourceEncoding}</encoding>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<executions> <executions>
<execution> <execution>
<goals> <goals>
@ -506,21 +516,34 @@ pageTracker._trackPageview();
<configuration> <configuration>
<archive> <archive>
<manifestEntries> <manifestEntries>
<Specification-Title>jclouds ${pom.name}</Specification-Title> <Specification-Title>jclouds ${project.name}</Specification-Title>
<Specification-Vendor>jclouds</Specification-Vendor> <Specification-Vendor>jclouds</Specification-Vendor>
<Implementation-Vendor>jclouds</Implementation-Vendor> <Implementation-Vendor>jclouds</Implementation-Vendor>
<Implementation-Vendor-Id>org.jclouds.aws.s3</Implementation-Vendor-Id> <Implementation-Vendor-Id>org.jclouds.aws.s3</Implementation-Vendor-Id>
<Implementation-Version>${pom.version}</Implementation-Version> <Implementation-Version>${project.version}</Implementation-Version>
<X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK> <X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK> <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
</manifestEntries> </manifestEntries>
</archive> </archive>
</configuration> </configuration>
</plugin> </plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin> <plugin>
<artifactId>maven-site-plugin</artifactId> <artifactId>maven-site-plugin</artifactId>
<version>2.1</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.3</version>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement>
</build> </build>
<profiles> <profiles>
<profile> <profile>
@ -529,6 +552,7 @@ pageTracker._trackPageview();
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.5</version>
<executions> <executions>
<execution> <execution>
<id>integration</id> <id>integration</id>
@ -568,7 +592,7 @@ pageTracker._trackPageview();
--> -->
<property> <property>
<name>file.encoding</name> <name>file.encoding</name>
<value>${sourceEncoding}</value> <value>${project.build.sourceEncoding}</value>
</property> </property>
<property> <property>
<name>jclouds.test.initializer</name> <name>jclouds.test.initializer</name>
@ -657,6 +681,27 @@ pageTracker._trackPageview();
</plugins> </plugins>
</build> </build>
</profile> </profile>
<!-- modifies the plugin config inherited from oss-parent -->
<profile>
<id>sonatype-release-profile-extension</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<executable>${gpg.command}</executable>
<passphrase>${gpg.passphrase}</passphrase>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile> <profile>
<id>clojure-1.1</id> <id>clojure-1.1</id>
<dependencies> <dependencies>
@ -679,6 +724,7 @@ pageTracker._trackPageview();
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-project-info-reports-plugin</artifactId> <artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.1.2</version>
<reportSets> <reportSets>
<reportSet> <reportSet>
<reports> <reports>
@ -700,7 +746,7 @@ pageTracker._trackPageview();
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.6.1</version> <version>2.6.1</version>
<configuration> <configuration>
<encoding>${sourceEncoding}</encoding> <encoding>${project.build.sourceEncoding}</encoding>
<quiet>true</quiet> <quiet>true</quiet>
</configuration> </configuration>
<reportSets> <reportSets>
@ -713,21 +759,25 @@ pageTracker._trackPageview();
</reportSets> </reportSets>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.sonatype.maven.plugin</groupId>
<artifactId>emma-maven-plugin</artifactId> <artifactId>emma-maven-plugin</artifactId>
<version>1.2</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>surefire-report-maven-plugin</artifactId> <artifactId>surefire-report-maven-plugin</artifactId>
<version>2.0-beta-1</version>
<inherited>true</inherited> <inherited>true</inherited>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>rat-maven-plugin</artifactId> <artifactId>rat-maven-plugin</artifactId>
<version>1.0-alpha-3</version>
<inherited>true</inherited> <inherited>true</inherited>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-pmd-plugin</artifactId> <artifactId>maven-pmd-plugin</artifactId>
<version>2.4</version>
<configuration> <configuration>
<targetJdk>${maven.compile.source}</targetJdk> <targetJdk>${maven.compile.source}</targetJdk>
</configuration> </configuration>
@ -736,6 +786,7 @@ pageTracker._trackPageview();
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId> <artifactId>findbugs-maven-plugin</artifactId>
<version>2.3.1</version>
<configuration> <configuration>
<xmlOutput>true</xmlOutput> <xmlOutput>true</xmlOutput>
</configuration> </configuration>

13
thirdparty/pom.xml vendored
View File

@ -33,4 +33,17 @@
<modules> <modules>
<module>resteasy-jaxrs-client</module> <module>resteasy-jaxrs-client</module>
</modules> </modules>
<distributionManagement>
<!-- third-party projects not in org.jclouds can't be deployed to Sonatype -->
<repository>
<id>jclouds-googlecode-deploy</id>
<url>dav:https://jclouds.googlecode.com/svn/repo</url>
<uniqueVersion>false</uniqueVersion>
</repository>
<snapshotRepository>
<id>jclouds-rimu-snapshots-nexus</id>
<url>http://jclouds.rimuhosting.com:8081/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</project> </project>