[issue 531] Archetypes now inherit from jclouds-project, which fixes the site structure

This commit is contained in:
Andrew Phillips 2011-05-03 14:40:56 -04:00
parent 15e74945da
commit a076be14b0
2 changed files with 67 additions and 65 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" <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"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.jclouds</groupId> <groupId>org.jclouds</groupId>
<artifactId>jclouds-archetypes</artifactId> <artifactId>jclouds-project</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> <relativePath>../../project/pom.xml</relativePath>
<artifactId>jclouds-compute-service-archetype</artifactId> </parent>
<name>jclouds Compute service archetype</name> <artifactId>jclouds-compute-service-archetype</artifactId>
<description>Maven archetype for a provider of a Compute service</description> <name>jclouds Compute service archetype</name>
<packaging>maven-archetype</packaging> <description>Maven archetype for a provider of a Compute service</description>
<packaging>maven-archetype</packaging>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-archetype-plugin</artifactId> <artifactId>maven-archetype-plugin</artifactId>
<version>2.0-alpha-4</version> <version>2.0-alpha-4</version>
<extensions>true</extensions> <extensions>true</extensions>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<configuration> <configuration>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
<extensions> <extensions>
<extension> <extension>
<groupId>org.apache.maven.archetype</groupId> <groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId> <artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-4</version> <version>2.0-alpha-4</version>
</extension> </extension>
</extensions> </extensions>
</build> </build>
</project> </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" <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"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.jclouds</groupId> <groupId>org.jclouds</groupId>
<artifactId>jclouds-archetypes</artifactId> <artifactId>jclouds-project</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> <relativePath>../../project/pom.xml</relativePath>
<artifactId>jclouds-rest-client-archetype</artifactId> </parent>
<name>jclouds rest client archetype</name> <artifactId>jclouds-rest-client-archetype</artifactId>
<description>Maven archetype for a provider of a rest-speaking service</description> <name>jclouds rest client archetype</name>
<packaging>maven-archetype</packaging> <description>Maven archetype for a provider of a rest-speaking service</description>
<packaging>maven-archetype</packaging>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-archetype-plugin</artifactId> <artifactId>maven-archetype-plugin</artifactId>
<version>2.0-alpha-4</version> <version>2.0-alpha-4</version>
<extensions>true</extensions> <extensions>true</extensions>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<configuration> <configuration>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
<extensions> <extensions>
<extension> <extension>
<groupId>org.apache.maven.archetype</groupId> <groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId> <artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-4</version> <version>2.0-alpha-4</version>
</extension> </extension>
</extensions> </extensions>
</build> </build>
</project> </project>