You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by haipeng du <ha...@gmail.com> on 2009/11/18 22:47:07 UTC

axis2 maven plugin java2wsdl problem

I always got error:
 The plugin 'org.apache.maven.plugins:maven-java2wsdl-plugin' does not exist
or no valid version could be found
with my plugin:
<plugin>
            <groupId>org.apache.axis2.maven2</groupId>
            <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
            <version>1.1</version>
            <configuration>

<className>com.chg.dataware.service.DatawareWebService</className>

<outputFileName>${basedir}/src/main/resources/dataware.wsdl</outputFileName>
            </configuration>
            <executions>
              <execution>
                <goals>
                  <goal>java2wsdl</goal>
                </goals>
              </execution>
             </executions>
          </plugin>
I can find that jar file in repo1.maven.org/maven2 repository.


-- 
Haipeng Du
Salt Lake City

Re: axis2 maven plugin java2wsdl problem

Posted by Glen Mazza <gl...@gmail.com>.
Here's my pom.xml, if that might help:
http://www.jroller.com/gmazza/entry/soap_client_with_axis2

Unfortunately it only works for 1.4.1 right now, as I'm having trouble
getting the dependencies right for 1.5.1.

Glen


flyabovesun wrote:
> 
> I always got error:
>  The plugin 'org.apache.maven.plugins:maven-java2wsdl-plugin' does not
> exist
> or no valid version could be found
> with my plugin:
> <plugin>
>             <groupId>org.apache.axis2.maven2</groupId>
>             <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>             <version>1.1</version>
>             <configuration>
> 
> <className>com.chg.dataware.service.DatawareWebService</className>
> 
> <outputFileName>${basedir}/src/main/resources/dataware.wsdl</outputFileName>
>             </configuration>
>             <executions>
>               <execution>
>                 <goals>
>                   <goal>java2wsdl</goal>
>                 </goals>
>               </execution>
>              </executions>
>           </plugin>
> I can find that jar file in repo1.maven.org/maven2 repository.
> 
> 
> -- 
> Haipeng Du
> Salt Lake City
> 
> 

-- 
View this message in context: http://old.nabble.com/axis2-maven-plugin-java2wsdl-problem-tp26416388p26456419.html
Sent from the Axis - User mailing list archive at Nabble.com.