Asif, > I was asked to run and paste the mvn -X wsdl2code:wsdl2code > output. Here is the same:
Thanks for the requested output. I think I found what is wrong in your setup. 1) Your POM (first mail): ---- <project> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.axis2</groupId> <artifactId>axis2-wsdl2code-maven-plugin</artifactId> <version>2</version> <build> <plugins> <plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-wsdl2code-maven-plugin</artifactId> <version>1.4</version> <executions> <execution> <goals> <goal>wsdl2code</goal> </goals> <configuration> <packageName>com.mblox.soap.paymentapi</packageName> <wsdlFile>payment.wsdl</wsdlFile> </configuration> </execution> </executions> </plugin> </plugins> </build> </project> ---- What is your intent? Is this really the axis2-wsdl2code-maven-plugin you are developping or do you just want to use the plugin in your project? You are using the same groupId and artifactId for your module and together with it, you list it as a build plugin. If you just want to use the plugin, please change the groupId and artifactId of your own POM to something else. The section of the build plugin seems OK. 2) Now you still got an error. This is because you specified too much on your command line. If the plugin is correctly implemented, you just have to invoke "mvn deploy" and the appropriate actions will be executed automatically. So why did you get the error? You specified "wsdl2code:wsdl2code" on the command line. Maven2 will try to resolve the goal prefix wsdl2code to a plugin. I don't know the exact implementation of this resolving mechanism, but one thing it at least tries is to pre- and postfix your "wsdl2code" with some default parts. In the end you get "maven-wsdl2code-plugin" and this plugin gets resolved in the org.apache.maven.plugins and org.codehaus.plugins groupIds. In neither of these groupIds does this plugin exist. So fix the project information of your own pom and just run "mvn install" or "mvn deploy" and you should be fine. Ringo ************************************************************* Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie bevatten die vertrouwelijk is en/of beschermd door intellectuele eigendomsrechten. Dit bericht is uitsluitend bestemd voor de geadresseerde(n). Elk gebruik van de informatie vervat in dit bericht (waaronder de volledige of gedeeltelijke reproductie of verspreiding onder elke vorm) door andere personen dan de geadresseerde(n) is verboden. Indien u dit bericht per vergissing heeft ontvangen, gelieve de afzender hiervan te verwittigen en dit bericht te verwijderen. This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the addressees. Any use of the information contained herein (including but not limited to total or partial reproduction or distribution in any form) by other persons than the addressees is prohibited. If you have received this e-mail in error, please notify the sender and delete its contents. Ce courriel et les annexes éventuelles peuvent contenir des informations confidentielles et/ou protégées par des droits de propriété intellectuelle. Ce message est adressé exclusivement à son (ses) destinataire(s). Toute utilisation du contenu de ce message (y compris la reproduction ou diffusion partielle ou complète sous toute forme) par une autre personne que le(s) destinataire(s) est formellement interdite. Si vous avez reçu ce message par erreur, veuillez prévenir l'expéditeur du message et en détruire le contenu. ************************************************************* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]