So now I'm getting this error, which I think is fixable.  

[INFO] [jaxws:wsgen {execution: default}]
Class not found: "com.mycompany.intouch.test.HelloWorld"

How do I go about running the compiler in a phase prior to the jaxws-plugin
running, so the class is available for WS wiring?


monkeyden wrote:
> 
> Does anyone have working example of the jaxws-maven-plugin?  I have seen
> many posts on the web and all seem to have problems with it. They all seem
> to relate to a version problem with the jaxws-api dependency and the
> repository in which it is found.  The central repo apparently has an
> incorrect version.  It seems we have to cobble this thing together to get
> it to work.
> 
> I think just the plugin declaration and the repositories used should be
> enough.  Here is what I have so far....
> 
> 
> <repositories>
>         <!-- needed to retrieve a working jaxws-api-2.1.pom -->
>         <repository>
>             <id>java.net - Dev</id>
>             <url>https://maven-repository.dev.java.net/repository</url>
>             <layout>legacy</layout>
>         </repository>
>         <!-- needed for the jaxws-maven-plugin -->
>         <repository>
>             <id>java.net - Maven2</id>
>             <url>http://download.java.net/maven/2</url>
>             <layout>legacy</layout>
>         </repository>
>     </repositories>
> 
> 
> <plugin>
>     <groupId>org.codehaus.mojo</groupId>
>     <artifactId>jaxws-maven-plugin</artifactId>
>     <version>1.7</version>
>     <executions>
>         <execution>
>             <goals>
>                 <goal>wsgen</goal>
>             </goals>
>             <configuration>
>                 <sei>com.symcare.intouch.test.HelloWorld</sei>
>                 <genWsdl>true</genWsdl>
>                 <verbose>true</verbose>
>             </configuration>
>         </execution>
>     </executions>
> </plugin>
> 

-- 
View this message in context: 
http://www.nabble.com/jaxws-maven-plugin-issues-tp24869071p24869452.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to