How can I make it so Maven doesn't spam upload progress in the Hudson console?
Uploading: http://www.example.com/archiva/repository/snapshots/com/example/app/1.0-SNAPSHOT/app-1.0-20100804.175640-1.war
4/9430K
8/9430K
12/9430K
16/9430K
20/9430K
24/9430K
28/9430K
The deploy plugin is primarily used during the deploy phase, to add your artifact(s) to a remote repository for sharing with other developers and projects. This is usually done in an integration or release environment.
So, the answer is yes, mvn deploy will execute install and build the project artifacts.
The mvn deploy runs the deploy plugin which deploys an artifact to the remote repository. A project may include the main jar and associated sources and Javadoc jars. The sources jar contains the Java sources, and the Javadoc jar contains the generated Javadoc.
mvn deploy. This command invokes the deploy phase: deploy : copies the final package to the remote repository for sharing with other developers and projects.
I think adding the batch mode option of maven2 should do the trick. http://books.sonatype.com/mvnref-book/reference/running-sect-options.html#running-sect-batch-option
mvn -B ...
Another good idea is to use -fae (fail-at-end) for you hudson jobs, as it will report on more than the first error in your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With