« Return to Thread: How to build Struts 2.0.11.1?

Re: How to build Struts 2.0.11.1?

by Jeromy Evans - Blue Sky Minds :: Rate this Message:

Reply to Author | View in Thread

Ensure you're following these instuctions:
http://struts.apache.org/2.x/docs/building-the-framework-from-source.html

and running a clean with the all profile:

 > mvn clean install -Pall

As a last resort, clear your maven repository/use an alternate empty one.

All tests have to pass for a release to be committed, so these kinds of
problems are usually caused by a conflict in the local maven repository.
Good luck!

Hans-Georg wrote:

> Hello,
>
> I wan't to build Struts 2.0.11.1 - to get more into the code and maybe try
> to patch something.
>
> I have installed Maven under:
> C:\Program Files\Java\apache-maven-2.0.9
>
> Java Version used: java version "1.5.0_09"
>
> Checktout Struts from:
> https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_0_11_1
>
> into my project folder:
> C:\Projekte\struts2\src\struts_2_0_11_1
>
> and in that folder I entered mvn
> and the build fails with the message:
>
> Results :
>
> Failed tests:
>  
> testTransform4WithDocumentInclude(org.apache.struts2.views.xslt.XSLTResultTest
> )
>   testStaticTree(org.apache.struts2.views.jsp.ui.TreeTest)
>
> Tests run: 686, Failures: 2, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [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]
> ------------------------------------------------------------------------
>
> Has anyone expiriences what to do to build Struts 2 from the source?
>
> Thanks in advance!
>
> Hans-Georg
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: How to build Struts 2.0.11.1?