[Engine-devel] maven build trick
Laszlo Hornyak
lhornyak at redhat.com
Tue Jan 22 22:28:42 UTC 2013
hi,
I recommend that you add this script to your build script:
rm -rf ~/.m2/repository/org/ovirt
This will remove the generated ovirt artifacts from your local maven repo.
Why is this needed:
If you remove some artifact from the build, that other artifacts are built on, these artifacts will still be able to resolve the missing dependency from the local repo (which is wrong). In this way, your build can still depend on an outdated artifact without breaking the build. This is why you do not notice that the build is broken, maven will just take it as a third party artifact.
Thx,
Laszlo
More information about the Devel
mailing list