Hi, I was following the tutorial[1] and successfully installed the server instance to carbon.
157 ACTIVE wsdl4j_1.6.2.wso2v4 158 ACTIVE wss4j_1.5.11.wso2v6 159 ACTIVE xmlbeans_2.3.0.wso2v1 160 ACTIVE org.wso2.carbon.student.mgt_4.2.0 when I tried to generate client stubs I'm getting the following error. I have already copied the wsdl file also to the required location as per the tutorial. Suhans-MacBook-Pro:org.wso2.carbon.student.mgt.stub suhanr$ mvn clean install [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.carbon:org.wso2.carbon.student.mgt.stub:bundle:4.2.0 [WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @ org.wso2.carbon:org.wso2.carbon.student.mgt.stub:[unknown-version], /WSO2/Training/FastTrack/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/pom.xml, line 85, column 21 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ org.wso2.carbon:org.wso2.carbon.student.mgt.stub:[unknown-version], /WSO2/Training/FastTrack/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/pom.xml, line 66, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building WSO2 Carbon - Student Manager Stub 4.2.0 [INFO] ------------------------------------------------------------------------ Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/maven-metadata.xml Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/maven-metadata.xml (604 B at 0.5 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.9/build-helper-maven-plugin-1.9.pom Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.9/build-helper-maven-plugin-1.9.pom (7 KB at 10.8 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/33/mojo-parent-33.pom Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/33/mojo-parent-33.pom (26 KB at 27.5 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom (5 KB at 7.6 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.9/build-helper-maven-plugin-1.9.jar Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.9/build-helper-maven-plugin-1.9.jar (46 KB at 44.2 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom (2 KB at 1.7 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom (8 KB at 11.6 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar (12 KB at 18.8 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/axis2/wso2/axis2/1.6.1.wso2v10/axis2-1.6.1.wso2v10.pom [WARNING] The POM for org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v10 is missing, no dependency information available Downloading: http://repo.maven.apache.org/maven2/org/apache/ws/commons/axiom/wso2/axiom/1.2.11.wso2v4/axiom-1.2.11.wso2v4.pom [WARNING] The POM for org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v4 is missing, no dependency information available Downloading: http://repo.maven.apache.org/maven2/wsdl4j/wso2/wsdl4j/1.6.2.wso2v4/wsdl4j-1.6.2.wso2v4.pom [WARNING] The POM for wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v4 is missing, no dependency information available Downloading: http://repo.maven.apache.org/maven2/org/apache/axis2/wso2/axis2/1.6.1.wso2v10/axis2-1.6.1.wso2v10.jar Downloading: http://repo.maven.apache.org/maven2/org/apache/ws/commons/axiom/wso2/axiom/1.2.11.wso2v4/axiom-1.2.11.wso2v4.jar Downloading: http://repo.maven.apache.org/maven2/wsdl4j/wso2/wsdl4j/1.6.2.wso2v4/wsdl4j-1.6.2.wso2v4.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.441 s [INFO] Finished at: 2014-08-25T09:47:17+05:30 [INFO] Final Memory: 11M/156M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project org.wso2.carbon.student.mgt.stub: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.student.mgt.stub:bundle:4.2.0: The following artifacts could not be resolved: org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v10, org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v4, wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v4: Could not find artifact org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v10 in central ( http://repo.maven.apache.org/maven2) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException Please be kind enough to provide a direction to proceed from here. [1] http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/ Thanks and Regards, -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 86913
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev