Stefan Kolb wrote:
Hi,
can i do this without maven too (just ant) or is there no chance to do this?
Just including all libs should be not the best idea ;)

I'm trying to find a solution for this as well (see TUSCANY-3414).
If I come up with any good ideas, I'll post them here.

  Simon

Regards Stefan

-----Ursprüngliche Nachricht-----
Von: "Luciano Resende" <[email protected]>
Gesendet: 13.02.10 19:15:48
An: [email protected]
Betreff: Re: Libraries for Embedded Tuscany Webapp


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/



______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de




Reply via email to