You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2005/07/06 00:12:46 UTC
svn commit: r209332 -
/jakarta/commons/proper/commons-build/trunk/xdocs/releases/prepare.xml
Author: psteitz
Date: Tue Jul 5 15:12:44 2005
New Revision: 209332
URL: http://svn.apache.org/viewcvs?rev=209332&view=rev
Log:
Changed recommendation on how to get source to unpack to src.
Modified:
jakarta/commons/proper/commons-build/trunk/xdocs/releases/prepare.xml
Modified: jakarta/commons/proper/commons-build/trunk/xdocs/releases/prepare.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/commons-build/trunk/xdocs/releases/prepare.xml?rev=209332&r1=209331&r2=209332&view=diff
==============================================================================
--- jakarta/commons/proper/commons-build/trunk/xdocs/releases/prepare.xml (original)
+++ jakarta/commons/proper/commons-build/trunk/xdocs/releases/prepare.xml Tue Jul 5 15:12:44 2005
@@ -171,23 +171,14 @@
<p>
By default, maven uses the same directory name for both binary and source distributions
(commons-foo-1.2). Some find it more convenient to have the source distribution unpack
- to commons-foo-1.2-src. This can be done easily by adding a snippet of script to the
- maven.xml file.
- </p>
- <p>
- For example:
+ to commons-foo-1.2-src. This can be done easily by adding the following line to the
+ component's project.properties file:
</p>
+ <p>
<pre>
-<![CDATA[
- <preGoal name="dist:build-src">
- ...
- <move todir="${maven.dist.src.assembly.dir}-src">
- <fileset dir="${maven.dist.src.assembly.dir}"/>
- </move>
- ...
- </preGoal>
-]]>
+ maven.dist.src.assembly.dir=${maven.dist.assembly.dir}/src/${maven.final.name}-src
</pre>
+ </p>
</subsection>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org