Hi, Any thoughts anybody? Why are the phases executed multiple times? How could I prevent it? I created a simple pom with an ant echo bound to the generate sources phase and I the problem is reproducing. I could post the pom.xml but is so trivial...
Regards, Jozsef On Sun, Aug 30, 2009 at 11:07 PM, Jozsef Zsido <zsjo...@gmail.com> wrote: > Hi, > > If I add multiple reporting plugins to the build and try to execute mvn > site, the generate sources phase is executed more than one time. > Is there a way to prevent this? > > The problem is that in the generate sources phase I'd like to start a jetty > instance in order to execute a wsgen goal. The jetty plugin stops the build > process with the address already in use error. > If I add the JUnit report, cobertura and javadoc, the generate-sources > phase is executed 6 times. Is there a generic solution to prevent this? > > Thanks, > Jozsef >