-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.javamoney.cdi.SmokeTest
Nov 12, 2014 8:33:01 AM org.javamoney.moneta.DefaultMonetaryContextFactory createMonetaryContextNonNullConfig
INFO: Using custom MathContext: precision=256, roundingMode=HALF_EVEN
*** Starting CDIContainer ...
311 [main] INFO org.jboss.weld.Version - WELD-000900 1.1.5 (Final)
467 [main] INFO org.jboss.weld.Bootstrap - WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
1144 [main] WARN org.jboss.interceptor.util.InterceptionTypeRegistry - Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled
1145 [main] WARN org.jboss.interceptor.util.InterceptionTypeRegistry - Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled
*** CDIContainer started.
Nov 12, 2014 8:33:02 AM javax.money.MonetaryAmounts loadMonetaryAmountsSingletonQuerySpi
SEVERE: Failed to load MonetaryAmountsSingletonQuerySpi, query functionality will not be available.
javax.money.MonetaryException: No such service found: interface javax.money.spi.MonetaryAmountsSingletonQuerySpi
at javax.money.spi.Bootstrap.getService(Bootstrap.java:126)
at javax.money.MonetaryAmounts.loadMonetaryAmountsSingletonQuerySpi(MonetaryAmounts.java:72)
at javax.money.MonetaryAmounts.<clinit>(MonetaryAmounts.java:41)
at javax.money.format.AmountFormatQuery.getMonetaryAmountFactory(AmountFormatQuery.java:70)
at org.javamoney.moneta.format.internal.DefaultAmountFormatProviderSpi.getAmountFormats(DefaultAmountFormatProviderSpi.java:78)
at javax.money.format.MonetaryFormats$DefaultMonetaryFormatsSingletonSpi.getAmountFormats(MonetaryFormats.java:208)
at javax.money.spi.MonetaryFormatsSingletonSpi.getAmountFormat(MonetaryFormatsSingletonSpi.java:69)
at javax.money.format.MonetaryFormats.getAmountFormat(MonetaryFormats.java:110)
at javax.money.format.MonetaryFormats.getAmountFormat(MonetaryFormats.java:80)
at org.javamoney.cdi.SmokeTest.testAmountFormatRoundTrip(SmokeTest.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.645 sec <<< FAILURE!
*** Stopping CDIContainer ...
*** CDIContainer stopped.
Results :
Tests in error:
testExchange(org.javamoney.cdi.SmokeTest)
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------