Update pom.xml, remove bookinfo.xml
The maven plugin comes with its own bookinfo.xml, no need to hava a separate version here. Remove copy instructions from pom.xml and remove extra whitespace and tabs from the file. Change-Id: Ic3c9499ecf3d923ee85b9ed517ae743c238bd096
This commit is contained in:
parent
f1b69b2fc8
commit
694744a280
apidocs
217
apidocs/pom.xml
217
apidocs/pom.xml
@ -22,126 +22,125 @@
|
|||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.rackspace.cloud.api</groupId>
|
<groupId>com.rackspace.cloud.api</groupId>
|
||||||
<artifactId>clouddocs-maven-plugin</artifactId>
|
<artifactId>clouddocs-maven-plugin</artifactId>
|
||||||
<!-- this <version> relates only to the *plugin* used for document formatting -->
|
<!-- 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 -->
|
<!-- the version of the *API* that is the subject of the document is indicated within each document -->
|
||||||
<version>1.12.2</version>
|
<version>1.12.2</version>
|
||||||
<executions>
|
<executions>
|
||||||
|
|
||||||
<execution>
|
<execution>
|
||||||
<id>cdb-devguide</id>
|
<id>cdb-devguide</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>generate-webhelp</goal>
|
<goal>generate-webhelp</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<security>reviewer</security>
|
<security>reviewer</security>
|
||||||
<sourceDirectory>src/resources</sourceDirectory>
|
<sourceDirectory>src/resources</sourceDirectory>
|
||||||
<highlightSource>false</highlightSource>
|
<highlightSource>false</highlightSource>
|
||||||
<trimWadlUriCount>2</trimWadlUriCount>
|
<trimWadlUriCount>2</trimWadlUriCount>
|
||||||
<!-- this is the public-facing client developer guide formerly known as PublicAPISpec.xml -->
|
<!-- 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/ -->
|
<!-- this document that will be published as cdb-devguide-latest.pdf at http://docs.rackspacecloud.com/api/ -->
|
||||||
<enableDisqus>1</enableDisqus>
|
<enableDisqus>1</enableDisqus>
|
||||||
<googleAnalyticsId>UA-23102455-4</googleAnalyticsId>
|
<googleAnalyticsId>UA-23102455-4</googleAnalyticsId>
|
||||||
<includes>cdb-devguide.xml</includes>
|
<includes>cdb-devguide.xml</includes>
|
||||||
<canonicalUrlBase>http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content</canonicalUrlBase>
|
<canonicalUrlBase>http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content</canonicalUrlBase>
|
||||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<socialIcons>1</socialIcons>
|
<socialIcons>1</socialIcons>
|
||||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
||||||
<branding>openstack</branding>
|
<branding>openstack</branding>
|
||||||
<!-- <failOnValidationError>false</failOnValidationError> -->
|
<!-- <failOnValidationError>false</failOnValidationError> -->
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Unpack the wadl normalization xslts -->
|
<!-- Unpack the wadl normalization xslts -->
|
||||||
<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>unpack-shared-resources</id>
|
<id>unpack-shared-resources</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>unpack-dependencies</goal>
|
<goal>unpack-dependencies</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
|
<outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
|
||||||
<includeGroupIds>com.rackspace.cloud.api</includeGroupIds>
|
<includeGroupIds>com.rackspace.cloud.api</includeGroupIds>
|
||||||
<includeArtifactIds>wadl-tools</includeArtifactIds>
|
<includeArtifactIds>wadl-tools</includeArtifactIds>
|
||||||
<excludeTransitive>true</excludeTransitive>
|
<excludeTransitive>true</excludeTransitive>
|
||||||
<includes>**/xsl/*.xsl</includes>
|
<includes>**/xsl/*.xsl</includes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Normalize the dbaas wadl -->
|
<!-- Normalize the dbaas wadl -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.5</version>
|
<version>1.5</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>ant</id>
|
<id>ant</id>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<target>
|
<target>
|
||||||
<copy todir="${project.build.directory}/generated-resources/normalized/api/v1.0">
|
<copy todir="${project.build.directory}/generated-resources/normalized/api/v1.0">
|
||||||
<fileset dir="src/resources">
|
<fileset dir="src/resources">
|
||||||
<include name="xslts/**"/>
|
<include name="xslts/**"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
<fileset dir="src/resources">
|
<fileset dir="src/resources">
|
||||||
<include name="samples/**"/>
|
<include name="samples/**"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</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/xsd/cdb.xsd"/>
|
||||||
<copy file="../xsd/dbaas.xsd" tofile="${project.build.directory}/generated-resources/normalized/api/v1.0/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
|
||||||
<java
|
jar="${net.sourceforge.saxon:saxon:jar}"
|
||||||
jar="${net.sourceforge.saxon:saxon:jar}"
|
fork="true">
|
||||||
fork="true">
|
<arg value="-u"/>
|
||||||
<arg value="-u"/>
|
<arg value="-s:../xsd/dbaas.wadl"/>
|
||||||
<arg value="-s:../xsd/dbaas.wadl"/>
|
<arg value="-xsl:${project.build.directory}/generated-resources/xsl/normalizeWadl.xsl"/>
|
||||||
<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="-o:${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"/>
|
<arg value="flattenXsds=false"/>
|
||||||
<arg value="flattenXsds=false"/>
|
</java>
|
||||||
</java>
|
<replaceregexp file="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"
|
||||||
<replaceregexp file="${project.build.directory}/generated-resources/normalized/api/v1.0/cdb.wadl"
|
match="file:/.*/xsd/dbaas.xsd"
|
||||||
match="file:/.*/xsd/dbaas.xsd"
|
replace="xsd/cdb.xsd"/>
|
||||||
replace="xsd/cdb.xsd"/>
|
<war destfile="${project.build.directory}/docbkx/webhelp/cdb-wadls.war" needxmlfile="false">
|
||||||
<war destfile="${project.build.directory}/docbkx/webhelp/cdb-wadls.war" needxmlfile="false">
|
<fileset dir="${project.build.directory}/generated-resources/normalized"/>
|
||||||
<fileset dir="${project.build.directory}/generated-resources/normalized"/>
|
</war>
|
||||||
</war>
|
</target>
|
||||||
</target>
|
</configuration>
|
||||||
</configuration>
|
<goals>
|
||||||
<goals>
|
<goal>run</goal>
|
||||||
<goal>run</goal>
|
</goals>
|
||||||
</goals>
|
</execution>
|
||||||
</execution>
|
</executions>
|
||||||
</executions>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<version>2.3</version>
|
<version>2.3</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>includewars.xml</descriptor>
|
<descriptor>includewars.xml</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>assembly</id>
|
<id>assembly</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>single</goal>
|
<goal>single</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</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>
|
|
Loading…
x
Reference in New Issue
Block a user