Subject: Re: Can 't build XWork 2.0.4 with Maven 2.0.7? 2007-10-02 - By Wes Wannemacher
Back I work with the trunk and I get test failures periodically. I usually ignore them so that I can do whatever I need to do. To get maven to create the JAR file, you have to tell it to skip tests -
mvn -Dmaven.test.skip=true
On 10/2/07, MassimoH <MassimoHeitor@(protected)> wrote: > > 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 (See http://ork-2.ora-code.com).0.4 -with-Maven-2 (See http://ven-2.ora-code.com).0.7--tf4557752.html#a13006943 > Sent from the Struts - User mailing list archive at Nabble.com. > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: user-unsubscribe@(protected) > For additional commands, e-mail: user-help@(protected) > >
-- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|