Do you have a sample for doing that? It's your solution generic?
I have a web services client application where I generate the artifact
sources during the generate-sources phase. In order to import the latest
version of the wsdl I try to kick-up a jetty server with the war produced by
another module.
The second execution of the jetty stops the build with error Address already
in use.

Thanks,
Jozsef


stug23 wrote:
> 
> Lacking any other solution I went ahead and incorporated an internal Maven
> property that gets set at the end of the first code generation in the
> lifecycle. That way subsequent checks of the property provide an
> indication to skip code generation.
> 
> This seems kind of kludgy but it works ....
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Multiple-executions-of-goals-under-generate-sources%3A-How-to-avoid--tp20038097p25188704.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to