struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MassimoH <MassimoHei...@gmail.com>
Subject Can't build XWork 2.0.4 with Maven 2.0.7?
Date Tue, 02 Oct 2007 20:06:49 GMT

While developing a Struts 2 app, I've encountered a bug within the framework.
I've debugged this and I believe I've identified the exact cause of the
issue. I'd like to try a fix and then submit it as a recommended patch.

However, before I even try to add my code change, I am having trouble
building the xwork library. I run Maven and get the following output:

Failed tests:
 
testNeedsReload(com.opensymphony.xwork2.config.providers.XmlConfigurationProviderTest)
 
testAddingToCollectionBasedOnPermission(com.opensymphony.xwork2.util.SetPropertiesTest)
 
testAddingToListsWithObjects(com.opensymphony.xwork2.util.SetPropertiesTest)
 
testAddingToMapsWithObjects(com.opensymphony.xwork2.util.SetPropertiesTest)

Tests run: 532, Failures: 4, 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: 52 seconds
[INFO] Finished at: Tue Oct 02 14:32:08 CDT 2007
[INFO] Final Memory: 9M/29M
[INFO]
------------------------------------------------------------------------

This is with completely untouched distributions. Are these tests known to
fail? The Maven build is not creating a new jar file with these errors. Has
anyone else gotten this to work?

FYI, this is with:

Java: JDK 1.6.0_02
Struts: 2.0.9
XWork: 2.0.4
Maven: 2.0.7
-- 
View this message in context: http://www.nabble.com/Can%27t-build-XWork-2.0.4-with-Maven-2.0.7--tf4557752.html#a13006943
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message