Hi Thusara,

According to this thread[1]. you should add axis2-client jar dependency to
your pom.

[1]http://mail.wso2.org/mailarchive/dev/2013-November/024907.html


On Mon, Aug 25, 2014 at 12:24 PM, Thushara Ranawaka <[email protected]>
wrote:

> After adding the repository xml code to the stub pom.xml I got the
> following log file which include a error message. Currently im using mvn
> 3.2.3 and i tried to get rid from the error by using mvn 3.0.5 but still it
> prints the error log. can someone help me on this.
>
> Thusharas-MacBook-Pro:org.wso2.carbon.student.mgt.stub thushara$ mvn clean
> install -e
>
> [INFO] Error stacktraces are turned on.
>
> [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. @ line 70, column 21
>
> [WARNING] 'build.plugins.plugin.version' for
> org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 51, 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 org.wso2.carbon.student.mgt.stub 4.2.0
>
> [INFO]
> ------------------------------------------------------------------------
>
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
>
> Downloaded:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
> (5 KB at 2.9 KB/sec)
>
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom
>
> Downloaded:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom
> (13 KB at 21.2 KB/sec)
>
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom
>
> Downloaded:
> http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom
> (23 KB at 26.1 KB/sec)
>
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/apache/7/apache-7.pom
>
> Downloaded:
> http://repo.maven.apache.org/maven2/org/apache/apache/7/apache-7.pom (15
> KB at 9.9 KB/sec)
>
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.jar
>
> Downloaded:
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.jar
> (23 KB at 24.4 KB/sec)
>
> [INFO]
>
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
> org.wso2.carbon.student.mgt.stub ---
>
> [INFO] Deleting
> /Users/thushara/Documents/workspaceluna/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target
>
> [INFO]
>
> [INFO] --- build-helper-maven-plugin:1.9:add-source (add-source) @
> org.wso2.carbon.student.mgt.stub ---
>
> [INFO] Source directory:
> /Users/thushara/Documents/workspaceluna/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target/generated-code/src
> added.
>
> [INFO]
>
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> org.wso2.carbon.student.mgt.stub ---
>
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>
> [INFO] Copying 1 resource
>
> [INFO]
>
> [INFO] --- maven-antrun-plugin:1.1:run (source-code-generation) @
> org.wso2.carbon.student.mgt.stub ---
>
> [INFO] Executing tasks
>
>      [java] Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/wsdl/WSDLException
>
>      [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>
>      [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>
>      [java] Caused by: java.lang.ClassNotFoundException:
> javax.wsdl.WSDLException
>
>      [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>
>      [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>
>      [java] at java.security.AccessController.doPrivileged(Native Method)
>
>      [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>
>      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>
>      [java] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>
>      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>
>      [java] ... 2 more
>
>      [java] Java Result: 1
>
> [INFO] Executed tasks
>
> [INFO]
>
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
> org.wso2.carbon.student.mgt.stub ---
>
> [INFO] Changes detected - recompiling the module!
>
> [INFO] Compiling 1 source file to
> /Users/thushara/Documents/workspaceluna/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target/classes
>
> [INFO]
>
> [INFO] --- maven-resources-plugin:2.6:testResources
> (default-testResources) @ org.wso2.carbon.student.mgt.stub ---
>
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>
> [INFO] skip non existing resourceDirectory
> /Users/thushara/Documents/workspaceluna/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/src/test/resources
>
> [INFO]
>
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
> org.wso2.carbon.student.mgt.stub ---
>
> [INFO] Changes detected - recompiling the module!
>
> [INFO] Compiling 1 source file to
> /Users/thushara/Documents/workspaceluna/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target/test-classes
>
> [INFO]
>
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @
> org.wso2.carbon.student.mgt.stub ---
>
> [INFO] Surefire report directory:
> /Users/thushara/Documents/workspaceluna/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target/surefire-reports
>
>
> -------------------------------------------------------
>
>  T E S T S
>
> -------------------------------------------------------
>
> Running org.org.wso2.carbon.student.mgt.stub.AppTest
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
> - in org.org.wso2.carbon.student.mgt.stub.AppTest
>
>
> Results :
>
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
>
>
> [INFO]
>
> [INFO] --- maven-bundle-plugin:2.5.0:bundle (default-bundle) @
> org.wso2.carbon.student.mgt.stub ---
>
> [WARNING] Bundle
> org.wso2.carbon:org.wso2.carbon.student.mgt.stub:bundle:4.2.0 : Unused
> Export-Package instructions: [org.wso2.carbon.student.mgt.*]
>
> [INFO]
>
> [INFO] --- maven-install-plugin:2.5.1:install (default-install) @
> org.wso2.carbon.student.mgt.stub ---
>
> [INFO] Installing
> /Users/thushara/Documents/workspaceluna/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target/org.wso2.carbon.student.mgt.stub-4.2.0.jar
> to
> /Users/thushara/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt.stub/4.2.0/org.wso2.carbon.student.mgt.stub-4.2.0.jar
>
> [INFO] Installing
> /Users/thushara/Documents/workspaceluna/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/pom.xml
> to
> /Users/thushara/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt.stub/4.2.0/org.wso2.carbon.student.mgt.stub-4.2.0.pom
>
> [INFO]
>
> [INFO] --- maven-bundle-plugin:2.5.0:install (default-install) @
> org.wso2.carbon.student.mgt.stub ---
>
> [INFO] Installing
> org/wso2/carbon/org.wso2.carbon.student.mgt.stub/4.2.0/org.wso2.carbon.student.mgt.stub-4.2.0.jar
>
> [INFO] Writing OBR metadata
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD SUCCESS
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 8.935s
>
> [INFO] Finished at: Mon Aug 25 12:14:50 IST 2014
>
> [INFO] Final Memory: 17M/51M
>
> [INFO]
> ------------------------------------------------------------------------
>
>
> On Mon, Aug 25, 2014 at 11:06 AM, Suhan Dharmasuriya <[email protected]>
> wrote:
>
>> Hi Rajith/Chamila/Thushara,
>>
>> Thanks a lot. It is working now. :)
>>
>>  Thanks and Regards,
>> Suhan
>>
>>
>> On Mon, Aug 25, 2014 at 10:59 AM, Thushara Ranawaka <[email protected]>
>> wrote:
>>
>>> Thanx rajith aiya.,.:) *now working
>>>
>>>
>>> On Mon, Aug 25, 2014 at 10:50 AM, Rajith Vitharana <[email protected]>
>>> wrote:
>>>
>>>> Hi Suhan,Thushara,
>>>>
>>>> Add following repositories to the pom.xml file and build it again.
>>>>
>>>> <repositories>
>>>>         <repository>
>>>>             <id>wso2-nexus</id>
>>>>             <name>WSO2 internal Repository</name>
>>>>             <url>
>>>> http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
>>>>             <releases>
>>>>                 <enabled>true</enabled>
>>>>                 <updatePolicy>daily</updatePolicy>
>>>>                 <checksumPolicy>ignore</checksumPolicy>
>>>>             </releases>
>>>>         </repository>
>>>>     </repositories>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> On Mon, Aug 25, 2014 at 10:49 AM, Thushara Ranawaka <[email protected]
>>>> > wrote:
>>>>
>>>>> I got the same issue, Im attaching the full log trance and adding
>>>>> training mail group as well.
>>>>> Could somebody help us?
>>>>>
>>>>> Thusharas-MacBook-Pro:org.wso2.carbon.student.mgt.stub thushara$* mvn
>>>>> clean install -e*
>>>>>
>>>>> [INFO] Error stacktraces are turned on.
>>>>>
>>>>> [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. @ line 70, column 21
>>>>>
>>>>> [WARNING] 'build.plugins.plugin.version' for
>>>>> org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 51, 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 org.wso2.carbon.student.mgt.stub 4.2.0
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> Downloading:
>>>>> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
>>>>>
>>>>> Downloaded:
>>>>> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.pom
>>>>> (2 KB at 0.2 KB/sec)
>>>>>
>>>>> Downloading:
>>>>> https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0.1/maven-plugin-parent-2.0.1.pom
>>>>>
>>>>> Downloaded:
>>>>> https://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.8 KB/sec)
>>>>>
>>>>> Downloading:
>>>>> https://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:
>>>>> https://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:
>>>>> https://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:
>>>>> https://repo.maven.apache.org/maven2/org/apache/axis2/wso2/axis2/1.6.1.wso2v10/axis2-1.6.1.wso2v10.jar
>>>>>
>>>>> Downloading:
>>>>> https://repo.maven.apache.org/maven2/org/apache/ws/commons/axiom/wso2/axiom/1.2.11.wso2v4/axiom-1.2.11.wso2v4.jar
>>>>>
>>>>> Downloading:
>>>>> https://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.586 s
>>>>>
>>>>> [INFO] Finished at: 2014-08-25T10:38:19+05:30
>>>>>
>>>>> [INFO] Final Memory: 10M/24M
>>>>>
>>>>> [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 (
>>>>> https://repo.maven.apache.org/maven2) -> [Help 1]
>>>>>
>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: 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 (
>>>>> https://repo.maven.apache.org/maven2)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
>>>>>
>>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
>>>>>
>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
>>>>>
>>>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
>>>>>
>>>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>>>>>
>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>>>>>
>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>
>>>>> at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>>
>>>>> at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>>
>>>>> at java.lang.reflect.Method.invoke(Method.java:601)
>>>>>
>>>>> at
>>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>>>>>
>>>>> at
>>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>>>>
>>>>> at
>>>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>>>>>
>>>>> at
>>>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>>>>>
>>>>> Caused by: org.apache.maven.project.DependencyResolutionException:
>>>>> 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 (
>>>>> https://repo.maven.apache.org/maven2)
>>>>>
>>>>> at
>>>>> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
>>>>>
>>>>> ... 22 more
>>>>>
>>>>> Caused by:
>>>>> org.eclipse.aether.resolution.DependencyResolutionException: 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 (
>>>>> https://repo.maven.apache.org/maven2)
>>>>>
>>>>> at
>>>>> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
>>>>>
>>>>> at
>>>>> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192)
>>>>>
>>>>> ... 23 more
>>>>>
>>>>> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
>>>>> 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 (
>>>>> https://repo.maven.apache.org/maven2)
>>>>>
>>>>> at
>>>>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
>>>>>
>>>>> at
>>>>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
>>>>>
>>>>> at
>>>>> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
>>>>>
>>>>> ... 24 more
>>>>>
>>>>> Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException:
>>>>> Could not find artifact org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v10 in
>>>>> central (https://repo.maven.apache.org/maven2)
>>>>>
>>>>> at
>>>>> org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1012)
>>>>>
>>>>> at
>>>>> org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)
>>>>>
>>>>> at
>>>>> org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725)
>>>>>
>>>>> at
>>>>> org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
>>>>>
>>>>> at
>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>>>>
>>>>> at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>>>>
>>>>> at java.lang.Thread.run(Thread.java:722)
>>>>>
>>>>> [ERROR]
>>>>>
>>>>> [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
>>>>>
>>>>>
>>>>> On Mon, Aug 25, 2014 at 10:45 AM, Suhan Dharmasuriya <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> 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
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thushara Kasun Ranawaka
>>>>> Software Engineer
>>>>> WSO2 Inc.; <http://www.wso2.com>
>>>>> lean.enterprise.middleware
>>>>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>>>>> *[email protected] <[email protected]>*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Rajith Vitharana
>>>>
>>>> Software Engineer,
>>>> WSO2 Inc. : wso2.com
>>>> Mobile : +94715883223
>>>> Blog : http://lankavitharana.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Thushara Kasun Ranawaka
>>> Software Engineer
>>> WSO2 Inc.; <http://www.wso2.com>
>>> lean.enterprise.middleware
>>> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
>>> *[email protected] <[email protected]>*
>>>
>>
>>
>>
>> --
>> Suhan Dharmasuriya
>> Software Engineer - Test Automation
>>
>> *WSO2, Inc. *
>>
>> lean . enterprise . middleware
>> Tel: +94 112 145345
>> Mob: +94 779 869138
>>
>
>
>
> --
> Thushara Kasun Ranawaka
> Software Engineer
> WSO2 Inc.; <http://www.wso2.com>
> lean.enterprise.middleware
> Mobile : *+94 (0) 773438949 <%2B94%20%280%29%20773438949>*
> *[email protected] <[email protected]>*
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lakshman Udayakantha
Software Engineer, WSO2
Mobile: *0711241005*

*[email protected] <[email protected]>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to