[Engine-devel] maven build trick
Alon Bar-Lev
alonbl at redhat.com
Tue Jan 22 22:31:31 UTC 2013
----- Original Message -----
> From: "Laszlo Hornyak" <lhornyak at redhat.com>
> To: "engine-devel" <engine-devel at ovirt.org>
> 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
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
>
More information about the Engine-devel
mailing list