dev@glassfish.java.net

Re: how to build v3 offline ?

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Thu, 28 Feb 2008 06:22:59 -0800

Kedar Mhaswade wrote:
> Do you build HK-2 sources, at least once?
> Maybe doing that would solve the problem.
>
> Otherwise, I don't know why this won't work,
> of course, based on my very limited understanding
> of Maven and our build system. But I have been
> routinely successful in doing mvn -o compile
> and mvn -o install of v3 sources.
>
> The recipe that has been working for me:
> 1- start afresh, delete ~/.m2
> 2- co hk2, build using mvn install.
> 3- co v3, (or a portion of it) and build using mvn install.
> 4- now make changes to v3 sources and always build as mvn -i install.

D'oh. Typo.

4- now make changes to v3 sources and always build as mvn -o install.