[jbpm-commits] JBoss JBPM SVN: r1741 - in jbpm4/pvm/trunk: modules/core and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Jul 29 04:34:34 EDT 2008


Author: porcherg
Date: 2008-07-29 04:34:34 -0400 (Tue, 29 Jul 2008)
New Revision: 1741

Modified:
   jbpm4/pvm/trunk/assembly.xml
   jbpm4/pvm/trunk/modules/core/pom.xml
Log:
basic docbook manual generation (only for reference-guide)

Modified: jbpm4/pvm/trunk/assembly.xml
===================================================================
--- jbpm4/pvm/trunk/assembly.xml	2008-07-28 20:54:25 UTC (rev 1740)
+++ jbpm4/pvm/trunk/assembly.xml	2008-07-29 08:34:34 UTC (rev 1741)
@@ -38,6 +38,13 @@
       <outputDirectory>src</outputDirectory>
     </fileSet>
     <fileSet>
+      <directory>modules/core/target/manual</directory>
+      <outputDirectory>manual</outputDirectory>
+      <excludes>
+        <exclude>**/*.fo</exclude>
+      </excludes>
+    </fileSet>
+    <fileSet>
       <directory>modules/core/src/test/java</directory>
       <includes>
         <include>org/jbpm/pvm/samples/**/*.*</include>

Modified: jbpm4/pvm/trunk/modules/core/pom.xml
===================================================================
--- jbpm4/pvm/trunk/modules/core/pom.xml	2008-07-28 20:54:25 UTC (rev 1740)
+++ jbpm4/pvm/trunk/modules/core/pom.xml	2008-07-29 08:34:34 UTC (rev 1741)
@@ -130,11 +130,7 @@
             <artifactId>maven-compiler-plugin</artifactId>
             <configuration>
                <showDeprecation>false</showDeprecation>
-<!--               <testExcludes>-->
-<!--                   sample currently do not compile -->
-<!--                  <exclude>org/jbpm/pvm/client/ExternalDecisionTest.java</exclude>-->
-<!--                  <exclude>org/jbpm/pvm/client/PvmClientTests.java</exclude>-->
-<!--               </testExcludes>-->
+
             </configuration>
          </plugin>
          <plugin>
@@ -204,6 +200,73 @@
                </execution>
             </executions>
          </plugin>
+         <plugin>
+	         <groupId>com.agilejava.docbkx</groupId>
+	         <artifactId>docbkx-maven-plugin</artifactId>
+	         <executions>
+	           <execution>
+	             <id>doc-reference html</id>
+	             <goals>
+	               <goal>generate-html</goal>
+	             </goals>
+	             <phase>package</phase>
+	             <configuration>
+	               <sourceDirectory>${basedir}/src/docbook/doc-reference/en</sourceDirectory>
+	               <targetDirectory>${basedir}/target/manual/html_single/reference</targetDirectory>
+	               <postProcess>
+	                 <copy todir="${basedir}/target/manual/html_single/reference/images">
+	                    <fileset dir="${basedir}/src/docbook/doc-reference/en/images">
+	                        <include name="**/*.png"/>
+	                        <include name="**/*.gif"/>
+	                        <include name="**/*.jpg"/>
+	                    </fileset>
+	                 </copy>
+	               </postProcess>
+	             </configuration>
+	           </execution>
+	           <execution>
+               <id>doc-reference chunk html</id>
+               <goals>
+                 <goal>generate-html</goal>
+               </goals>
+               <phase>package</phase>
+               <configuration>
+                 <sourceDirectory>${basedir}/src/docbook/doc-reference/en</sourceDirectory>
+                 <targetDirectory>${basedir}/target/manual/html/reference</targetDirectory>
+                 <chunkedOutput>true</chunkedOutput>
+                 <postProcess>
+                   <copy todir="${basedir}/target/manual/html/reference/images">
+                      <fileset dir="${basedir}/src/docbook/doc-reference/en/images">
+                          <include name="**/*.png"/>
+                          <include name="**/*.gif"/>
+                          <include name="**/*.jpg"/>
+                      </fileset>
+                   </copy>
+                 </postProcess>
+               </configuration>
+             </execution>
+	           <execution>
+	             <id>doc-reference pdf</id>
+	             <goals>
+	               <goal>generate-pdf</goal>
+	             </goals>
+	             <phase>package</phase>
+	             <configuration>
+	               <sourceDirectory>${basedir}/src/docbook/doc-reference/en</sourceDirectory>
+	               <targetDirectory>${basedir}/target/manual/pdf/reference</targetDirectory>
+	               <imgSrcPath>${basedir}/src/docbook/doc-reference/en/</imgSrcPath>
+	             </configuration>
+	           </execution>
+	         </executions>
+	         <dependencies>
+	           <dependency>
+	             <groupId>org.docbook</groupId>
+	             <artifactId>docbook-xml</artifactId>
+	             <version>4.4</version>
+	             <scope>runtime</scope>
+	           </dependency>
+	         </dependencies>
+	      </plugin>   
       </plugins>
    </build>
 




More information about the jbpm-commits mailing list