check the maven-dependency-plugin[1], especially copy [2]. [1] http://maven.apache.org/plugins/maven-dependency-plugin/ [2] http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html
-----Ursprüngliche Nachricht----- Von: Hoehmann, Andreas [mailto:[email protected]] Gesendet: Freitag, 15. Januar 2010 11:45 An: [email protected] Cc: Hauschild, Klaus (EXT); Lincourt, Gabriel (Ext) Betreff: war-plugin copy dependency to WEB-INF/custom-lib Hello folks. Is it possible to copy a special war-artifact dependency to a other target-path than "WEB-INF/lib", i.e "WEB-INF/custom-lib"? All other "normal" dependencies should be copied to "WEB-INF/lib". == Example == POM: <dependency> <artifactId>common-lang</artifactId> </dependency> <dependency> <artifactId>...</artifactId> </dependency> <dependency> <artifactId>special</artifactId> </dependency> The generated WAR should contain this: WAR: |---> WEB-INF/ |---> lib/common-lang.jar |---> lib/... |---> custom-lib/special.jar Kind regards Andreas -[http://www.ahoehma.de]- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
