I'm busy fine tuning our maven (3) based environment. One of the behaviors I
want is this:
- always check if there is a newer version of snapshots in Nexus
- but do not fail when Nexus is unreachable

The first is done with --update-snapshots, but if the repository is
unreachable (for whatever reason; e.g. you're on a train and the connection
is down), the developer cannot compile anymore because Maven fails with an
error. 

I also tried:

                <snapshotRepository>
                        <id>kp-snapshots</id>
                        <url>...</url>
                        <uniqueVersion>false</uniqueVersion>
                        <snapshots> <updatePolicy>always</updatePolicy> 
</snapshots>
                </snapshotRepository>

But then it does not check for a newer version in Nexus.

Is it possible to configure: check-and-update-always-if-available?


-- 
View this message in context: 
http://old.nabble.com/update-snapshots-always-but-do-not-block-when-unreachable-tp27479906p27479906.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