Code:
C:\spring-ws-1.0.3\samples\airline>mvn -P mysql package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Spring WS Airline Sample
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [jaxb:generate {execution: default}]
[INFO] files are up to date
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'joda-time:joda-time-jsptags:pom:1.0:runtime' is invalid. It w
ill be ignored for artifact resolution. Reason: Failed to validate POM for proje
ct joda-time:joda-time-jsptags at Artifact [joda-time:joda-time-jsptags:pom:1.0:
runtime]
Downloading: http://download.java.net/maven/1//xml-security/poms/xmlsec-1.3.0.po
m
Downloading: https://springframework.svn.sourceforge.net/svnroot/springframework
/repos/repo-ext//xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading: http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.
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 'joda-time:joda-time-jsptags:pom:1.0:runtime' is invalid. It w
ill be ignored for artifact resolution. Reason: Failed to validate POM for proje
ct joda-time:joda-time-jsptags at Artifact [joda-time:joda-time-jsptags:pom:1.0:
runtime]
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[WARNING] POM for 'joda-time:joda-time-jsptags:pom:1.0:runtime' is invalid. It w
ill be ignored for artifact resolution. Reason: Failed to validate POM for proje
ct joda-time:joda-time-jsptags at Artifact [joda-time:joda-time-jsptags:pom:1.0:
runtime]
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\spring-ws-1.0.3\samples\airline\target\sure
fire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.springframework.ws.samples.airline.security.AcegiFrequentFlyerSecuri
tyServiceTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.031 sec <<< FA
ILURE!
Running org.springframework.ws.samples.airline.dao.jpa.JpaTicketDaoTest
2008-02-18 13:05:32,038 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
TicketDaoTest] - Began transaction (1): transaction manager [org.springframework
.orm.jpa.JpaTransactionManager@1d7b222]; default rollback = true
2008-02-18 13:05:32,194 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
TicketDaoTest] - Rolled back transaction after test execution
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.047 sec
Running org.springframework.ws.samples.airline.ws.GetFrequentFlyerMileageEndpoin
tTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.015 sec <<< FA
ILURE!
Running org.springframework.ws.samples.airline.dao.jpa.JpaFrequentFlyerDaoTest
2008-02-18 13:05:32,225 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FrequentFlyerDaoTest] - Began transaction (1): transaction manager [org.springfr
amework.orm.jpa.JpaTransactionManager@1d7b222]; default rollback = true
2008-02-18 13:05:32,475 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FrequentFlyerDaoTest] - Rolled back transaction after test execution
2008-02-18 13:05:32,475 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FrequentFlyerDaoTest] - Began transaction (1): transaction manager [org.springfr
amework.orm.jpa.JpaTransactionManager@1d7b222]; default rollback = true
2008-02-18 13:05:32,506 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FrequentFlyerDaoTest] - Rolled back transaction after test execution
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.297 sec
Running org.springframework.ws.samples.airline.ws.XPathAirlineEndpointTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec <<< FAILUR
E!
Running org.springframework.ws.samples.airline.dao.jpa.JpaFlightDaoTest
2008-02-18 13:05:32,538 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FlightDaoTest] - Began transaction (1): transaction manager [org.springframework
.orm.jpa.JpaTransactionManager@1d7b222]; default rollback = true
2008-02-18 13:05:32,569 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FlightDaoTest] - Rolled back transaction after test execution
2008-02-18 13:05:32,569 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FlightDaoTest] - Began transaction (1): transaction manager [org.springframework
.orm.jpa.JpaTransactionManager@1d7b222]; default rollback = true
2008-02-18 13:05:32,616 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FlightDaoTest] - Rolled back transaction after test execution
2008-02-18 13:05:32,616 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FlightDaoTest] - Began transaction (1): transaction manager [org.springframework
.orm.jpa.JpaTransactionManager@1d7b222]; default rollback = true
2008-02-18 13:05:32,647 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FlightDaoTest] - Rolled back transaction after test execution
2008-02-18 13:05:32,663 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FlightDaoTest] - Began transaction (1): transaction manager [org.springframework
.orm.jpa.JpaTransactionManager@1d7b222]; default rollback = true
2008-02-18 13:05:32,694 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FlightDaoTest] - Rolled back transaction after test execution
2008-02-18 13:05:32,694 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FlightDaoTest] - Began transaction (1): transaction manager [org.springframework
.orm.jpa.JpaTransactionManager@1d7b222]; default rollback = true
2008-02-18 13:05:32,725 INFO [org.springframework.ws.samples.airline.dao.jpa.Jpa
FlightDaoTest] - Rolled back transaction after test execution
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.203 sec
Running org.springframework.ws.samples.airline.web.FlightsControllerTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.016 sec <<< FA
ILURE!
Running org.springframework.ws.samples.airline.ws.MarshallingAirlineEndpointTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0 sec <<< FAILUR
E!
Running org.springframework.ws.samples.airline.service.impl.AirlineServiceImplTe
st
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.015 sec <<< FA
ILURE!
Results :
Tests in error:
testGetCurrentlyAuthenticatedFrequentFlyer(org.springframework.ws.samples.airl
ine.security.AcegiFrequentFlyerSecurityServiceTest)
testGetFrequentFlyer(org.springframework.ws.samples.airline.security.AcegiFreq
uentFlyerSecurityServiceTest)
testGetFrequentFlyerMileage(org.springframework.ws.samples.airline.ws.GetFrequ
entFlyerMileageEndpointTest)
testGetFlights(org.springframework.ws.samples.airline.ws.XPathAirlineEndpointT
est)
testFlightList(org.springframework.ws.samples.airline.web.FlightsControllerTes
t)
testBookFlightFrequentFlyer(org.springframework.ws.samples.airline.ws.Marshall
ingAirlineEndpointTest)
testGetFlights(org.springframework.ws.samples.airline.ws.MarshallingAirlineEnd
pointTest)
testBookFlightPassenger(org.springframework.ws.samples.airline.ws.MarshallingA
irlineEndpointTest)
testBookFlight(org.springframework.ws.samples.airline.service.impl.AirlineServ
iceImplTest)
testBookFlightFrequentFlyer(org.springframework.ws.samples.airline.service.imp
l.AirlineServiceImplTest)
testBookFlightNoSeatAvailable(org.springframework.ws.samples.airline.service.i
mpl.AirlineServiceImplTest)
testBookFlightNoSuchFlight(org.springframework.ws.samples.airline.service.impl
.AirlineServiceImplTest)
testGetFlights(org.springframework.ws.samples.airline.service.impl.AirlineServ
iceImplTest)
testGetFlightsDefaultServiceClass(org.springframework.ws.samples.airline.servi
ce.impl.AirlineServiceImplTest)
Tests run: 22, Failures: 0, Errors: 14, 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: 8 seconds
[INFO] Finished at: Mon Feb 18 13:05:32 CET 2008
[INFO] Final Memory: 15M/28M
[INFO] ------------------------------------------------------------------------
I am using: