You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Liliana Ziolek (JIRA)" <ji...@apache.org> on 2008/03/26 14:47:24 UTC

[jira] Commented: (AXIS2-2675) maven java2wsdl and wsdl2code plugins do not work

    [ https://issues.apache.org/jira/browse/AXIS2-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582287#action_12582287 ] 

Liliana Ziolek commented on AXIS2-2675:
---------------------------------------

Try running 
mvn axis2-wsdl2code:wsdl2code 
instead of 
mvn wsdl2code:wsdl2code.

This is working for us with the version 1.3, not sure how about any previous or later versions.

> maven java2wsdl and wsdl2code plugins do not work
> -------------------------------------------------
>
>                 Key: AXIS2-2675
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2675
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.3, 1.2, 1.1
>            Reporter: Michael Lake
>            Assignee: Deepal Jayasinghe
>            Priority: Critical
>
> HERE IS THE ERROR:
> mlake@mlake-desktop:~/service$ mvn wsdl2code:wsdl2code
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'wsdl2code'.
> [INFO] artifact org.apache.axis2.maven2:axis2-wsdl2code-maven-plugin: checking for updates from maven.snapshots
> [INFO] artifact org.apache.axis2.maven2:axis2-wsdl2code-maven-plugin: checking for updates from central
> Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/axis2/maven2/axis2-wsdl2code-maven-plugin/1.1/axis2-wsdl2code-maven-plugin-1.1.pom
> 2K downloaded
> Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/axis2/maven2/axis2-maven-tools/1.1/axis2-maven-tools-1.1.pom
> [WARNING] Unable to get resource 'org.apache.axis2.maven2:axis2-maven-tools:pom:1.1' from repository maven.snapshots (http://people.apache.org/maven-snapshot-repository)
> Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/axis2/maven2/axis2-maven-tools/1.1/axis2-maven-tools-1.1.pom
> 3K downloaded
> Downloading: http://repo1.maven.org/maven//org.apache.axis2/poms/axis2-parent-1.1.pom
> 16K downloaded
> Downloading: http://people.apache.org/maven-snapshot-repository/org/apache/axis2/maven2/axis2-wsdl2code-maven-plugin/1.1/axis2-wsdl2code-maven-plugin-1.1.jar
> [WARNING] Unable to get resource 'org.apache.axis2.maven2:axis2-wsdl2code-maven-plugin:maven-plugin:1.1' from repository maven.snapshots (http://people.apache.org/maven-snapshot-repository)
> Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/axis2/maven2/axis2-wsdl2code-maven-plugin/1.1/axis2-wsdl2code-maven-plugin-1.1.jar
> 10K downloaded
> [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: 1 minute 6 seconds
> [INFO] Finished at: Tue May 15 11:29:42 EDT 2007
> [INFO] Final Memory: 1M/3M
> [INFO] ------------------------------------------------------------------------
> THIS IS IN MY POM.XML:
>     <build>
>         <plugins>
>             <plugin>
>                 <groupId>org.apache.axis2.maven2</groupId>
>                 <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>                 <configuration>
>                     <className>com.example.service.StockQuoteService</className>
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <goals>
>                             <goal>java2wsdl</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
>             <plugin>
>                 <groupId>org.apache.axis2.maven2</groupId>
>                 <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
>                 <configuration>
>                     <packageName>com.example.gen</packageName>
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <goals>
>                             <goal>wsdl2code</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
>         </plugins>
>     </build>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org