commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r280833 - /jakarta/commons/proper/validator/branches/VALIDATOR_1_1_2_BRANCH/maven.xml
Date Wed, 14 Sep 2005 12:11:45 GMT
Author: niallp
Date: Wed Sep 14 05:11:37 2005
New Revision: 280833

URL: http://svn.apache.org/viewcvs?rev=280833&view=rev
Log:
Port maven build changes to 1_1_2_BRANCH:

- Bug #31094 Modify maven build to include the DTD's and xdocs - reported by Fernando NasserCorrect
maven build to remove hard coded 'target' directory - ${maven.build.dir} is set to 'm-target'
in the project.properties

- Correct maven build to remove hard coded 'target' directory - ${maven.build.dir} is set
to 'm-target' in the project.properties

Modified:
    jakarta/commons/proper/validator/branches/VALIDATOR_1_1_2_BRANCH/maven.xml

Modified: jakarta/commons/proper/validator/branches/VALIDATOR_1_1_2_BRANCH/maven.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/branches/VALIDATOR_1_1_2_BRANCH/maven.xml?rev=280833&r1=280832&r2=280833&view=diff
==============================================================================
--- jakarta/commons/proper/validator/branches/VALIDATOR_1_1_2_BRANCH/maven.xml (original)
+++ jakarta/commons/proper/validator/branches/VALIDATOR_1_1_2_BRANCH/maven.xml Wed Sep 14
05:11:37 2005
@@ -23,7 +23,7 @@
   <!-- Required: Look and Feel for documentation within distributions     -->
   <!-- ================================================================== -->
   <postGoal name="xdoc:copy-resources">  
-    <copy todir="${basedir}/target/docs/style/" failonerror="false">
+    <copy todir="${maven.build.dir}/docs/style/" failonerror="false">
       <fileset dir="${basedir}/../commons-build/xdocs/style">
       	<include name='**/*'/>
       	<exclude name='**/CVS/**'/>
@@ -53,6 +53,26 @@
     <copy todir="${maven.build.dir}/classes/">
       <fileset dir="src/javascript"
           includes="**/*.js"/>
+    </copy>
+
+  </postGoal>
+
+  <!-- ================================================================== -->
+  <!-- Copy into the source distribution                                  -->
+  <!-- ================================================================== -->
+  <postGoal name="dist:prepare-src-filesystem">
+
+    <!-- Copy xdoc files -->
+    <copy todir="${maven.dist.src.assembly.dir}/xdocs">
+      <fileset dir="./xdocs"/>
+    </copy>
+
+    <!-- Copy configuration files -->
+    <copy todir="${maven.dist.src.assembly.dir}/conf/share">
+      <fileset dir="./conf/share">
+        <include name="*.xml"/>
+        <include name="*.dtd"/>
+      </fileset>
     </copy>
 
   </postGoal>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message