Merge branch 'master' of github.com:jclouds/jclouds

* 'master' of github.com:jclouds/jclouds:
  [issue 531] Fixed some broken module site links with <site> overrides and switched to the latest maven-site-plugin
  [issue 531] Archetypes now inherit from jclouds-project, which fixes the site structure
This commit is contained in:
Adrian Cole 2011-05-06 00:37:18 -07:00
commit c8869ef964
3 changed files with 81 additions and 69 deletions

View File

@ -22,37 +22,38 @@
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jclouds</groupId>
<artifactId>jclouds-archetypes</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>jclouds-compute-service-archetype</artifactId>
<name>jclouds Compute service archetype</name>
<description>Maven archetype for a provider of a Compute service</description>
<packaging>maven-archetype</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0-alpha-4</version>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-4</version>
</extension>
</extensions>
</build>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jclouds</groupId>
<artifactId>jclouds-project</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../../project/pom.xml</relativePath>
</parent>
<artifactId>jclouds-compute-service-archetype</artifactId>
<name>jclouds Compute service archetype</name>
<description>Maven archetype for a provider of a Compute service</description>
<packaging>maven-archetype</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0-alpha-4</version>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-4</version>
</extension>
</extensions>
</build>
</project>

View File

@ -22,37 +22,38 @@
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jclouds</groupId>
<artifactId>jclouds-archetypes</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>jclouds-rest-client-archetype</artifactId>
<name>jclouds rest client archetype</name>
<description>Maven archetype for a provider of a rest-speaking service</description>
<packaging>maven-archetype</packaging>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jclouds</groupId>
<artifactId>jclouds-project</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../../project/pom.xml</relativePath>
</parent>
<artifactId>jclouds-rest-client-archetype</artifactId>
<name>jclouds rest client archetype</name>
<description>Maven archetype for a provider of a rest-speaking service</description>
<packaging>maven-archetype</packaging>
<build>
<plugins>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0-alpha-4</version>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-4</version>
</extension>
</extensions>
</build>
<build>
<plugins>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0-alpha-4</version>
<extensions>true</extensions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-4</version>
</extension>
</extensions>
</build>
</project>

View File

@ -101,7 +101,7 @@
</snapshotRepository>
<site>
<id>jclouds-googlecode-site</id>
<url>dav+https://jclouds.googlecode.com/svn/maven-sites/${project.version}</url>
<url>${maven.site.url.base}/${project.version}</url>
</site>
</distributionManagement>
@ -179,6 +179,7 @@
<maven.compile.target>1.6</maven.compile.target>
<maven.compile.optimize>true</maven.compile.optimize>
<maven.compile.deprecation>true</maven.compile.deprecation>
<maven.site.url.base>davs://jclouds.googlecode.com/svn/maven-sites</maven.site.url.base>
<http.proxyHost />
<http.proxyPort />
<jclouds.blobstore.httpstream.url>http://mirror.cloudera.com/apache/maven/binaries/apache-maven-2.2.1-bin.tar.bz2</jclouds.blobstore.httpstream.url>
@ -731,7 +732,7 @@ pageTracker._trackPageview();
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.6.1</version>
<version>2.7</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<quiet>true</quiet>
@ -789,7 +790,7 @@ pageTracker._trackPageview();
<plugins>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.0-beta-3</version>
<version>3.0-beta-4-SNAPSHOT</version>
<configuration>
<reportPlugins>
<plugin>
@ -814,6 +815,7 @@ pageTracker._trackPageview();
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<quiet>true</quiet>
<additionalJOption>-J-Xmx256m</additionalJOption>
</configuration>
<reportSets>
<reportSet>
@ -874,7 +876,15 @@ pageTracker._trackPageview();
<!-- only in the jclouds-project module -->
<exists>src/etc/header.txt</exists>
</file>
</activation>
</activation>
<!-- Maven generates incorrect links without the <site> declaration here -->
<distributionManagement>
<site>
<id>jclouds-googlecode-site</id>
<url>${maven.site.url.base}/${project.version}/${project.artifactId}</url>
</site>
</distributionManagement>
<build>
<plugins>
<plugin>