« Return to Thread: How to build Struts 2.0.11.1?

Re: How to build Struts 2.0.11.1?

by Graham Leggett :: Rate this Message:

Reply to Author | View in Thread

Hans-Georg wrote:

> Thanks for the link - I already found it but it doesn't help me.
>
> Is there anyone else who is able to build struts from the source?
> Can anyone tell what he did to set up the "development" environment?

After correctly installing a recent copy of maven2, make sure you have
an internet connection (dependencies will be downloaded for you
automatically), change to the root of the source and type:

mvn install

That's pretty much it.

I discovered the plugins directory didn't build when the main source
built. To build this I did this:

cd plugins
mvn install

>>> ------------------------------------------------------------------------
>>>  [INFO] There are test failures.
>>>  [INFO]
>>> ------------------------------------------------------------------------
>>>  [INFO] For more information, run Maven with the -e switch
>>>  [INFO]
>>> ------------------------------------------------------------------------
>>>  [INFO] Total time: 3 minutes 12 seconds
>>>  [INFO] Finished at: Wed May 07 10:30:25 CEST 2008
>>>  [INFO] Final Memory: 13M/39M
>>>  [INFO]
>>> ------------------------------------------------------------------------
Test failures are by default treated as build failures by maven. To work
around this (say, because you're fixing the broken tests, or you are
working on something else), run this:

mvn install -Dmaven.test.skip=true

Regards,
Graham
--


smime.p7s (4K) Download Attachment

 « Return to Thread: How to build Struts 2.0.11.1?