Hi all,
I've got a question regarding the assembly plugin. Assume we have three
projetcs called A, B, C. Project B and C are modules of A. C is a multi module
project itself. Both A and C uses the assembly plugin bind to the package
phase. My problem is that each time executing mvn package on
Hi Jacob,
take a look at the following plugins section. It definitely works.
Note the plugin versions.
...
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
version1.3/version
executions
execution
idtest/id
phaseinitialize/phase
configuration
Hi Armin,
I can confirm that it works for me as well. Thank you for your help with this!
Jake
On Sun, Sep 12, 2010 at 12:14 PM, Armin Ehrenfels
armin.ehrenf...@t-online.de wrote:
Hi Jacob,
take a look at the following plugins section. It definitely works. Note
the plugin versions.
...
If you execute mvn package on the aggregating project, all the modules
will be built. That's how it works. If you don't want that, you need to move
C outside of the aggregating project.
You shouldn't bind the m-assembly-p in the A projects, but rather put it in
a module of its own instead. That's
Hi Anders,
when moving C outside A how to assemble B and C using the assembly plugin and
without installing the artifact before?
And why not binding the assembly plugin in project A (which is also an
aggregating project)?
Thanks for your help!
Regards,
Maik
Original-Nachricht
I'm not saying you should move it, I'm only saying you have to if you don't
want to build it.
The short answer my put the assembly in it's own module is that it's best
practice. If your aggregating project also is the parent you may run into
issues otherwise (as the parent needs to build first,
Hi,
I found what may be a bug in the way the Ant Java task is executed
under the Maven AntRun plugin. The bug is that the output attribute of
the Java task is ignored unless the vm is forked. Consider the
following reduced example:
pom.xml:
plugins
plugin
Hi,
Could anyone point me to an example of how to use the maven jetty
plugin to simply serve files in the project root directory? I've seen
one example of how to configure Jetty, outside of Maven, to act as a
simple file server [0], but unfortunately, I was not able to get it to
work. I was