maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Myron <myron0...@gmx.net>
Subject FAIL maven build on failing snapshot update?
Date Tue, 12 Mar 2013 17:36:33 GMT
Hi All,

is it in any way possible to FAIL a maven build when the snapshot update
fails? Currently, the local snapshot is used silently (forever?)...

Use case:
Update snapshot setting is set to "always";
parent artifact gets released, parent snapshot will be cleaned by nexus job.
But child artifact continues to build successfully forever with old
snapshot parent on buildserver... (but not on a fresh checkout)


> Parsing POMs
> Failed to transfer Could not find metadata
com.mycompany:parent:1.1.1-SNAPSHOT/maven-metadata.xml in nexus[...]
> Modules changed, recalculating dependency graph
> [...]

YES, i could set the Jenkins job to always use a private/clean
repository (at the cost of n^x disk space), but... isn't there a
better/easier way to archive that? with a parameter like 'force update'?
(Does the "maven validation level" help in any way?)

How do you handle this?!

brgds
Myron

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


Mime
View raw message