Marc Rohlfs wrote:

>>> another idea could be to call Maven with the --fail-at-end (-fae)
>>> option. But this doesn't seem to work with Maven 3 anymore.
>> Even if 'fail-at-end' was working: wouldn't the artifacts still be
>> deployed, when running 'mvn deploy' ?
> 
> Yes, You're right - didn't think about that. It could be solved if You
> add another build configuration (mvn deploy -Dmaven.test.skip=true) that
> is only triggered when the main build finishes successfully.

And you don't have to deploy the first time, install is enough (mvn install 
site site:deploy) and deploy later on skipping the tests if the first run 
was successful.

- Jörg


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

Reply via email to