On 3/23/07, Owen Thomas <[EMAIL PROTECTED]> wrote:
Hello Bruce.
> The recommendation I can provide is to get the XFire and JAX-WS
versions
> sync'd up correctly before proceeding. Let's do this first and see
what is
> next.
I hope my last message conveyed to you my belief that I have done this.
Not hearing anything back from you for a day is a bit unsettling.
My apologies, I was with a client all day and travelling for the last
seven hours to get home.
Here is the POM or anther project I created called AchetypeTest. As
before, some paths that look absolute lack this directory name following
H:\CurrentProjects.
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>test</phase>
<configuration>
<tasks>
<taskdef
classname="org.codehaus.xfire.gen.WsdlGenTask"
name="wsdlgen">
<classpath>
<pathelement
path="H:\CurrentProjects/target/classes" />
<pathelement
path="H:\CurrentProjects/src/main/java" />
<path
refid="maven.test.classpath"
/>
</classpath>
</taskdef>
<wsdlgen
configUrl="H:\CurrentProjects/src/main/resources/services.xml"
outputDirectory="H:\CurrentProjects/src/main/resources" />
</tasks>
<sourceRoot>
H:\CurrentProjects/src/main/java
</sourceRoot>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.codehaus.xfire</groupId>
<artifactId>xfire-generator</artifactId>
<version>${xfire-version}</version>
<exclusions>
<exclusion>
<groupId>javax.xml</groupId>
<artifactId>jsr173</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.codehaus.xfire</groupId>
<artifactId>xfire-jaxws</artifactId>
<version>${xfire-version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>jbi-maven-plugin</artifactId>
<version>${servicemix-version}</version>
<extensions>true</extensions>
<configuration>
<type>service-unit</type>
</configuration>
</plugin>
Remove the section above. There is no need to generate WSDL for an
annotated POJO. This is a bug in the archetype that I've fixed. That
will allow the SU to build.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/