You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mp...@apache.org on 2006/11/08 22:29:52 UTC
svn commit: r472651 - /incubator/openjpa/trunk/openjpa-project/pom.xml
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"