[
https://issues.apache.org/jira/browse/AXIS2-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512729
]
TMV commented on AXIS2-2675:
----------------------------
I'm getting the same error using plugin version 1.2 plugin with a different
groupId/artifactId
pom.xml:
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-java2wsdl-maven-plugin</artifactId>
<version>1.2</version>
<configuration>
<className>foo.MyService</className>
</configuration>
<executions>
<execution>
<goals>
<goal>java2wsdl</goal>
</goals>
</execution>
</executions>
</plugin>
>mvn java2wsdl:java2wsdl
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'java2wsdl'.
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-java2wsdl-maven-plugin/1.2/axis2-j
ava2wsdl-maven-plugin-1.2.pom
2K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-parent/1.2/axis2-parent-1.2.pom
26K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-java2wsdl-maven-plugin/1.2/axis2-j
ava2wsdl-maven-plugin-1.2.jar
5K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.2/axis2-aar-mav
en-plugin-1.2.pom
2K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.2/axis2-aar-mav
en-plugin-1.2.jar
12K downloaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-java2wsdl-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: 7 seconds
[INFO] Finished at: Sat Jul 14 11:58:38 PDT 2007
[INFO] Final Memory: 2M/4M
[INFO] ------------------------------------------------------------------------
> 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.2
> Reporter: Michael Lake
> Assignee: Deepal Jayasinghe
> Priority: Critical
>
> HERE IS THE ERROR:
> [EMAIL PROTECTED]:~/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]