[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Side-effects of using "mvn clean verify" over "mvn clean install"
|
Hi Michael, hi Jeff,
> There are more things wrong using "mvn clean install" than there are
> using "mvn clean verify".
yes, I agree that "mvn clean verify" is the Right Thing^TM in a CI
setting. I was just wondering whether Tycho would "break", as I wasn't
sure whether tycho-p2-plugin:update-local-index had any side-effects I
wasn't aware of. But apparently it's no worse than the good ol'
install:install. ;-)
> "mvn clean verify" is the recommended default for Tycho usage. However,
> you can use "mvn clean install" when you're sure that's what you want to
> do (install stuff in local repo to consume it later). However, there is
> also a magic trick to ensure some isolation of your build independently
> of previous "mvn install"ations, it's to use
> -Dtycho.localArtifacts=ignore . With that flag, Tycho won't even look in
> the local repo to check for existence of local artifacts and will only
> rely on target platform and reactor modules.
I'll give -Dtycho.localArtifacts=ignore a try. Sounds exactly like the
safety net needed to prevents an accidental "mvn clean install" to wreak
havoc with your CI build. :-)
Many thanks.
Andreas
--
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company
Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/
Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940