Hello, Glen.

Does you have worked plugin with those changes?

Regards,
Alexey.

On Wed, Oct 22, 2008 at 8:10 PM, Glen Mazza <[EMAIL PROTECTED]> wrote:
>
> I wonder if a solution would be to separate the JAX-WS artifacts into a
> separate submodule, using either the Maven assembly plugin as in my
> WSDL-first tutorial[1], or creating a separate JAX-WS Maven module[2] and
> then linking either of the two in as a test-time dependency.
>
> Glen
>
> [1] http://www.jroller.com/gmazza/date/20080417#WFstep3
> [2] http://www.jroller.com/gmazza/date/20071019#step5
>
>
> Zavizionov wrote:
>>
>> Hi, list!
>>
>> Let me explain my task sequence.
>> I have a test sources for sample service. They are builded within
>> test-compile phase.
>> And, I added a cxf-java2ws-plugin for that test-compile phase for
>> generation wsdl file.
>>
>> When I run maven with test option all ok, otherwise I have a stack trace :
>>
>> [INFO]    task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [clean:clean]
>> [INFO] Deleting directory
>> D:\Projects\eXo\dev\projects\projects\ws\trunk\soap\jsr181\target
>> Downloading:
>> http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.2/FastInfoset-1.2.2.pom
>> Downloading:
>> http://maven2.exoplatform.org/rest/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.2/FastInfoset-1.2.2.pom
>> Downloading:
>> http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.2/FastInfoset-1.2.2.pom
>> Downloading:
>> http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.7/jaxb-xjc-2.1.7.pom
>> Downloading:
>> http://maven2.exoplatform.org/rest/maven2/com/sun/xml/bind/jaxb-xjc/2.1.7/jaxb-xjc-2.1.7.pom
>> Downloading:
>> http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.7/jaxb-xjc-2.1.7.pom
>> [INFO] [cxf-codegen:wsdl2java {execution: generate-sources}]
>> ...
>> BindingFactory,org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache
>> .cxf.ws.addressing.policy.UsingAddressingAssertionBuilder]; root of
>> factory hierarchy
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:compile]
>> [INFO] Compiling 13 source files to
>> D:\Projects\eXo\dev\projects\projects\ws\trunk\soap\jsr181\target\classes
>> [INFO] [resources:testResources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:testCompile]
>> [INFO] Not compiling test sources
>> [INFO] [antrun:run {execution: emma1}]
>> [INFO] Executing tasks
>> [INFO] Executed tasks
>> [INFO] [cxf-java2ws:java2ws {execution: test-compile}]
>> java2ws -o
>> D:\Projects\eXo\dev\projects\projects\ws\trunk\soap\jsr181\target\generated\wsdl\TicketOrderService.wsdl
>> -wsdl -cp D:\Projects\eXo\dev\projects\proje
>> cts\ws\trunk\soap\jsr181/target/test-classes -verbose
>> org.exoplatform.services.ws.soap.jsr181.TicketOrderService
>> java2ws - Apache CXF 2.1.2
>> ...
>> ContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.ws.addressing.policy.Addr
>> essingAssertionBuilder,org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuild
>> er]; root of factory hierarchy
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Fail to load class :
>> org.exoplatform.services.ws.soap.jsr181.TicketOrderService
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 21 seconds
>> [INFO] Finished at: Thu Oct 16 10:47:52 EEST 2008
>> [INFO] Final Memory: 31M/55M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> D:\Projects\eXo\dev\projects\projects\ws\trunk>
>> [10:49:56] … с -е
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Fail to load class :
>> org.exoplatform.services.ws.soap.jsr181.TicketOrderService
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: Fail to load
>> class : org.exoplatform.services.ws.soap.jsr181.TicketOrderService
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>> ...
>>
>>
>>
>> Regards,
>> Alexey.
>>
>>
>> On Thu, Oct 16, 2008 at 3:02 PM, Alexey Zavizionov
>> <[EMAIL PROTECTED]> wrote:
>>> Hello, list!
>>>
>>> Does the "cxf-java2ws-plugin" support to bypass an execution of it
>>> with configured execution phase "test-compile" and option
>>> "-Dmaven.test.skip=true" ?
>>>
>>> http://www.nabble.com/forum/ViewPost.jtp?post=12285055&framed=y
>>>
>>> Regards,
>>> Alexey.
>>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/cxf-java2ws-plugin-and-maven-test-skip-option-tp20012286p20115453.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Reply via email to