[weld-commits] Weld SVN: r4821 - doc/trunk/reference.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Sun Nov 8 20:20:38 EST 2009


Author: pete.muir at jboss.org
Date: 2009-11-08 20:20:38 -0500 (Sun, 08 Nov 2009)
New Revision: 4821

Modified:
   doc/trunk/reference/pom.xml
Log:
use newer parent

Modified: doc/trunk/reference/pom.xml
===================================================================
--- doc/trunk/reference/pom.xml	2009-11-09 01:16:46 UTC (rev 4820)
+++ doc/trunk/reference/pom.xml	2009-11-09 01:20:38 UTC (rev 4821)
@@ -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>
@@ -36,104 +30,18 @@
       </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>
             <executions>
                <execution>
@@ -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>
@@ -152,65 +60,29 @@
             </executions>
          </plugin>
          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-enforcer-plugin</artifactId>
+            <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>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-release-plugin</artifactId>
-            <configuration>
-               <arguments>-Ptranslations</arguments>
-            </configuration>
-         </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>



More information about the weld-commits mailing list