Skip to content

Commit

Permalink
use newer parent
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Nov 9, 2009
1 parent 67fec20 commit 6be64ae
Showing 1 changed file with 25 additions and 153 deletions.
178 changes: 25 additions & 153 deletions reference/pom.xml
Expand Up @@ -12,15 +12,9 @@
<parent>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-parent</artifactId>
<version>5</version>
<version>6</version>
</parent>

<properties>
<weld.docbook.version>1.1.1-Beta3</weld.docbook.version>
<seam.docbook.version>1.1.0.GA</seam.docbook.version>
<jbossorg.docbook.version>1.1.0</jbossorg.docbook.version>
</properties>

<pluginRepositories>
<pluginRepository>
<id>repository.jboss.org</id>
Expand All @@ -36,102 +30,16 @@
</repository>
</repositories>

<properties>
<pdf.name>weld-reference.pdf</pdf.name>
</properties>

<build>
<defaultGoal>process-classes</defaultGoal>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-docbook-xslt</artifactId>
<version>${weld.docbook.version}</version>
<exclusions>
<exclusion>
<groupId>org.eclipse.wst.css</groupId>
<artifactId>core</artifactId>
</exclusion>
<exclusion>
<groupId>org.eclipse.wst.sse</groupId>
<artifactId>core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>seam-jdocbook-style</artifactId>
<version>${seam.docbook.version}</version>
<type>jdocbook-style</type>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-jdocbook-style</artifactId>
<version>${jbossorg.docbook.version}</version>
<type>jdocbook-style</type>
</dependency>
</dependencies>
<configuration>
<sourceDirectory>${pom.basedir}</sourceDirectory>
<sourceDocumentName>master.xml</sourceDocumentName>
<masterTranslation>en-US</masterTranslation>
<imageResource>
<directory>${pom.basedir}/en-US</directory>
<includes>
<include>images/*.png</include>
</includes>
</imageResource>
<formats>
<format>
<formatName>pdf</formatName>
<stylesheetResource>
classpath:/xslt/org/jboss/weld/pdf.xsl
</stylesheetResource>
<finalName>weld_reference.pdf</finalName>
</format>
<format>
<formatName>html</formatName>
<stylesheetResource>
classpath:/xslt/org/jboss/weld/xhtml.xsl
</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>html_single</formatName>
<stylesheetResource>
classpath:/xslt/org/jboss/weld/xhtml-single.xsl
</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
<!--
needed for uri-resolvers; can be ommitted if using
'current' uri scheme
-->
<!--
could also locate the docbook dependency and
inspect its version...
-->
<docbookVersion>1.72.0</docbookVersion>
<localeSeparator>-</localeSeparator>
</options>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<arguments>-Ptranslations</arguments>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
Expand All @@ -141,7 +49,7 @@
<configuration>
<tasks>
<copy
file="${basedir}/target/docbook/publish/en-US/pdf/weld_reference.pdf"
file="${basedir}/target/docbook/publish/en-US/pdf/${pdf.name}"
todir="${basedir}" />
</tasks>
</configuration>
Expand All @@ -152,65 +60,29 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<arguments>-Ptranslations</arguments>
</configuration>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-zip</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.outputDirectory}/${project.artifactId}-${project.version}.war</file>
<type>war</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>translations</id>
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>translate</goal>
</goals>
</execution>
</executions>
<configuration>
<translations>
<translation>it-IT</translation>
<translation>zh-CN</translation>
<translation>zh-TW</translation>
<translation>es-ES</translation>
<translation>ko-KR</translation>
<translation>de-DE</translation>
<translation>pt-BR</translation>
</translations>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<ciManagement>
<system>Hudson</system>
<url />

</ciManagement>

<issueManagement>
<system>JIRA</system>
<url>http://jira.jboss.org/browse/WELD</url>
</issueManagement>

<inceptionYear>2008</inceptionYear>

<scm>

<connection>scm:svn:http://anonsvn.jboss.org/repos/weld/doc</connection>
Expand Down

0 comments on commit 6be64ae

Please sign in to comment.