Hi Betty, Could you send the contents of the following text file:
C:\xfire125\xfire-1.2.5\examples\book\target\surefire-reports\org.codeha us.xfire.demo.BookServiceTest.txt I think that file may have a more helpful stack trace. Thanks, Chris -----Original Message----- From: Betty Chang [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 3:19 PM To: [email protected] Subject: Re: [xfire-user] Is the book example suipposed to produce a war file? Hi -- I ran mvn -e test on book example, and here's what I got: Thanks Betty `C:\xfire125\xfire-1.2.5\examples\book>mvn test [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ - --- [INFO] Building Book Example [INFO] task-segment: [test] [INFO] ------------------------------------------------------------------------ - --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig nored for artifact resolution. Reason: Not a v4.0.0 POM. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig nored for artifact resolution. Reason: Not a v4.0.0 POM. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig nored for artifact resolution. Reason: Not a v4.0.0 POM. [INFO] [surefire:test] [INFO] Surefire report directory: C:\xfire125\xfire-1.2.5\examples\book\target\s urefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.codehaus.xfire.demo.BookServiceTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.187 sec <<< FA ILURE! Results : Tests in error: testClient(org.codehaus.xfire.demo.BookServiceTest) Tests run: 1, Failures: 0, Errors: 1, 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: 4 seconds [INFO] Finished at: Tue Mar 20 12:17:11 PDT 2007 [INFO] Final Memory: 5M/10M [INFO] ------------------------------------------------------------------------ C:\xfire125\xfire-1.2.5\examples\book>dir /s *.war Volume in drive C has no label. Volume Serial Number is 6848-E580 File Not Found C:\xfire125\xfire-1.2.5\examples\book>mvn -e test + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ - --- [INFO] Building Book Example [INFO] task-segment: [test] [INFO] ------------------------------------------------------------------------ - --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig nored for artifact resolution. Reason: Not a v4.0.0 POM. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig nored for artifact resolution. Reason: Not a v4.0.0 POM. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig nored for artifact resolution. Reason: Not a v4.0.0 POM. [INFO] [surefire:test] [INFO] Surefire report directory: C:\xfire125\xfire-1.2.5\examples\book\target\s urefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.codehaus.xfire.demo.BookServiceTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.094 sec <<< FA ILURE! Results : Tests in error: testClient(org.codehaus.xfire.demo.BookServiceTest) Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: There are test failures. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:560) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures . at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugi n.java:425) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:420) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:539) ... 16 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Tue Mar 20 12:17:20 PDT 2007 [INFO] Final Memory: 5M/10M [INFO] ------------------------------------------------------------------------ C:\xfire125\xfire-1.2.5\examples\book> ----- Original Message ----- From: "Tomek Sztelak" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, March 20, 2007 1:27 AM Subject: Re: [xfire-user] Is the book example suipposed to produce a war file? > Can you show your stacktrace ? I just run test from book example and > it works fine. > > On 3/20/07, Betty Chang <[EMAIL PROTECTED]> wrote: >> >> >> Hi -- >> >> I am trying the book example on xfire1.2.5, but I don't get a war file. >> I >> seem to get a test error, as shown below. >> >> Am I supposed to get a war file as the README seems to say? >> >> Thanks >> >> Betty >> >> ======================================================================== ===== >> C:\xfire125\xfire-1.2.5\examples\book>mvn install war:war >> [INFO] Scanning for projects... >> [INFO] Searching repository for plugin with prefix: 'war'. >> [INFO] >> ------------------------------------------------------------------------ - >> --- >> [INFO] Building Book Example >> [INFO] task-segment: [install, war:war] >> [INFO] >> ------------------------------------------------------------------------ - >> --- >> [INFO] [resources:resources] >> [INFO] Using default encoding to copy filtered resources. >> [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It >> will >> be ig >> nored for artifact resolution. Reason: Not a v4.0.0 POM. >> [INFO] [compiler:compile] >> [INFO] Nothing to compile - all classes are up to date >> [INFO] [resources:testResources] >> [INFO] Using default encoding to copy filtered resources. >> [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It >> will >> be ig >> nored for artifact resolution. Reason: Not a v4.0.0 POM. >> [INFO] [compiler:testCompile] >> [INFO] Nothing to compile - all classes are up to date >> [WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It >> will >> be ig >> nored for artifact resolution. Reason: Not a v4.0.0 POM. >> [INFO] [surefire:test] >> [INFO] Surefire report directory: >> C:\xfire125\xfire-1.2.5\examples\book\target\s >> urefire-reports >> >> ------------------------------------------------------- >> T E S T S >> ------------------------------------------------------- >> Running org.codehaus.xfire.demo.BookServiceTest >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.078 sec >> <<< FA >> ILURE! >> >> Results : >> >> Tests in error: >> testClient(org.codehaus.xfire.demo.BookServiceTest) >> >> Tests run: 1, Failures: 0, Errors: 1, 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: 1 second >> [INFO] Finished at: Mon Mar 19 16:49:43 PDT 2007 >> [INFO] Final Memory: 6M/10M >> [INFO] >> ------------------------------------------------------------------------ >> >> C:\xfire125\xfire-1.2.5\examples\book> > > > -- > ----- > When one of our products stops working, we'll blame another vendor > within 24 hours. > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
