maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JeremieB <jeremie.bousq...@gmail.com>
Subject Re: Issue with assembly plugin executions and phase binding (prepare-package)
Date Tue, 15 Dec 2009 10:04:19 GMT

SOLVED

Ok I understood my mistake ... The error was normal, as it was bound to a
phase before package, my assembly wasn't able to found the jar file
generated during ... package. So the error, not related to directory-single.

So I could simply remove the error by doing the following bindings in this
order :
- jar:jar bound to prepare-package
- antrun:run bound to package
- assembly:directory-single bound to prepare-package
- assembly:single bound to package

So when launching "mvn package", everything is generated at the right time
and in the right place :)
The result, of course, is a bit convoluted and complex... :/ And I hope that
binding "jar" to another phase will not have unexpected side-effects.

-- 
View this message in context: http://old.nabble.com/Issue-with-assembly-plugin-executions-and-phase-binding--%28prepare-package%29-tp26607839p26792351.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message