Hi Juri, In the source of assembly mojo 2.0 [1], there is an ' @execute phase="package" ', which means the package phase will first be executed [2], therefore the compile phase before it [3]
What you could do is building the assembly plugin after removing ' @execute phase="package" '. I tried it with tag 2.0 and it works on a simple example. Maybe you can file an issue in JIRA to add an extra option so that the package phase is not executed in assembly:assembly. Hope this helps, - Yann [1] http://svn.apache.org/viewcvs.cgi/maven/plugins/tags/maven-assembly-plugin-2.0/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java?view=markup [2] http://maven.apache.org/developers/mojo-api-specification.html [3] http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html 2006/2/21, Artamonov, Juri <[EMAIL PROTECTED]>: > > Hi All, > > Could you please tell if it's possible to start only goal I specified. > For example let's say I would like to start mvn assembly:assembly, I see > that maven tries compile first the sources and only then starts assembly > plugin. > > Does maven provides the way to start plugin specified in command line > and as in example starts assembly plugin without compilation of the > sources? > > Best regards, > Juri. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
