[Cosmo-dev] Maven 2 conversion -- status report

Brian Moseley bcm at osafoundation.org
Fri Dec 1 11:16:26 PST 2006


On 11/30/06, Mike Taylor <bear at osafoundation.org> wrote:

>  - cd to your cosmo trunk tree
>  - cd src/main/
>  - ln -s ../webapp webapp   (this is needed until we throw the maven 2
> switch)
>  - cd ../..
>  - mvn clean package (this will compile, test and generate
> target/cosmo-0.6-SNAPSHOT.war)

with cygwin, i had to physically copy src/webapp to src/main/webapp.
otherwise, these steps worked well, and the tests are super fast. yay!

and just to be clear for readers, mvn package also sets up an inplace
war in src/main/webapp just like m1 does today.

>  - cd snarf
>  - mvn clean assembly:directory

> - cd
> dist/osaf-server-bundle-0.6-SNAPSHOT-/osaf-server-bundle-0.6-SNAPSHOT/
>   (yes, I know here is a trailing - in there)

what's the reason for the intermediary directory (the one with the
trailing -)? we don't have that today.

thanks for your persistence, bear. i'm gonna start using m2 now, and
i'm looking forward to the official switchover!


More information about the cosmo-dev mailing list