[Cosmo-dev] Maven 2 conversion -- status report
Bobby Rullo
br at osafoundation.org
Fri Dec 1 13:58:39 PST 2006
Bear,
Is war:inplace working? If no, Brian will presumably have a hard time
using it for development.
Bobby
On Dec 1, 2006, at 11:16 AM, Brian Moseley wrote:
> 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!
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev
More information about the cosmo-dev
mailing list