Merge "Update pom.xml, remove bookinfo.xml"

This commit is contained in:
Jenkins 2014-01-18 14:48:04 +00:00 committed by Gerrit Code Review
commit 9e19c5b60b
2 changed files with 169 additions and 194 deletions
apidocs
pom.xml
src/resources

@ -22,126 +22,125 @@
<build>
<plugins>
<plugin>
<groupId>com.rackspace.cloud.api</groupId>
<artifactId>clouddocs-maven-plugin</artifactId>
<!-- this <version> relates only to the *plugin* used for document formatting -->
<!-- the version of the *API* that is the subject of the document is indicated within each document -->
<version>1.12.2</version>
<executions>
<groupId>com.rackspace.cloud.api</groupId>
<artifactId>clouddocs-maven-plugin</artifactId>
<!-- this <version> relates only to the *plugin* used for document formatting -->
<!-- the version of the *API* that is the subject of the document is indicated within each document -->
<version>1.12.2</version>
<executions>
<execution>
<id>cdb-devguide</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<security>reviewer</security>
<sourceDirectory>src/resources</sourceDirectory>
<highlightSource>false</highlightSource>
<trimWadlUriCount>2</trimWadlUriCount>
<!-- this is the public-facing client developer guide formerly known as PublicAPISpec.xml -->
<!-- this document that will be published as cdb-devguide-latest.pdf at http://docs.rackspacecloud.com/api/ -->
<enableDisqus>1</enableDisqus>
<googleAnalyticsId>UA-23102455-4</googleAnalyticsId>
<includes>cdb-devguide.xml</includes>
<canonicalUrlBase>http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content</canonicalUrlBase>
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
</configuration>
</execution>
<execution>
<id>cdb-devguide</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<security>reviewer</security>
<sourceDirectory>src/resources</sourceDirectory>
<highlightSource>false</highlightSource>
<trimWadlUriCount>2</trimWadlUriCount>
<!-- this is the public-facing client developer guide formerly known as PublicAPISpec.xml -->
<!-- this document that will be published as cdb-devguide-latest.pdf at http://docs.rackspacecloud.com/api/ -->
<enableDisqus>1</enableDisqus>
<googleAnalyticsId>UA-23102455-4</googleAnalyticsId>
<includes>cdb-devguide.xml</includes>
<canonicalUrlBase>http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content</canonicalUrlBase>
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
</configuration>
</execution>
</executions>
<configuration>
<socialIcons>1</socialIcons>
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
<branding>openstack</branding>
<!-- <failOnValidationError>false</failOnValidationError> -->
</configuration>
</executions>
<configuration>
<socialIcons>1</socialIcons>
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
<branding>openstack</branding>
<!-- <failOnValidationError>false</failOnValidationError> -->
</configuration>
</plugin>
<!-- Unpack the wadl normalization xslts -->
<!-- Unpack the wadl normalization xslts -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-shared-resources</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
<includeGroupIds>com.rackspace.cloud.api</includeGroupIds>
<includeArtifactIds>wadl-tools</includeArtifactIds>
<excludeTransitive>true</excludeTransitive>
<includes>**/xsl/*.xsl</includes>
</configuration>
</execution>
<execution>
<id>unpack-shared-resources</id>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
<includeGroupIds>com.rackspace.cloud.api</includeGroupIds>
<includeArtifactIds>wadl-tools</includeArtifactIds>
<excludeTransitive>true</excludeTransitive>
<includes>**/xsl/*.xsl</includes>
</configuration>
</execution>
</executions>
</plugin>
<!-- Normalize the dbaas wadl -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>ant</id>
<phase>generate-sources</phase>
<configuration>
<target>
<copy todir="${project.build.directory}/generated-resources/normalized/api/v1.0">
<fileset dir="src/resources">
<include name="xslts/**"/>
</fileset>
<fileset dir="src/resources">
<include name="samples/**"/>
</fileset>
</copy>
<copy file="../xsd/dbaas.xsd" tofile="${project.build.directory}/generated-resources/normalized/api/v1.0/xsd/cdb.xsd"/>
<copy file="../xsd/dbaas.xsd" tofile="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.xsd"/>
<copy file="src/resources/bookinfo.xml" tofile="${project.build.directory}/generated-resources/normalized/bookinfo.xml"/>
<java
jar="${net.sourceforge.saxon:saxon:jar}"
fork="true">
<arg value="-u"/>
<arg value="-s:../xsd/dbaas.wadl"/>
<arg value="-xsl:${project.build.directory}/generated-resources/xsl/normalizeWadl.xsl"/>
<arg value="-o:${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"/>
<arg value="flattenXsds=false"/>
</java>
<replaceregexp file="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"
match="file:/.*/xsd/dbaas.xsd"
replace="xsd/cdb.xsd"/>
<war destfile="${project.build.directory}/docbkx/webhelp/cdb-wadls.war" needxmlfile="false">
<fileset dir="${project.build.directory}/generated-resources/normalized"/>
</war>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>ant</id>
<phase>generate-sources</phase>
<configuration>
<target>
<copy todir="${project.build.directory}/generated-resources/normalized/api/v1.0">
<fileset dir="src/resources">
<include name="xslts/**"/>
</fileset>
<fileset dir="src/resources">
<include name="samples/**"/>
</fileset>
</copy>
<copy file="../xsd/dbaas.xsd" tofile="${project.build.directory}/generated-resources/normalized/api/v1.0/xsd/cdb.xsd"/>
<copy file="../xsd/dbaas.xsd" tofile="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.xsd"/>
<java
jar="${net.sourceforge.saxon:saxon:jar}"
fork="true">
<arg value="-u"/>
<arg value="-s:../xsd/dbaas.wadl"/>
<arg value="-xsl:${project.build.directory}/generated-resources/xsl/normalizeWadl.xsl"/>
<arg value="-o:${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"/>
<arg value="flattenXsds=false"/>
</java>
<replaceregexp file="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"
match="file:/.*/xsd/dbaas.xsd"
replace="xsd/cdb.xsd"/>
<war destfile="${project.build.directory}/docbkx/webhelp/cdb-wadls.war" needxmlfile="false">
<fileset dir="${project.build.directory}/generated-resources/normalized"/>
</war>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<configuration>
<descriptors>
<descriptor>includewars.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>assembly</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<configuration>
<descriptors>
<descriptor>includewars.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>assembly</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<products xmlns:xlink="http://www.w3.org/1999/xlink">
<docname>CDB Wadl</docname>
<productname>CDB</productname>
<webappname>cdb-wadls</webappname>
<pominfo>
<groupid>com.rackspace.cloud.apidocs</groupid>
<artifactid>cdb-wadls</artifactid>
<version>1.0.0-SNAPSHOT</version>
<name>CDB Wadl</name>
</pominfo>
<emails>
<email>
<name>CDT Publication Events</name>
<to>cdt-publication-events@lists.rackspace.com</to>
<from>clouddoctoolsteam@lists.rackspace.com</from>
</email>
<email>
<name>CDB wadl publication event</name>
<to>mike.asthalter@rackspace.com</to>
<from>clouddoctoolsteam@lists.rackspace.com</from>
</email>
</emails>
</products>