I have a simple question:

when I do a build, I want all my jars to be put in a distribution area

I am trying to do do this using 
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
                <execution>
                        <id>copy-dependencies</id>
                        <phase>package</phase>
                        <goals>
                                <goal>copy-dependencies</goal>
                        </goals>
                        <configuration>
                                <stripVersion>true</stripVersion>
                                <outputDirectory>deploy/lib</outputDirectory>
                        </configuration>
                </execution>
        </executions>
</plugin>

This seems to work partially for me.
(It copies all my dependencies to this output area.)
The only thing it it missing is the project jar itself.  
How can I copy this to the output area as well?

Cheers,

Ding

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please consider the environment before printing this email

WARNING: This email and any attachments may be confidential and/or privileged.
They are intended for the addressee only and are not to be read, used, copied or
disseminated by anyone receiving them in error. If you are not the intended 
recipient,
please notify the sender by return email and delete this message and any 
attachments.

The views expressed in this email are those of the sender and do not 
necessarily reflect
the official views of SirTrack. see   http://www.sirtrack.com
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to