cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freeman Fang <freeman.f...@gmail.com>
Subject Re: mvn install on latest
Date Sat, 24 Sep 2011 01:23:01 GMT
Hi,

You actually need do nothing, maven can pick it up from your maven  
local repo automatically.

Freeman
On 2011-9-24, at 上午3:30, Amish Gandhi wrote:

> Hi Freeman,
> How do I include the new created
> /Users/amish/.m2/repository/org/apache/ws/security/wss4j/1.6.3- 
> SNAPSHOT/wss4j-1.6.3-SNAPSHOT.jar
> in the build?
>
> I guess once I do it correctly it should work for eclipse and mvn
> install..right?
>
> Thanks,
> Amish.
>
> On Fri, Sep 23, 2011 at 10:32 AM, Amish Gandhi <yfilmps@gmail.com>  
> wrote:
>
>> Thanks Freeman, just built successfully wss4j and kicked off cxf.
>>
>> Here's my maven version:
>> gardensparrow:wss4j amish$ mvn -version
>> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
>> Java version: 1.6.0_26
>> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/ 
>> Contents/Home
>> Default locale: en_US, platform encoding: MacRoman
>> OS name: "mac os x" version: "10.7.1" arch: "x86_64" Family: "mac"
>>
>> Thanks,
>> Amish.
>>
>>
>> On Thu, Sep 22, 2011 at 7:06 PM, Freeman Fang  
>> <freeman.fang@gmail.com>wrote:
>>
>>> Hi,
>>>
>>> Look at
>>>
>>> ava.lang.Error: Unresolved compilation problem
>>> The constructor WSSecurityEngineResult(int) is undefined
>>>
>>> In Cxf trunk we currently use wss4j 1.6.3-SNAPSHOT, and so you  
>>> need ensure
>>> grab the latest wss4j snapshot,
>>> The constructor WSSecurityEngineResult(int) is added in wss4j days  
>>> ago, I
>>> generally grab latest wss4j code[1] each day in my morning and  
>>> build a wss4j
>>> 1.6.3-SNAPSHOT locally(it take me about 1.2 mins to do mvn clean  
>>> install so
>>> it's not a big deal :-)), then I build CXF, that can avoid this  
>>> kind of
>>> trouble.
>>>
>>> [1]https://svn.apache.org/**repos/asf/webservices/wss4j/**trunk<https://svn.apache.org/repos/asf/webservices/wss4j/trunk

>>> >
>>> Freeman
>>>
>>> On 2011-9-23, at 上午9:00, Amish Gandhi wrote:
>>>
>>> Hi All,
>>>> I have commented the failed tests locally (once I get my first  
>>>> build
>>>> going I
>>>> can uncomment it).
>>>>
>>>> But I am still getting failures on eclipse and mvn install.
>>>>
>>>> The build is passing on Jenkins, so I think its something to do  
>>>> with my
>>>> setup. Any ideas?
>>>>
>>>> testEncryptedSignedPartsWithCo**mpleteCoverage(org.apache.cxf.**
>>>> ws.security.wss4j.**PolicyBasedWss4JInOutTest)
>>>> Time elapsed: 0.072 sec  <<< ERROR!
>>>> java.lang.Error: Unresolved compilation problem:
>>>>  The method setSymmetricEncAlgorithm(**String) is undefined for the
>>>> type
>>>> WSSecEncryptedKey
>>>>
>>>>  at
>>>> org.apache.cxf.ws.security.**wss4j.policyhandlers.**
>>>> AbstractBindingBuilder.**getEncryptedKeyBuilder(**
>>>> AbstractBindingBuilder.java:**1250)
>>>>  at
>>>> org.apache.cxf.ws.security.**wss4j.policyhandlers.**
>>>> SymmetricBindingHandler.**setupEncryptedKey(**
>>>> SymmetricBindingHandler.java:**789)
>>>>  at
>>>> org.apache.cxf.ws.security.**wss4j.policyhandlers.**
>>>> SymmetricBindingHandler.**doEncryptBeforeSign(**
>>>> SymmetricBindingHandler.java:**163)
>>>>  at
>>>> org.apache.cxf.ws.security.**wss4j.policyhandlers.**
>>>> SymmetricBindingHandler 
>>>> .**handleBinding(**SymmetricBindingHandler.java:*
>>>> *116)
>>>>  at
>>>> org 
>>>> .apache.cxf.ws.security.**wss4j.**PolicyBasedWSS4JOutInterceptor** 
>>>> $**
>>>> PolicyBasedWSS4JOutInterceptor**Internal.handleMessage(**
>>>> PolicyBasedWSS4JOutInterceptor**.java:162)
>>>>  at
>>>> org.apache.cxf.ws.security.**wss4j.**AbstractPolicySecurityTest.**
>>>> runOutInterceptorAndValidate(**AbstractPolicySecurityTest.**java: 
>>>> 276)
>>>>  at
>>>> org.apache.cxf.ws.security.**wss4j.**AbstractPolicySecurityTest.**
>>>> runOutInterceptorAndValidate(**AbstractPolicySecurityTest.**java: 
>>>> 266)
>>>>  at
>>>> org.apache.cxf.ws.security.**wss4j.**AbstractPolicySecurityTest.**
>>>> runAndValidate(**AbstractPolicySecurityTest.**java:124)
>>>>  at
>>>> org.apache.cxf.ws.security.**wss4j.**AbstractPolicySecurityTest.**
>>>> runAndValidate(**AbstractPolicySecurityTest.**java:94)
>>>>  at
>>>> org.apache.cxf.ws.security.**wss4j.**PolicyBasedWss4JInOutTest.**
>>>> testEncryptedSignedPartsWithCo**mpleteCoverage(**
>>>> PolicyBasedWss4JInOutTest.**java:440)
>>>>  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:597)
>>>>  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.internal.runners.**statements.RunBefores.**
>>>> evaluate(RunBefores.java:28)
>>>>  at
>>>> org.junit.internal.runners.**statements.RunAfters.evaluate(**
>>>> RunAfters.java:31)
>>>>  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:**39)
>>>>  at
>>>> sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
>>>> DelegatingMethodAccessorImpl.**java:25)
>>>>  at java.lang.reflect.Method.**invoke(Method.java:597)
>>>>  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:172)
>>>>  at
>>>> org.apache.maven.surefire.**booter.SurefireStarter.**
>>>> runSuitesInProcessWhenForked(**SurefireStarter.java:104)
>>>>  at
>>>> org.apache.maven.surefire.**booter.ForkedBooter.main(**
>>>> ForkedBooter.java:70)
>>>> Running org.apache.cxf.ws.security.**wss4j.RoundTripTest
>>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>> 1.547 sec
>>>> Running  
>>>> org.apache.cxf.ws.security.**wss4j.**SignatureConfirmationTest
>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>> 0.057 sec
>>>> Running org.apache.cxf.ws.security.**wss4j.**
>>>> UserNameTokenAuthorizationTest
>>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>> 0.628 sec
>>>> Running org.apache.cxf.ws.security.**wss4j.WSS4JFaultCodeTest
>>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>> 1.051 sec
>>>> Running org.apache.cxf.ws.security.**wss4j.WSS4JInOutTest
>>>> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:  
>>>> 0.431
>>>> sec
>>>> <<< FAILURE!
>>>> testCustomProcessorObject(org.**apache.cxf.ws.security.wss4j.**
>>>> WSS4JInOutTest)
>>>> Time elapsed: 0.033 sec  <<< ERROR!
>>>> java.lang.Error: Unresolved compilation problem:
>>>>  The constructor WSSecurityEngineResult(int) is undefined
>>>>
>>>>  at
>>>> org.apache.cxf.ws.security.**wss4j.CustomProcessor.**
>>>> handleToken(CustomProcessor.**java:41)
>>>>  at
>>>> org 
>>>> .apache.ws.security.**WSSecurityEngine.**processSecurityHeader(**
>>>> WSSecurityEngine.java:396)
>>>>  at
>>>> org 
>>>> .apache 
>>>> .cxf.ws.security.**wss4j.WSS4JInInterceptor.**handleMessage(**
>>>> WSS4JInInterceptor.java:249)
>>>>  at
>>>> org.apache.cxf.ws.security.**wss4j.WSS4JInOutTest.**
>>>> testCustomProcessorObject(**WSS4JInOutTest.java:422)
>>>>  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:597)
>>>>  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.internal.runners.**statements.RunBefores.**
>>>> evaluate(RunBefores.java:28)
>>>>  at
>>>> org.junit.internal.runners.**statements.RunAfters.evaluate(**
>>>> RunAfters.java:31)
>>>>  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:**39)
>>>>  at
>>>> sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
>>>> DelegatingMethodAccessorImpl.**java:25)
>>>>  at java.lang.reflect.Method.**invoke(Method.java:597)
>>>>  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:172)
>>>>  at
>>>> org.apache.maven.surefire.**booter.SurefireStarter.**
>>>> runSuitesInProcessWhenForked(**SurefireStarter.java:104)
>>>>  at
>>>> org.apache.maven.surefire.**booter.ForkedBooter.main(**
>>>> ForkedBooter.java:70)
>>>> Running org.apache.cxf.ws.security.**wss4j.WSS4JOutInterceptorTest
>>>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>> 0.24 sec
>>>> Running org.apache.cxf.ws.security.**wss4j.saml.PolicyBasedSamlTest
>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>> 2.635 sec
>>>> Running org.apache.cxf.ws.security.**wss4j.saml.SamlTokenTest
>>>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>> 0.63 sec
>>>>
>>>> Results :
>>>>
>>>> Tests in error:
>>>>
>>>> testEncryptedElementsPolicyWit**hCompleteCoverage(org.apache.**
>>>> cxf.ws.security.wss4j.**PolicyBasedWss4JInOutTest):
>>>> Unresolved compilation problem:
>>>>
>>>> testContentEncryptedElementsPo**licyWithCompleteCoverage(org.**
>>>> apache.cxf.ws.security.wss4j.**PolicyBasedWss4JInOutTest):
>>>> Unresolved compilation problem:
>>>>
>>>> testEncryptedPartsPolicyWithCo**mpleteCoverage(org.apache.cxf.**
>>>> ws.security.wss4j.**PolicyBasedWss4JInOutTest):
>>>> Unresolved compilation problem:
>>>>
>>>> testEncryptedSignedPartsWithCo**mpleteCoverage(org.apache.cxf.**
>>>> ws.security.wss4j.**PolicyBasedWss4JInOutTest):
>>>> Unresolved compilation problem:
>>>>
>>>> testCustomProcessorObject(org.**apache.cxf.ws.security.wss4j.**
>>>> WSS4JInOutTest):
>>>> Unresolved compilation problem:
>>>>
>>>> Tests run: 64, Failures: 0, Errors: 5, Skipped: 0
>>>>
>>>> [INFO]
>>>> ------------------------------**------------------------------**
>>>> ------------
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------**------------------------------**
>>>> ------------
>>>> [INFO] There are test failures.
>>>>
>>>> Please refer to
>>>> /Users/amish/Documents/cxf/rt/**ws/security/target/surefire- 
>>>> **reports
>>>> for the
>>>> individual test results.
>>>> [INFO]
>>>> ------------------------------**------------------------------**
>>>> ------------
>>>>
>>>>
>>>>
>>>> On Thu, Sep 22, 2011 at 4:34 PM, Amish Gandhi <yfilmps@gmail.com> 

>>>> wrote:
>>>>
>>>> Hi All,
>>>>> I have updated to revision 1174448.
>>>>>
>>>>> I have been getting a test failed since yesterday when running mvn
>>>>> install.
>>>>>
>>>>> Am I not supposed to run install? Am I doing something wrong?
>>>>>
>>>>> Thanks,
>>>>> Amish.
>>>>>
>>>>> ------------------------------**-------------------------
>>>>> T E S T S
>>>>> ------------------------------**-------------------------
>>>>> Running org.apache.cxf.jaxws.**CodeFirstTest
>>>>> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 4.967
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**CodeFirstWSDLTest
>>>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.263
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**ConfiguredEndpointTest
>>>>> Tests run: 8, Failures: 0, Errors: 0, Skipped: 2, Time elapsed:  
>>>>> 1.573
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**EndpointImplTest
>>>>> Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.6 sec
>>>>> <<<
>>>>> FAILURE!
>>>>> testPublishEndpointPermission 
>>>>> (**org.apache.cxf.jaxws.**EndpointImplTest)
>>>>> Time
>>>>> elapsed: 0.302 sec  <<< FAILURE!
>>>>> java.lang.AssertionError: Did not throw exception as expected
>>>>>  at org.junit.Assert.fail(Assert.**java:91)
>>>>>  at
>>>>> org.apache.cxf.jaxws.**EndpointImplTest.**
>>>>> testPublishEndpointPermission(**EndpointImplTest.java:195)
>>>>>  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:597)
>>>>>  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.internal.runners.**statements.RunBefores.**
>>>>> evaluate(RunBefores.java:28)
>>>>>  at
>>>>> org.junit.internal.runners.**statements.RunAfters.evaluate(**
>>>>> RunAfters.java:31)
>>>>>  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.internal.runners.**statements.RunBefores.**
>>>>> evaluate(RunBefores.java:28)
>>>>>  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:**39)
>>>>>  at
>>>>> sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
>>>>> DelegatingMethodAccessorImpl.**java:25)
>>>>>  at java.lang.reflect.Method.**invoke(Method.java:597)
>>>>>  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:172)
>>>>>  at
>>>>> org.apache.maven.surefire.**booter.SurefireStarter.**
>>>>> runSuitesInProcessWhenForked(**SurefireStarter.java:104)
>>>>>  at
>>>>> org.apache.maven.surefire.**booter.ForkedBooter.main(**
>>>>> ForkedBooter.java:70)
>>>>> Running org.apache.cxf.jaxws.**EndpointReferenceTest
>>>>> Tests run: 12, Failures: 0, Errors: 0, Skipped: 1, Time elapsed:  
>>>>> 5.535
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**GreeterTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.08 sec
>>>>> Running org.apache.cxf.jaxws.**HeaderTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 1.823
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**JAXWSMethodInvokerTest
>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.38 sec
>>>>> Running org.apache.cxf.jaxws.**JaxWsClientTest
>>>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.374
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**JaxWsServerFactoryBeanTest
>>>>> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 1.692
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**SEIWithJAXBAnnoTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.143
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**SOAPBindingTest
>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.105
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**SchemaFirstTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.001
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**SchemaFirstXmlConfigTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.382
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**ServiceImplTest
>>>>> Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 4.721
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**ServiceModelUtilsTest
>>>>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.175
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**SoapFaultTest
>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 3.552
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**URIMappingInterceptorDocLitTes**t
>>>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.001
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**URIMappingInterceptorRPCTest
>>>>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.001
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.**WrapperClassGeneratorTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0 sec
>>>>> Running org.apache.cxf.jaxws.context.**WebServiceContextImplTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0 sec
>>>>> Running org.apache.cxf.jaxws.dispatch.**DispatchTest
>>>>> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.577
>>>>> sec
>>>>> Running  
>>>>> org.apache.cxf.jaxws.handler.**AbstractProtocolHandlerInterce**
>>>>> ptorTest
>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.149
>>>>> sec
>>>>> Running  
>>>>> org.apache.cxf.jaxws.handler.**AnnotationHandlerChainBuilderT**
>>>>> est
>>>>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.124
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.handler.**HandlerChainBuilderTest
>>>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.314
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.handler.**HandlerChainInvokerTest
>>>>> Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.333
>>>>> sec
>>>>> Running  
>>>>> org.apache.cxf.jaxws.handler.**InitParamResourceResolverTest
>>>>> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.001
>>>>> sec
>>>>> Running  
>>>>> org.apache.cxf.jaxws.handler.**LogicalHandlerInterceptorTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.001
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.handler.**LogicalMessageImplTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.024
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.handler.**soap.**
>>>>> SOAPHandlerInterceptorTest
>>>>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.135
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.header.**HeaderClientServerTest
>>>>> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 1.877
>>>>> sec
>>>>> Running  
>>>>> org.apache.cxf.jaxws.header.**ProviderHeaderClientServerTest
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.102
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.holder.**HolderTest
>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.162
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.provider.**ProviderServiceFactoryTest
>>>>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.136
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.provider.**ProviderTest
>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.018
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.service.**AnnotationInterceptorTest
>>>>> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.138
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.spi.**ProviderImplTest
>>>>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0 sec
>>>>> Running org.apache.cxf.jaxws.spring.**SpringBeansTest
>>>>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 2.885
>>>>> sec
>>>>> Running  
>>>>> org.apache.cxf.jaxws.support.**ContextPropertiesMappingTest
>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0 sec
>>>>> Running org.apache.cxf.jaxws.support.**JaxWsImplementorInfoTest
>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 0.001
>>>>> sec
>>>>> Running  
>>>>> org.apache.cxf.jaxws.support.**JaxWsServiceConfigurationTest
>>>>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 1.937
>>>>> sec
>>>>> Running org.apache.cxf.jaxws.support.**JaxWsServiceFactoryBeanTest
>>>>> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
>>>>> 1.192
>>>>> sec
>>>>>
>>>>> Results :
>>>>>
>>>>> Failed tests:
>>>>> testPublishEndpointPermission 
>>>>> (**org.apache.cxf.jaxws.**EndpointImplTest):
>>>>> Did
>>>>> not throw exception as expected
>>>>>
>>>>> Tests run: 213, Failures: 1, Errors: 0, Skipped: 3
>>>>>
>>>>> [INFO]
>>>>> ------------------------------**------------------------------**
>>>>> ------------
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------**------------------------------**
>>>>> ------------
>>>>> [INFO] There are test failures.
>>>>>
>>>>> Please refer to
>>>>> /Users/amish/Documents/cxf/rt/**frontend/jaxws/target/**surefire- 
>>>>> reports
>>>>> for the
>>>>> individual test results.
>>>>> [INFO]
>>>>> ------------------------------**------------------------------**
>>>>> ------------
>>>>> [INFO] For more information, run Maven with the -e switch
>>>>> [INFO]
>>>>> ------------------------------**------------------------------**
>>>>> ------------
>>>>> [INFO] Total time: 7 minutes 37 seconds
>>>>> [INFO] Finished at: Thu Sep 22 16:29:49 PDT 2011
>>>>> [INFO] Final Memory: 144M/528M
>>>>> [INFO]
>>>>> ------------------------------**------------------------------**
>>>>> ------------
>>>>> gardensparrow:cxf amish$
>>>>>
>>>>>
>>>>>
>>> ------------------------------**---------------
>>> Freeman Fang
>>>
>>> FuseSource
>>> Email:ffang@fusesource.com
>>> Web: fusesource.com
>>> Twitter: freemanfang
>>> Blog: http://freemanfang.blogspot.**com <http://freemanfang.blogspot.com 
>>> >
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>

---------------------------------------------
Freeman Fang

FuseSource
Email:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com










Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message