On Sat, Feb 13, 2010 at 9:27 AM, Raymond Feng <[email protected]> wrote:
> Hi,
>
> If your sample is built with maven, one quick way is to run "mvn
> dependency:copy" and find the jars under target/dependency folder. We also
> have samples that configure with maven-war-plugin for this purpose.
>
See [1] for an example of automating this with maven using the maven
dependency plugin in your pom\
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>process-sources</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>war/WEB-INF/lib</outputDirectory>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
[1]
https://svn.apache.org/repos/asf/tuscany/sandbox/sca-cloud-tutorial/store-catalog-appengine-webapp/pom.xml
--
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/