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

Reply via email to