You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Alexey Zavizionov <al...@gmail.com> on 2008/09/24 15:57:48 UTC
The classpath option for CXF's java2ws plugin.
Hello list,
I had a problem with the configuration of your plugin because of improper
documentation at [1].
"<classPath>...</classPath>"
is not
"<classpath>...</classpath>"
Here is a piece of my configuration:
==================================
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-java2ws-plugin</artifactId>
<version>2.1.2</version>
<dependencies>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-simple</artifactId>
<version>2.1.2</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>test-compile</id>
<phase>test-compile</phase>
<configuration>
<className>org.exoplatform.services.ws.soap.jsr181.TicketOrderService</className>
<classpath>target/test-classes</classpath>
<genWsdl>true</genWsdl>
<verbose>true</verbose>
</configuration>
<goals>
<goal>java2ws</goal>
</goals>
</execution>
</executions>
</plugin>
==================================
[1]
http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html#MavenIntegrationandPlugin-Java2WS
I had a headache with this configuration. :)
Regards,
Alexey
Re: The classpath option for CXF's java2ws plugin.
Posted by Daniel Kulp <dk...@apache.org>.
Fixed. Thanks!
Dan
On Wednesday 24 September 2008 9:57:48 am Alexey Zavizionov wrote:
> Hello list,
>
> I had a problem with the configuration of your plugin because of improper
> documentation at [1].
>
> "<classPath>...</classPath>"
> is not
> "<classpath>...</classpath>"
>
> Here is a piece of my configuration:
> ==================================
> <plugin>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-java2ws-plugin</artifactId>
> <version>2.1.2</version>
> <dependencies>
> <dependency>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-rt-frontend-jaxws</artifactId>
> <version>2.1.2</version>
> </dependency>
> <dependency>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-rt-frontend-simple</artifactId>
> <version>2.1.2</version>
> </dependency>
> </dependencies>
> <executions>
> <execution>
> <id>test-compile</id>
> <phase>test-compile</phase>
> <configuration>
>
> <className>org.exoplatform.services.ws.soap.jsr181.TicketOrderService</clas
>sName> <classpath>target/test-classes</classpath>
> <genWsdl>true</genWsdl>
> <verbose>true</verbose>
> </configuration>
> <goals>
> <goal>java2ws</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> ==================================
>
>
> [1]
> http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html#MavenInt
>egrationandPlugin-Java2WS
>
> I had a headache with this configuration. :)
>
> Regards,
> Alexey
--
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog