Hi Klause, Have a look here: http://jira.codehaus.org/browse/MDEP-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_68254
in that case you should use the assembly plugin (at least i understand it that way.) I haven't used that plugin so far, but it seems to suit your needs. Harald -----Ursprüngliche Nachricht----- Von: Hauschild, Klaus (EXT) [mailto:[email protected]] Gesendet: Freitag, 15. Januar 2010 15:03 An: Maven Users List Betreff: AW: war-plugin copy dependency to WEB-INF/custom-lib I don't want to copy all dependencies to a custom target only a specific and its depending artifacts. -----Ursprüngliche Nachricht----- Von: Entner Harald [mailto:[email protected]] Gesendet: Freitag, 15. Januar 2010 15:00 An: Maven Users List Betreff: AW: war-plugin copy dependency to WEB-INF/custom-lib yes, same plugin. If you want to copy all dependencies of the project (including the transitive dependencie), use the dependency:copy-dependencies goal. This should do the job. -----Ursprüngliche Nachricht----- Von: Hauschild, Klaus (EXT) [mailto:[email protected]] Gesendet: Freitag, 15. Januar 2010 14:56 An: Maven Users List Betreff: AW: war-plugin copy dependency to WEB-INF/custom-lib Hi, Thanks for quick answer. But is there still a way to copy the specified dependency and all its depending artifacts? Klaus -----Ursprüngliche Nachricht----- Von: Entner Harald [mailto:[email protected]] Gesendet: Freitag, 15. Januar 2010 11:53 An: Maven Users List Betreff: AW: war-plugin copy dependency to WEB-INF/custom-lib 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] --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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]
