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 "Hudson (JIRA)" <ji...@apache.org> on 2016/01/27 23:06:40 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=15120254#comment-15120254 ] 

Hudson commented on AXIS2-2675:
-------------------------------

SUCCESS: Integrated in Axis2 #3230 (See [https://builds.apache.org/job/Axis2/3230/])
Don't advertise the possibility to run the axis2-wsdl2code-maven-plugin from the command line. It should generally be run as part of the normal build (except maybe to generate test cases), and the instructions given in the documentation only cause confusion; see e.g. AXIS2-3585, AXIS2-2675 and AXIS2-3255. (veithen: rev 1727177)
* axis2/modules/tool/axis2-wsdl2code-maven-plugin/src/site/markdown/usage.md


> maven java2wsdl and wsdl2code plugins do not work
> -------------------------------------------------
>
>                 Key: AXIS2-2675
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2675
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1, 1.2, 1.3
>            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 was sent by Atlassian JIRA
(v6.3.4#6332)

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