Merge 174.143.172.29:rc-maven-cloud-docs

Conflicts:
	pom.xml
	src/main/resources/cloud/fo/docbook.xsl
This commit is contained in:
Jorge L. Williams
2010-11-11 08:16:58 -06:00
3 changed files with 52 additions and 2 deletions

15
.gitignore vendored Normal file
View File

@@ -0,0 +1,15 @@
## java specific
!.gitignore
*.iml
*.iws
*.ipr
target
*/target
*/*/target
 
## generic files to ignore
*~
*.lock
*.DS_Store
*.swp
*.out

1
README.txt Normal file
View File

@@ -0,0 +1 @@
Don't forget to put this under a license

38
pom.xml
View File

@@ -2,22 +2,28 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> 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>
<groupId>com.rackspace.cloud.api</groupId> <groupId>com.rackspace.cloud.api</groupId>
<artifactId>clouddocs-maven-plugin</artifactId> <artifactId>clouddocs-maven-plugin</artifactId>
<name>Cloud API Docs Plugin</name> <name>Cloud API Docs Plugin</name>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<packaging>maven-plugin</packaging> <packaging>maven-plugin</packaging>
<description> <description>
Generates a XHTML and API documents. Generates a XHTML and API documents.
</description> </description>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.agilejava.docbkx</groupId> <groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId> <artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.11</version> <version>2.0.11</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.sf.docbook</groupId> <groupId>net.sf.docbook</groupId>
<artifactId>docbook-xsl</artifactId> <artifactId>docbook-xsl</artifactId>
@@ -25,48 +31,57 @@
<type>zip</type> <type>zip</type>
<classifier>ns-resources</classifier> <classifier>ns-resources</classifier>
</dependency> </dependency>
<dependency> <dependency>
<groupId>xerces</groupId> <groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId> <artifactId>xercesImpl</artifactId>
<version>2.8.0</version> <version>2.8.0</version>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>xerces</groupId> <groupId>xerces</groupId>
<artifactId>xmlParserAPIs</artifactId> <artifactId>xmlParserAPIs</artifactId>
<version>2.6.2</version> <version>2.6.2</version>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.avalon.framework</groupId> <groupId>org.apache.avalon.framework</groupId>
<artifactId>avalon-framework-impl</artifactId> <artifactId>avalon-framework-impl</artifactId>
<version>4.3.1</version> <version>4.3.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>xalan</groupId> <groupId>xalan</groupId>
<artifactId>xalan</artifactId> <artifactId>xalan</artifactId>
<version>2.7.0</version> <version>2.7.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven</groupId> <groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId> <artifactId>maven-plugin-api</artifactId>
<version>2.0</version> <version>2.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.agilejava.docbkx</groupId> <groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-base</artifactId> <artifactId>docbkx-maven-base</artifactId>
<version>2.0.11</version> <version>2.0.11</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.sf.xslthl</groupId> <groupId>net.sf.xslthl</groupId>
<artifactId>xslthl</artifactId> <artifactId>xslthl</artifactId>
<version>2.0.1</version> <version>2.0.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.sf.docbook</groupId> <groupId>net.sf.docbook</groupId>
<artifactId>docbook-xsl-saxon</artifactId> <artifactId>docbook-xsl-saxon</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven.shared</groupId> <groupId>org.apache.maven.shared</groupId>
<artifactId>maven-plugin-testing-harness</artifactId> <artifactId>maven-plugin-testing-harness</artifactId>
@@ -74,26 +89,33 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<resources> <resources>
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
</resource> </resource>
<resource> <resource>
<directory>target/generated-resources</directory> <directory>target/generated-resources</directory>
</resource> </resource>
</resources> </resources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId> <artifactId>maven-dependency-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>copy</id> <id>copy</id>
<phase>generate-sources</phase> <phase>generate-sources</phase>
<goals> <goals>
<goal>unpack</goal> <goal>unpack</goal>
</goals> </goals>
<configuration> <configuration>
<artifactItems> <artifactItems>
<artifactItem> <artifactItem>
@@ -110,9 +132,11 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId> <artifactId>xml-maven-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<goals> <goals>
@@ -120,6 +144,7 @@
</goals> </goals>
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<transformationSets> <transformationSets>
<transformationSet> <transformationSet>
@@ -138,23 +163,29 @@
<plugin> <plugin>
<groupId>com.agilejava.docbkx</groupId> <groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-builder-maven-plugin</artifactId> <artifactId>docbkx-builder-maven-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>generate-xhtml</id> <id>generate-xhtml</id>
<goals> <goals>
<goal>build</goal> <goal>build</goal>
</goals> </goals>
<configuration> <configuration>
<type>xhtml</type> <type>xhtml</type>
<superClassName>com.rackspace.cloud.api.docs.HTMLMojo</superClassName> <superClassName>com.rackspace.cloud.api.docs.HTMLMojo</superClassName>
<excludedProperties>${excluded.properties},root.filename,base.dir</excludedProperties> <excludedProperties>${excluded.properties},root.filename,base.dir</excludedProperties>
</configuration> </configuration>
</execution> </execution>
<execution> <execution>
<id>generate-pdf</id> <id>generate-pdf</id>
<goals> <goals>
<goal>build</goal> <goal>build</goal>
</goals> </goals>
<configuration> <configuration>
<type>fo</type> <type>fo</type>
<superClassName>com.rackspace.cloud.api.docs.PDFMojo</superClassName> <superClassName>com.rackspace.cloud.api.docs.PDFMojo</superClassName>
@@ -164,13 +195,16 @@
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<packageName>com.agilejava.docbkx.maven</packageName> <packageName>com.agilejava.docbkx.maven</packageName>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>1.6</source> <source>1.6</source>
<target>1.6</target> <target>1.6</target>