You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by id...@apache.org on 2007/08/13 14:50:09 UTC

svn commit: r565330 - /myfaces/tobago/trunk/pom.xml

Author: idus
Date: Mon Aug 13 05:50:08 2007
New Revision: 565330

URL: http://svn.apache.org/viewvc?view=rev&rev=565330
Log:
made sure images are inside PDF

Modified:
    myfaces/tobago/trunk/pom.xml

Modified: myfaces/tobago/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/pom.xml?view=diff&rev=565330&r1=565329&r2=565330
==============================================================================
--- myfaces/tobago/trunk/pom.xml (original)
+++ myfaces/tobago/trunk/pom.xml Mon Aug 13 05:50:08 2007
@@ -847,12 +847,38 @@
         </pluginRepository>
       </pluginRepositories>
       <build>
-        <defaultGoal>jdocbook:generate</defaultGoal>
         <plugins>
           <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>process-resources</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <tasks>
+                    <copy todir="${basedir}/target/staging/images/resources">
+                      <fileset dir="${basedir}/src/docbook/resources"/>
+                    </copy>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
             <groupId>org.jboss.maven.plugins</groupId>
             <artifactId>maven-jdocbook-plugin</artifactId>
             <extensions>true</extensions>
+            <executions>
+              <execution>
+                <id>jdocbook:generate</id>
+                <phase>compile</phase>
+                <goals>
+                  <goal>generate</goal>
+                </goals>
+              </execution>
+            </executions>
             <dependencies>
               <dependency>
                 <groupId>org.hibernate</groupId>