See
http://parada.czech/hudson/job/Jersey-trunk/21/changes
Changes:
[pavel_bucek] calling jsonMarshaller.setProperty only when formattedOutput set to true
------------------------------------------
[...truncated 11127 lines...]
[INFO] [jetty:stop {execution: stop-jetty}]
[INFO] Stopping server 0
[INFO] [install:install]
[INFO] Installing
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_1/target/ex04_1-1.1.5-ea-SNAPSHOT.war to /var/hudson/.m2/repository/com/sun/jersey/contribs/bill-burke-book/ex04_1/1.1.5-ea-SNAPSHOT/ex04_1-1.1.5-ea-SNAPSHOT.war
[INFO] Installing
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_1/target/ex04_1-1.1.5-ea-SNAPSHOT-project.zip to /var/hudson/.m2/repository/com/sun/jersey/contribs/bill-burke-book/ex04_1/1.1.5-ea-SNAPSHOT/ex04_1-1.1.5-ea-SNAPSHOT-project.zip
[INFO] ------------------------------------------------------------------------
[INFO] Building ex04_2
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/target/test-classes
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[ex04_2] in [
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/target/ex04_2-1.1.5-ea-SNAPSHOT]
[INFO] Processing war project
[INFO] Webapp assembled in[1332 msecs]
[INFO] Building war:
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/target/ex04_2-1.1.5-ea-SNAPSHOT.war
[INFO] [assembly:attached {execution: make-assembly}]
[INFO] Reading assembly descriptor: assembly.xml
[INFO] Building zip:
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/target/ex04_2-1.1.5-ea-SNAPSHOT-project.zip
[INFO] Preparing jetty:run
[WARNING] Removing: run from forked lifecycle, to prevent recursive invocation.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [jetty:run {execution: start-jetty}]
[INFO] Configuring Jetty for project: ex04_2
[INFO] Webapp source directory =
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes =
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/target/classes
[INFO] Context path = /
[INFO] Tmp directory = determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file =
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory =
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/src/main/webapp
[INFO] Starting jetty 6.1.19 ...
2010-01-05 14:31:35.403::INFO: jetty-6.1.19
2010-01-05 14:31:35.438::INFO: No Transaction manager found - if your webapp requires one, please configure one.
2010-01-05 14:31:35.598::INFO: Started SelectChannelConnector_at_0.0.0.0:34025
[INFO] Started Jetty Server
[INFO] [surefire:test {execution: surefire-it}]
[INFO] Surefire report directory:
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.restfully.shop.test.CustomerResourceTest
*** Create a new Customer ***
Jan 5, 2010 2:31:36 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 01/05/2010 02:21 PM'
Jan 5, 2010 2:31:36 PM com.sun.jersey.server.impl.application.DeferredResourceConfig getApplication
INFO: Instantiating the Application class, named com.restfully.shop.services.ShoppingApplication
Created customer 1
Location:
http://localhost:34025/customers/customers/1
*** GET Created Customer **
Content-Type: application/xml
<customer id="1">
<first-name>Bill</first-name>
<last-name>Burke</last-name>
<street>256 Clarendon Street</street>
<city>Boston</city>
<state>MA</state>
<zip>02115</zip>
<country>USA</country>
</customer>
**** Use first-name ***
Content-Type: application/xml
<customer id="1">
<first-name>Bill</first-name>
<last-name>Burke</last-name>
<street>256 Clarendon Street</street>
<city>Boston</city>
<state>MA</state>
<zip>02115</zip>
<country>USA</country>
</customer>
*** Create a new Customer ***
Created customer 2
Location: [
http://localhost:34025/customers/customers/2]
*** GET Created Customer **
Content-Type: [application/xml]
<customer id="2">
<first-name>Pavel</first-name>
<last-name>Bucek</last-name>
<street>Top Secret 123</street>
<city>Prague</city>
<state>N/A</state>
<zip>12000</zip>
<country>Czech Republic</country>
</customer>
**** Use first-name ***
<customer id="2">
<first-name>Pavel</first-name>
<last-name>Bucek</last-name>
<street>Top Secret 123</street>
<city>Prague</city>
<state>N/A</state>
<zip>12000</zip>
<country>Czech Republic</country>
</customer>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.541 sec
Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jetty:stop {execution: stop-jetty}]
[INFO] Stopping server 0
[INFO] [install:install]
[INFO] Installing
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/target/ex04_2-1.1.5-ea-SNAPSHOT.war to /var/hudson/.m2/repository/com/sun/jersey/contribs/bill-burke-book/ex04_2/1.1.5-ea-SNAPSHOT/ex04_2-1.1.5-ea-SNAPSHOT.war
[INFO] Installing
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_2/target/ex04_2-1.1.5-ea-SNAPSHOT-project.zip to /var/hudson/.m2/repository/com/sun/jersey/contribs/bill-burke-book/ex04_2/1.1.5-ea-SNAPSHOT/ex04_2-1.1.5-ea-SNAPSHOT-project.zip
[INFO] ------------------------------------------------------------------------
[INFO] Building ex04_3
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 5 source files to
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/target/test-classes
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[ex04_3] in [
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/target/ex04_3-1.1.5-ea-SNAPSHOT]
[INFO] Processing war project
[INFO] Webapp assembled in[679 msecs]
[INFO] Building war:
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/target/ex04_3-1.1.5-ea-SNAPSHOT.war
[INFO] [assembly:attached {execution: make-assembly}]
[INFO] Reading assembly descriptor: assembly.xml
[INFO] Building zip:
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/target/ex04_3-1.1.5-ea-SNAPSHOT-project.zip
[INFO] Preparing jetty:run
[WARNING] Removing: run from forked lifecycle, to prevent recursive invocation.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [jetty:run {execution: start-jetty}]
[INFO] Configuring Jetty for project: ex04_3
[INFO] Webapp source directory =
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes =
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/target/classes
[INFO] Context path = /
[INFO] Tmp directory = determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file =
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory =
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/src/main/webapp
[INFO] Starting jetty 6.1.19 ...
2010-01-05 14:31:40.765::INFO: jetty-6.1.19
2010-01-05 14:31:40.799::INFO: No Transaction manager found - if your webapp requires one, please configure one.
2010-01-05 14:31:40.930::INFO: Started SelectChannelConnector_at_0.0.0.0:34025
[INFO] Started Jetty Server
[INFO] [surefire:test {execution: surefire-it}]
[INFO] Surefire report directory:
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.restfully.shop.test.CustomerResourceTest
*** Create a new Customer ***
*** Create a new Customer ***
*** Create a new Customer ***
*** Create a new Customer ***
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.725 sec <<< FAILURE!
Results :
Tests in error:
testCustomerResource(com.restfully.shop.test.CustomerResourceTest)
testFirstLastCustomerResource(com.restfully.shop.test.CustomerResourceTest)
testCustomerResourceJersey(com.restfully.shop.test.CustomerResourceTest)
testFirstLastCustomerResourceJersey(com.restfully.shop.test.CustomerResourceTest)
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
Please refer to
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/target/surefire-reports for the individual test results.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.
Please refer to
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/contribs/bill-burke-book/ex04_3/target/surefire-reports for the individual test results.
at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 minutes 57 seconds
[INFO] Finished at: Tue Jan 05 14:31:42 CET 2010
[INFO] Final Memory: 90M/565M
[INFO] ------------------------------------------------------------------------
2010-01-05 14:31:44.273::INFO: Shutdown hook executing
2010-01-05 14:31:44.273::INFO: Shutdown hook complete
2010-01-05 14:31:45.283::INFO: Shutdown hook complete
2010-01-05 14:31:46.293::INFO: Shutdown hook complete
2010-01-05 14:31:47.923::INFO: Shutdown hook complete