openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprud...@apache.org
Subject svn commit: r472651 - /incubator/openjpa/trunk/openjpa-project/pom.xml
Date Wed, 08 Nov 2006 21:29:52 GMT
Author: mprudhom
Date: Wed Nov  8 13:29:52 2006
New Revision: 472651

URL: http://svn.apache.org/viewvc?view=rev&rev=472651
Log:
Fixed to build docbook in the "process-resources" phase so that it gets built before the packaging
is done.

Modified:
    incubator/openjpa/trunk/openjpa-project/pom.xml

Modified: incubator/openjpa/trunk/openjpa-project/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-project/pom.xml?view=diff&rev=472651&r1=472650&r2=472651
==============================================================================
--- incubator/openjpa/trunk/openjpa-project/pom.xml (original)
+++ incubator/openjpa/trunk/openjpa-project/pom.xml Wed Nov  8 13:29:52 2006
@@ -129,7 +129,7 @@
                         <artifactId>maven-antrun-plugin</artifactId>
                         <executions>
                             <execution>
-                                <phase>package</phase>
+                                <phase>process-resources</phase>
                                 <configuration>
                                  <!-- destdir="${project.build.directory}/site/manual"
-->
                                     <tasks>
@@ -137,11 +137,18 @@
 
                                     <!-- download stylesheets -->
                                     <property name="stylesheet" value="1.69.1.tar.bz2"/>
-                                    <property name="stylesheet.dir" value="${project.basedir}/target/stylesheets"/>
+                                    <!--
+                                    For some reason, this variable will not
+                                    currectly evaluated at runtime: it 
+                                    creates a directory called
+                                    '${stylesheet-dir}', rather than
+                                    resolving the property
+                                    <property name="stylesheet-dir" value="${project.basedir}/target/stylesheets"/>
+                                    -->
 
-                                    <mkdir dir="${stylesheet.dir}"/>
-                                    <get src="http://docbook.sourceforge.net/release/xsl/${stylesheet}"
usetimestamp="true" dest="${stylesheet.dir}/${stylesheet}"/>
-                                    <untar src="${stylesheet.dir}/${stylesheet}" dest="${stylesheet.dir}/"
compression="bzip2" overwrite="false"/>
+                                    <mkdir dir="${project.basedir}/target/stylesheets"/>
+                                    <get src="http://docbook.sourceforge.net/release/xsl/${stylesheet}"
usetimestamp="true" dest="${project.basedir}/target/stylesheets/${stylesheet}"/>
+                                    <untar src="${project.basedir}/target/stylesheets/${stylesheet}"
dest="${project.basedir}/target/stylesheets/" compression="bzip2" overwrite="false"/>
 
 
                                     <style includes="**/manual.xml"



Mime
View raw message