[ 
https://issues.apache.org/jira/browse/AXIS2-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hellmut Adolphs resolved AXIS2-3255.
------------------------------------

    Resolution: Fixed

this issue was due to the differences in the group ids between versions... at 
the same time its because the plugin is not available in certain 
repositories... once we found the plug-in and set group id and artifact id as 
it should be it worked.  I am attaching proper configuration because its WRONG 
in the documentation in the axis2 wsdl2code website:

 <plugin> 
            <groupId>org.apache.axis2</groupId> 
            <artifactId>axis2-wsdl2code-maven-plugin</artifactId> 
            <version>1.3</version> 
            <executions> 
              <execution> 
                <goals> 
                  <goal>wsdl2code</goal> 
                </goals>        
              <configuration> 
                 <packageName>com.your.package</packageName> 
                 <wsdlFile>src/main/wsdl/yourfile.wsdl</wsdlFile> 
                 <databindingName>xmlbeans</databindingName>  <!-- or whatever 
you need -->
                </configuration> 
              </execution> 
            </executions> 
    </plugin>

Remember the configuration goes inside execution, not inside plug-in nor inside 
executions.

> maven2 wsdl2code plugin does not work
> -------------------------------------
>
>                 Key: AXIS2-3255
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3255
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen, deployment, Tools, wsdl
>    Affects Versions: 1.3, 1.2, 1.1.1, 1.1
>         Environment: WINDOWS XP Pro (cygwin, command line and Eclipse tested)
> Java 1.4 
>            Reporter: Hellmut Adolphs
>            Priority: Blocker
>
> We are consistently getting this error in our build following the 
> documentation:
> POM Entry:
> <plugin>
>   <groupId>org.apache.axis2.maven2</groupId>
>   <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
>   <executions>
>     <execution>
>       <goals>
>         <goal>wsdl2code</goal>
>       </goals>
>     </execution>
>   </executions>
>   <configuration>
>     <wsdlFile>src/main/axis2/aps.wsdl</wsdlFile>
>   </configuration>
> </plugin>
>  
>  
>  
>  
> Run:
> [WDCA0026030:~/workspaces/workspace/myproject] % 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 centr
> al
> Downloading: 
> http://***************/repository//org/apache/axis2/maven2/axis2-wsdl2code-maven-plugin/
> 1.1/axis2-wsdl2code-maven-plugin-1.1.pom
> 2K downloaded
> Downloading: 
> http://***************//repository//org/apache/axis2/maven2/axis2-maven-tools/1.1/axis2-m
> aven-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://***************//repository//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: 3 seconds
> [INFO] Finished at: Thu Oct 04 10:48:30 EDT 2007
> [INFO] Final Memory: 1M/63M

-- 
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]

Reply via email to