You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by db...@apache.org on 2004/07/28 04:08:04 UTC
cvs commit: incubator-geronimo/modules/assembly maven.xml
dblevins 2004/07/27 19:08:04
Modified: modules/assembly maven.xml
Log:
No more target directory as a result from assembly. Now the resulting directory
will be geronimo-1.0-M67, for example. groupId-currentVersion essentially.
Revision Changes Path
1.20 +7 -2 incubator-geronimo/modules/assembly/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/incubator-geronimo/modules/assembly/maven.xml,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- maven.xml 25 Jul 2004 08:29:05 -0000 1.19
+++ maven.xml 28 Jul 2004 02:08:03 -0000 1.20
@@ -33,7 +33,7 @@
<j:set var="project.root" value="${pom.parentBasedir().getParentFile().getCanonicalFile()}"/>
<!-- Determine what the top-level project root is -->
- <j:set var="distDir" value="${project.root}/target"/>
+ <j:set var="distDir" value="${project.root}/${pom.groupId}-${pom.currentVersion}"/>
<!-- Load the global properties -->
<ant:property file="${project.root}/etc/global.properties"/>
@@ -129,6 +129,11 @@
</j:if>
</j:forEach>
</ant:fileset>
+ </ant:copy>
+
+ <ant:echo message="${project.root}" />
+ <ant:copy todir="${distDir}">
+ <fileset dir="${project.root}" includes="*.txt,STATUS" />
</ant:copy>
<!-- bootstrap the deployer -->
Re: cvs commit: incubator-geronimo/modules/assembly maven.xml
Posted by Jacek Laskowski <jl...@apache.org>.
> + <ant:echo message="${project.root}" />
> + <ant:copy todir="${distDir}">
> + <fileset dir="${project.root}" includes="*.txt,STATUS" />
> </ant:copy>
I've been wondering why maven.xml's contain Ant tasks prefixed with
'ant'? I have a very limited knowledge about Maven, but read that it's
not necessary, and instead of writing <ant:echo> one can just do <echo>.
Pozdrawiam,
Jacek