[Hippo-cms7-user BETA] problem building with maven

(Berry) A.W. van Halderen b.vanhalderen at hippo.nl
Mon Jul 21 16:53:03 CEST 2008

On Mon, Jul 21, 2008 at 04:27:20PM +0200, Bart van der Schans wrote:
> Jettro Coenradie wrote:
> >cleaning the repo did at least part of the trick. Had problems with unit
> >test when doing mvn package, but they seem to be resolved after a maven
> >install. Not sure if that was the problem though.
> Could be. You have to run a mvn install before you can run mvn package.

Depends, you can use mvn package, but only if building from the root
project and not having already build artifacts in your maven repository.
This is nasty, so best always run mvn install rather than mvn package.

Berry A.W. van Halderen       b.vanhalderen at onehippo.com / berry at halderen.net
Disclaimer: the above is the author's personal opinion and is not the opinion
or policy of his employer or of the little green men that have been following
him all day.

More information about the Hippo-cms7-user mailing list