[jboss-svn-commits] JBL Code SVN: r10626 - in labs/jbossrules/trunk: documentation and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Mar 29 18:52:59 EDT 2007


Author: tirelli
Date: 2007-03-29 18:52:59 -0400 (Thu, 29 Mar 2007)
New Revision: 10626

Added:
   labs/jbossrules/trunk/documentation/pom.xml
Modified:
   labs/jbossrules/trunk/pom.xml
Log:
Integrating docbook generation into the main build

Added: labs/jbossrules/trunk/documentation/pom.xml
===================================================================
--- labs/jbossrules/trunk/documentation/pom.xml	                        (rev 0)
+++ labs/jbossrules/trunk/documentation/pom.xml	2007-03-29 22:52:59 UTC (rev 10626)
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <artifactId>drools</artifactId>
+    <groupId>org.drools</groupId>
+    <version>3.1.0-M1</version>
+  </parent>
+
+  <artifactId>drools-documentation</artifactId>
+  <packaging>pom</packaging>
+  <name>Drools :: Documentation</name>
+
+  <repositories>
+    <repository>
+      <id>basedir</id>
+      <url>file://${basedir}/../repository</url>
+    </repository>
+  </repositories>  
+  
+  <build>
+    <plugins>
+        <plugin>
+          <artifactId>maven-antrun-plugin</artifactId>
+          <inherited>false</inherited>
+          <executions>
+            <execution>
+              <id>manual</id>
+              <phase>generate-resources</phase>
+              <configuration>
+                <tasks>
+                    <delete dir="manual/build"/>
+                    <ant dir="manual" inheritRefs="true" />
+                    <delete dir="../drools-ide/help/eclipse"/>
+                    <delete dir="../drools-ide/help/shared"/>
+                    <replace file="manual/build/en/eclipse/toc.xml" token="href=&quot;" value="href=&quot;help/eclipse/"/>
+                    <replace file="manual/build/en/eclipse/toc.xml" token="topic=&quot;" value="topic=&quot;help/eclipse/"/>
+                    <copy todir="../drools-ide/help">
+                      <fileset dir="manual/build/en" includes="shared/** eclipse/**" excludes="**/*.svg **/*.db"/>
+                    </copy>
+                    <copy todir="../target/docs">
+                      <fileset dir="manual/build/en" includes="shared/** html/** html_single/**" excludes="**/*.svg **/*.db"/>
+                    </copy>
+                </tasks>
+              </configuration>
+              <goals>
+                <goal>run</goal>
+              </goals>
+            </execution>
+          </executions>
+          <dependencies>
+            <dependency>
+              <groupId>ant</groupId>
+              <artifactId>ant-xslp</artifactId>
+              <version>1.6.5</version>
+            </dependency>
+            <dependency>
+              <groupId>ant</groupId>
+              <artifactId>ant-xalan1</artifactId>
+              <version>1.6.5</version>
+            </dependency>
+            <dependency>
+              <groupId>ant</groupId>
+              <artifactId>ant-trax</artifactId>
+              <version>1.6.5</version>
+            </dependency>
+          </dependencies>        
+        </plugin>
+    </plugins>
+  </build>
+
+
+</project>


Property changes on: labs/jbossrules/trunk/documentation/pom.xml
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: labs/jbossrules/trunk/pom.xml
===================================================================
--- labs/jbossrules/trunk/pom.xml	2007-03-29 20:08:21 UTC (rev 10625)
+++ labs/jbossrules/trunk/pom.xml	2007-03-29 22:52:59 UTC (rev 10626)
@@ -221,6 +221,15 @@
         </plugins>
       </reporting>
     </profile>
+    <profile>
+        <id>documentation</id>
+        <activation>
+              <property><name>documentation</name></property>
+        </activation>
+        <modules>
+          <module>documentation</module>
+        </modules>
+    </profile>
   </profiles>    
     
 
@@ -367,6 +376,7 @@
           <artifactId>maven-site-plugin</artifactId>
           <version>2.0-beta-5</version>
         </plugin>
+
       </plugins>
     </pluginManagement>
     <plugins/>




More information about the jboss-svn-commits mailing list