----- Original Message ----- > From: "Laszlo Hornyak" <[email protected]> > To: "engine-devel" <[email protected]> > Sent: Wednesday, January 23, 2013 12:28:42 AM > Subject: [Engine-devel] maven build trick > > hi, > > I recommend that you add this script to your build script: > rm -rf ~/.m2/repository/org/ovirt
This will remove artifacts of other projects as well. For now, better doing: rm -rf ~/.m2/repository/org/ovirt/engine > > 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 > _______________________________________________ > Engine-devel mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/engine-devel > _______________________________________________ Engine-devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-devel
