I am having problems with the instructions on the wsdl2code maven plugin
as specified here
(http://ws.apache.org/axis2/tools/1_1/maven-plugins/maven-wsdl2code-plugin.html).
When I run mvn wsdl2code:wsdl2code I get the following error, indicating
that it cannot locate the plugin.
C:\projects\maven2\calculator>mvn wsdl2code:wsdl2code
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'wsdl2code'.
[INFO] artifact org.apache.maven.plugins:maven-wsdl2code-plugin:
checking for updates from alternative
[INFO] artifact org.apache.maven.plugins:maven-wsdl2code-plugin:
checking for updates from central
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-wsdl2code-plugin' does
not exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Dec 07 06:24:07 EST 2006
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------
Here is my pom
<?xml version="1.0" encoding="UTF-8"?><project>
<modelVersion>4.0.0</modelVersion>
<groupId>calculator</groupId>
<artifactId>calculator</artifactId>
<version>0.0.1</version>
<description>The calculator service does add</description>
<pluginRepositories>
<pluginRepository>
<id>alternative</id>
<name>Maven2 Repository</name>
<url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.axis2.maven2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
</execution>
</executions>
<configuration>
<packageName>com.comware.ws.calculator</packageName>
</configuration>
</plugin>
</plugins>
</build>
</project>
Any help would be appreciated.
cheers
</jima>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]