I also tried the maven assembly plugin. It seems that we need an assembly
descriptor for the root project ('pluto') if we want to run mvn assembly:assembly.
I created two descriptors (bin and src) for the parent project. They work fine.
I am testing another descriptor to create pluto binary distribution bundled
with tomcat.
Since the pluto project will be released as a whole, could we just remove all
the assembly descriptors for pluto sub-modules?
I'll commit the descriptors to SVN when i finish my tests. To create distributions,
cd to $PLUTO_HOME and execute:
> mvn clean:clean install
> mvn assembly:assembly
Source/binary distributions will be generated at $PLUTO_HOME/target/dist/
Regards.
On 2/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: cdoremus
Date: Mon Feb 27 04:54:51 2006
New Revision: 381330
URL: http://svn.apache.org/viewcvs?rev=381330&view=rev
Log:
First try with assembly plugin. Site plugin needs to be run prior to assembly plugin.
Added:
portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml
Added: portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml
URL: http://svn.apache.org/viewcvs/portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml?rev=381330&view=auto
==============================================================================
--- portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml (added)
+++ portals/pluto/trunk/pluto-ant-tasks/src/assemble/src.xml Mon Feb 27 04:54:51 2006
@@ -0,0 +1,21 @@
+<assembly>
+ <id>src</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>tar.bz2</format>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <includes>
+ <include>README*</include>
+ <include>LICENSE*</include>
+ <include>NOTICE*</include>
+ <include>pom.xml</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>src</directory>
+ </fileSet>
+ </fileSets>
+</assembly>
--
ZHENG Zhong
- http://heavyz.blogspot.com/
- http://people.apache.org/~zheng/
