Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
Hi , Today i got a full trunk update and got a build failure when building service stubs which is $subject . Here is the error log. [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1.972s [INFO] Finished at: Tue Jan 17 17:55:50 IST 2012 [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)]: Failed to read artifact descriptor for org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4: Failure to find org.wso2.carbon:carbon-platform:pom:4.0.0-SNAPSHOT in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)] at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)] at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:139) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171) ... 22 more Caused by: org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile),
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
On Tue, Jan 17, 2012 at 6:21 PM, Subash Chaturanga sub...@wso2.com wrote: Hi , Today i got a full trunk update and got a build failure when building service stubs which is $subject . Hi Subash, The conclusion we came up was that either trunk should be built from root, or you need to manually copy the carbon-platform pom to the relevant directory in M2 repo. I think this issue was surfaced again because the trunk project.version got upgraded to 4.0.0-SNAPSHOT from 3.2.0-SNAPSHOT. Regards, --KasunG Here is the error log. [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1.972s [INFO] Finished at: Tue Jan 17 17:55:50 IST 2012 [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)]: Failed to read artifact descriptor for org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4: Failure to find org.wso2.carbon:carbon-platform:pom:4.0.0-SNAPSHOT in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)] at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)] at
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
Got the same error. Building from root solved the problem. On Tue, Jan 17, 2012 at 7:20 PM, Afkham Azeez az...@wso2.com wrote: If pom relative paths are properly defined, you will not see this error -- Afkham Azeez Sent from my phone On Jan 17, 2012 6:36 PM, KasunG Gajasinghe kas...@wso2.com wrote: On Tue, Jan 17, 2012 at 6:21 PM, Subash Chaturanga sub...@wso2.com wrote: Hi , Today i got a full trunk update and got a build failure when building service stubs which is $subject . Hi Subash, The conclusion we came up was that either trunk should be built from root, or you need to manually copy the carbon-platform pom to the relevant directory in M2 repo. I think this issue was surfaced again because the trunk project.version got upgraded to 4.0.0-SNAPSHOT from 3.2.0-SNAPSHOT. Regards, --KasunG Here is the error log. [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1.972s [INFO] Finished at: Tue Jan 17 17:55:50 IST 2012 [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)]: Failed to read artifact descriptor for org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4: Failure to find org.wso2.carbon:carbon-platform:pom:4.0.0-SNAPSHOT in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)] at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile),
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
We can use -N option to skip building sub projects. -N,--non-recursive Do not recurse into sub-projects Regards Buddhika On Tue, Jan 17, 2012 at 7:06 PM, KasunG Gajasinghe kas...@wso2.com wrote: On Tue, Jan 17, 2012 at 6:21 PM, Subash Chaturanga sub...@wso2.comwrote: Hi , Today i got a full trunk update and got a build failure when building service stubs which is $subject . Hi Subash, The conclusion we came up was that either trunk should be built from root, or you need to manually copy the carbon-platform pom to the relevant directory in M2 repo. I think this issue was surfaced again because the trunk project.version got upgraded to 4.0.0-SNAPSHOT from 3.2.0-SNAPSHOT. Regards, --KasunG Here is the error log. [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1.972s [INFO] Finished at: Tue Jan 17 17:55:50 IST 2012 [INFO] Final Memory: 18M/490M [INFO] [ERROR] Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)]: Failed to read artifact descriptor for org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4: Failure to find org.wso2.carbon:carbon-platform:pom:4.0.0-SNAPSHOT in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)] at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:4.0.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v4 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile),
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
Building from the carbon root should add the platform pom to the m2 repo .. On Tue, Dec 6, 2011 at 2:49 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi, I faced the following issue when building carbon/service-stubs/ with Maven 3.0.3, and a fresh repo. The log is given below. This error is not produced in Maven 2. As I found out, the issue was that Maven3 doesn't identify the carbon root pom, ie. org.wso2.carbon:carbon-platform. A workaround for this problem is to build the carbon root pom first with all the module declarations in its pom.xml commented out. And then, remove the added comments in the copied carbon-platform pom in the M2 repo. But I think this needs to be fixed to minimize this inconvenience, and isn't straight-forward for a new builder. Thanks, --Kasun [INFO] [INFO] [INFO] Building WSO2 Carbon - Service Stubs - Aggregator Module 3.2.0-SNAPSHOT [INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... FAILURE [1.273s] [INFO] WSO2 Carbon - Stratos Common Stubs SKIPPED [INFO] WSO2 Carbon - Tenant Registration GApp Stub ... SKIPPED [INFO] WSO2 Carbon - Data Admin Console Stub . SKIPPED --- --- [INFO] WSO2 Carbon - Qpid Stub ... SKIPPED [INFO] WSO2 Carbon - Tenant activity Stub SKIPPED [INFO] WSO2 Carbon - Load Balance Agent Stub . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.870s [INFO] Finished at: Tue Dec 06 14:23:26 IST 2011 [INFO] Final Memory: 19M/618M [INFO] [ERROR] Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)]: Failed to read artifact descriptor for org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1: *Could not find artifact org.wso2.carbon:carbon-platform:pom:3.2.0-SNAPSHOT *in wso2-nexus ( http://maven.wso2.org/nexus/content/groups/wso2-public/) - [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 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Shariq. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
Hi, On Tue, Dec 6, 2011 at 3:05 PM, Muhammed Shariq sha...@wso2.com wrote: Building from the carbon root should add the platform pom to the m2 repo .. With maven3, can we build the trunk from carbon root pom for the first time with fresh repo? Thanks, Kishanthan. On Tue, Dec 6, 2011 at 2:49 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi, I faced the following issue when building carbon/service-stubs/ with Maven 3.0.3, and a fresh repo. The log is given below. This error is not produced in Maven 2. As I found out, the issue was that Maven3 doesn't identify the carbon root pom, ie. org.wso2.carbon:carbon-platform. A workaround for this problem is to build the carbon root pom first with all the module declarations in its pom.xml commented out. And then, remove the added comments in the copied carbon-platform pom in the M2 repo. But I think this needs to be fixed to minimize this inconvenience, and isn't straight-forward for a new builder. Thanks, --Kasun [INFO] [INFO] [INFO] Building WSO2 Carbon - Service Stubs - Aggregator Module 3.2.0-SNAPSHOT [INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... FAILURE [1.273s] [INFO] WSO2 Carbon - Stratos Common Stubs SKIPPED [INFO] WSO2 Carbon - Tenant Registration GApp Stub ... SKIPPED [INFO] WSO2 Carbon - Data Admin Console Stub . SKIPPED --- --- [INFO] WSO2 Carbon - Qpid Stub ... SKIPPED [INFO] WSO2 Carbon - Tenant activity Stub SKIPPED [INFO] WSO2 Carbon - Load Balance Agent Stub . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.870s [INFO] Finished at: Tue Dec 06 14:23:26 IST 2011 [INFO] Final Memory: 19M/618M [INFO] [ERROR] Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)]: Failed to read artifact descriptor for org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1: *Could not find artifact org.wso2.carbon:carbon-platform:pom:3.2.0-SNAPSHOT *in wso2-nexus ( http://maven.wso2.org/nexus/content/groups/wso2-public/) - [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 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Shariq. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
Hi, As a workaround for this you can copy the carbon-platform pom from carbon/components in to your m2 repo. Go to carbon/components and copy the pom to m2 repo in the following manner. cp pom.xml ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom Hope this helps. Regards, Dileepa On Tue, Dec 6, 2011 at 2:49 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi, I faced the following issue when building carbon/service-stubs/ with Maven 3.0.3, and a fresh repo. The log is given below. This error is not produced in Maven 2. As I found out, the issue was that Maven3 doesn't identify the carbon root pom, ie. org.wso2.carbon:carbon-platform. A workaround for this problem is to build the carbon root pom first with all the module declarations in its pom.xml commented out. And then, remove the added comments in the copied carbon-platform pom in the M2 repo. But I think this needs to be fixed to minimize this inconvenience, and isn't straight-forward for a new builder. Thanks, --Kasun [INFO] [INFO] [INFO] Building WSO2 Carbon - Service Stubs - Aggregator Module 3.2.0-SNAPSHOT [INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... FAILURE [1.273s] [INFO] WSO2 Carbon - Stratos Common Stubs SKIPPED [INFO] WSO2 Carbon - Tenant Registration GApp Stub ... SKIPPED [INFO] WSO2 Carbon - Data Admin Console Stub . SKIPPED --- --- [INFO] WSO2 Carbon - Qpid Stub ... SKIPPED [INFO] WSO2 Carbon - Tenant activity Stub SKIPPED [INFO] WSO2 Carbon - Load Balance Agent Stub . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.870s [INFO] Finished at: Tue Dec 06 14:23:26 IST 2011 [INFO] Final Memory: 19M/618M [INFO] [ERROR] Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)]: Failed to read artifact descriptor for org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1: *Could not find artifact org.wso2.carbon:carbon-platform:pom:3.2.0-SNAPSHOT *in wso2-nexus ( http://maven.wso2.org/nexus/content/groups/wso2-public/) - [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 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
On Tue, Dec 6, 2011 at 3:52 PM, Dileepa Jayakody dile...@wso2.com wrote: Hi, As a workaround for this you can copy the carbon-platform pom from carbon/components in to your m2 repo. Go to carbon/components and copy the pom to m2 repo in the following manner. cp pom.xml ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom Hope this helps. Yes, this is the method I used. But, first I had to manually create the directory structure by `mkdir -p ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/`. Then, copied the pom using the above command you just said. The workaround in the previous mail was somewhat easier because even the editing of the pom at m2 repo is optional. Lot of guys are having this issue. Thanks, --Kasun Regards, Dileepa On Tue, Dec 6, 2011 at 2:49 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi, I faced the following issue when building carbon/service-stubs/ with Maven 3.0.3, and a fresh repo. The log is given below. This error is not produced in Maven 2. As I found out, the issue was that Maven3 doesn't identify the carbon root pom, ie. org.wso2.carbon:carbon-platform. A workaround for this problem is to build the carbon root pom first with all the module declarations in its pom.xml commented out. And then, remove the added comments in the copied carbon-platform pom in the M2 repo. But I think this needs to be fixed to minimize this inconvenience, and isn't straight-forward for a new builder. Thanks, --Kasun [INFO] [INFO] [INFO] Building WSO2 Carbon - Service Stubs - Aggregator Module 3.2.0-SNAPSHOT [INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... FAILURE [1.273s] [INFO] WSO2 Carbon - Stratos Common Stubs SKIPPED [INFO] WSO2 Carbon - Tenant Registration GApp Stub ... SKIPPED [INFO] WSO2 Carbon - Data Admin Console Stub . SKIPPED --- --- [INFO] WSO2 Carbon - Qpid Stub ... SKIPPED [INFO] WSO2 Carbon - Tenant activity Stub SKIPPED [INFO] WSO2 Carbon - Load Balance Agent Stub . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.870s [INFO] Finished at: Tue Dec 06 14:23:26 IST 2011 [INFO] Final Memory: 19M/618M [INFO] [ERROR] Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)]: Failed to read artifact descriptor for org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1: *Could not find artifact org.wso2.carbon:carbon-platform:pom:3.2.0-SNAPSHOT *in wso2-nexus ( http://maven.wso2.org/nexus/content/groups/wso2-public/) - [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 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
On Tue, Dec 6, 2011 at 3:18 PM, Kishanthan Thangarajah kishant...@wso2.comwrote: Hi, On Tue, Dec 6, 2011 at 3:05 PM, Muhammed Shariq sha...@wso2.com wrote: Building from the carbon root should add the platform pom to the m2 repo .. Yes, but we couldn't build carbon from root. So, had to build the top-level sub-projects separately; hence the issue. Thanks, --Kasun With maven3, can we build the trunk from carbon root pom for the first time with fresh repo? Thanks, Kishanthan. On Tue, Dec 6, 2011 at 2:49 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi, I faced the following issue when building carbon/service-stubs/ with Maven 3.0.3, and a fresh repo. The log is given below. This error is not produced in Maven 2. As I found out, the issue was that Maven3 doesn't identify the carbon root pom, ie. org.wso2.carbon:carbon-platform. A workaround for this problem is to build the carbon root pom first with all the module declarations in its pom.xml commented out. And then, remove the added comments in the copied carbon-platform pom in the M2 repo. But I think this needs to be fixed to minimize this inconvenience, and isn't straight-forward for a new builder. Thanks, --Kasun [INFO] [INFO] [INFO] Building WSO2 Carbon - Service Stubs - Aggregator Module 3.2.0-SNAPSHOT [INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... FAILURE [1.273s] [INFO] WSO2 Carbon - Stratos Common Stubs SKIPPED [INFO] WSO2 Carbon - Tenant Registration GApp Stub ... SKIPPED [INFO] WSO2 Carbon - Data Admin Console Stub . SKIPPED --- --- [INFO] WSO2 Carbon - Qpid Stub ... SKIPPED [INFO] WSO2 Carbon - Tenant activity Stub SKIPPED [INFO] WSO2 Carbon - Load Balance Agent Stub . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.870s [INFO] Finished at: Tue Dec 06 14:23:26 IST 2011 [INFO] Final Memory: 19M/618M [INFO] [ERROR] Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)]: Failed to read artifact descriptor for org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1: *Could not find artifact org.wso2.carbon:carbon-platform:pom:3.2.0-SNAPSHOT *in wso2-nexus ( http://maven.wso2.org/nexus/content/groups/wso2-public/) - [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 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Thanks, Shariq. ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
Ideally if you trigger a build from the root level then the root pom would be copied to the m2 repo. However I tried that approach with Sanjeew now and it seems this is not happening now. I checked the pom files but couldn't find any obvious issue, Pradeep/Harshana any idea what could be the issue? On Tue, Dec 6, 2011 at 4:09 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Tue, Dec 6, 2011 at 3:52 PM, Dileepa Jayakody dile...@wso2.com wrote: Hi, As a workaround for this you can copy the carbon-platform pom from carbon/components in to your m2 repo. Go to carbon/components and copy the pom to m2 repo in the following manner. cp pom.xml ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom Hope this helps. Yes, this is the method I used. But, first I had to manually create the directory structure by `mkdir -p ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/`. Then, copied the pom using the above command you just said. The workaround in the previous mail was somewhat easier because even the editing of the pom at m2 repo is optional. Lot of guys are having this issue. Thanks, --Kasun Regards, Dileepa On Tue, Dec 6, 2011 at 2:49 PM, Kasun Gajasinghe kas...@wso2.com wrote: Hi, I faced the following issue when building carbon/service-stubs/ with Maven 3.0.3, and a fresh repo. The log is given below. This error is not produced in Maven 2. As I found out, the issue was that Maven3 doesn't identify the carbon root pom, ie. org.wso2.carbon:carbon-platform. A workaround for this problem is to build the carbon root pom first with all the module declarations in its pom.xml commented out. And then, remove the added comments in the copied carbon-platform pom in the M2 repo. But I think this needs to be fixed to minimize this inconvenience, and isn't straight-forward for a new builder. Thanks, --Kasun [INFO] [INFO] [INFO] Building WSO2 Carbon - Service Stubs - Aggregator Module 3.2.0-SNAPSHOT [INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... FAILURE [1.273s] [INFO] WSO2 Carbon - Stratos Common Stubs SKIPPED [INFO] WSO2 Carbon - Tenant Registration GApp Stub ... SKIPPED [INFO] WSO2 Carbon - Data Admin Console Stub . SKIPPED --- --- [INFO] WSO2 Carbon - Qpid Stub ... SKIPPED [INFO] WSO2 Carbon - Tenant activity Stub SKIPPED [INFO] WSO2 Carbon - Load Balance Agent Stub . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.870s [INFO] Finished at: Tue Dec 06 14:23:26 IST 2011 [INFO] Final Memory: 19M/618M [INFO] [ERROR] Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile), org.apache.ws.commons.schema.wso2:XmlSchema:jar:1.4.7.wso2v1 (compile), commons-logging:commons-logging:jar:1.1.1 (compile), org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v1 (compile)]: Failed to read artifact descriptor for org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1: *Could not find artifact org.wso2.carbon:carbon-platform:pom:3.2.0-SNAPSHOT *in wso2-nexus ( http://maven.wso2.org/nexus/content/groups/wso2-public/) - [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 ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware ___ Carbon-dev mailing list Carbon-dev@wso2.org
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
Hi Guys, I could build service stubs other than *org.wso2.carbon.stratos.common.stub *and *org.wso2.carbon.tenant.register.gapp.stub* successfully. The error message i get when i'm building org.wso2.carbon.stratos.common.stub is: The parents form a cycle: org.wso2.carbon:org.wso2.carbon.stratos.common.stub:3.2.0-SNAPSHOT - org.wso2.carbon:service-stubs:3.2.0-SNAPSHOT - org.wso2.carbon:carbon-platform:3.2.0-SNAPSHOT - org.wso2.carbon:carbon-platform:3.2.0-SNAPSHOT @ org.wso2.carbon:carbon-components:3.2.0-SNAPSHOT and for org.wso2.carbon.tenant.register.gapp.stub is : Failed to execute goal on project org.wso2.carbon.tenant.register.gapp.stub: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.tenant.register.gapp.stub:bundle:3.2.0-SNAPSHOT: Failure to find org.apache.axis2.wso2:axis2-client:jar:1.6.1.wso2v4 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced any idea ? Thanks, On Tue, Dec 6, 2011 at 4:14 PM, Muhammed Shariq sha...@wso2.com wrote: Ideally if you trigger a build from the root level then the root pom would be copied to the m2 repo. However I tried that approach with Sanjeew now and it seems this is not happening now. I checked the pom files but couldn't find any obvious issue, Pradeep/Harshana any idea what could be the issue? On Tue, Dec 6, 2011 at 4:09 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Tue, Dec 6, 2011 at 3:52 PM, Dileepa Jayakody dile...@wso2.comwrote: Hi, As a workaround for this you can copy the carbon-platform pom from carbon/components in to your m2 repo. Go to carbon/components and copy the pom to m2 repo in the following manner.c cp pom.xml ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom Hope this helps. Yes, this is the method I used. But, first I had to manually create the directory structure by `mkdir -p ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/`. Then, copied the pom using the above command you just said. The workaround in the previous mail was somewhat easier because even the editing of the pom at m2 repo is optional. Lot of guys are having this issue. Thanks, --Kasun Regards, Dileepa On Tue, Dec 6, 2011 at 2:49 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi, I faced the following issue when building carbon/service-stubs/ with Maven 3.0.3, and a fresh repo. The log is given below. This error is not produced in Maven 2. As I found out, the issue was that Maven3 doesn't identify the carbon root pom, ie. org.wso2.carbon:carbon-platform. A workaround for this problem is to build the carbon root pom first with all the module declarations in its pom.xml commented out. And then, remove the added comments in the copied carbon-platform pom in the M2 repo. But I think this needs to be fixed to minimize this inconvenience, and isn't straight-forward for a new builder. Thanks, --Kasun [INFO] [INFO] [INFO] Building WSO2 Carbon - Service Stubs - Aggregator Module 3.2.0-SNAPSHOT [INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... FAILURE [1.273s] [INFO] WSO2 Carbon - Stratos Common Stubs SKIPPED [INFO] WSO2 Carbon - Tenant Registration GApp Stub ... SKIPPED [INFO] WSO2 Carbon - Data Admin Console Stub . SKIPPED --- --- [INFO] WSO2 Carbon - Qpid Stub ... SKIPPED [INFO] WSO2 Carbon - Tenant activity Stub SKIPPED [INFO] WSO2 Carbon - Load Balance Agent Stub . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.870s [INFO] Finished at: Tue Dec 06 14:23:26 IST 2011 [INFO] Final Memory: 19M/618M [INFO] [ERROR] Failed to execute goal on project service-stubs: Could not resolve dependencies for project org.wso2.carbon:service-stubs:pom:3.2.0-SNAPSHOT: Failed to collect dependencies for [wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v2 (compile), org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v1 (compile), org.apache.neethi.wso2:neethi:jar:2.0.4.wso2v3 (compile),
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
On Wed, Dec 7, 2011 at 12:48 AM, Suresh Attanayaka sur...@wso2.com wrote: Hi Guys, I could build service stubs other than *org.wso2.carbon.stratos.common.stub *and *org.wso2.carbon.tenant.register.gapp.stub* successfully. The error message i get when i'm building org.wso2.carbon.stratos.common.stub is: The parents form a cycle: org.wso2.carbon:org.wso2.carbon.stratos.common.stub:3.2.0-SNAPSHOT - org.wso2.carbon:service-stubs:3.2.0-SNAPSHOT - org.wso2.carbon:carbon-platform:3.2.0-SNAPSHOT - org.wso2.carbon:carbon-platform:3.2.0-SNAPSHOT @ org.wso2.carbon:carbon-components:3.2.0-SNAPSHOT My build under service-stubs/org.wso2.carbon.stratos.common.stub was successful. I just checked. You haven't change the artifactIds in the POMs, right? If not, I think you need to check the pom inheritance hierarchy (using artifactIds in parent tag) to see where this error comes starting from org.wso2.carbon.stratos.common.stub project. and for org.wso2.carbon.tenant.register.gapp.stub is : Failed to execute goal on project org.wso2.carbon.tenant.register.gapp.stub: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.tenant.register.gapp.stub:bundle:3.2.0-SNAPSHOT: Failure to find org.apache.axis2.wso2:axis2-client:jar:1.6.1.wso2v4 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced I think Keheliya was also facing this issue. Sanjeewa is working now to have a fix for this. I hope you already changed the axis2 versions in carbon root pom (carbon-platform) to 1.6.1.wso2v*1 *temporally until the fix comes? Regards, --KasunG any idea ? Thanks, On Tue, Dec 6, 2011 at 4:14 PM, Muhammed Shariq sha...@wso2.com wrote: Ideally if you trigger a build from the root level then the root pom would be copied to the m2 repo. However I tried that approach with Sanjeew now and it seems this is not happening now. I checked the pom files but couldn't find any obvious issue, Pradeep/Harshana any idea what could be the issue? On Tue, Dec 6, 2011 at 4:09 PM, Kasun Gajasinghe kas...@wso2.com wrote: On Tue, Dec 6, 2011 at 3:52 PM, Dileepa Jayakody dile...@wso2.comwrote: Hi, As a workaround for this you can copy the carbon-platform pom from carbon/components in to your m2 repo. Go to carbon/components and copy the pom to m2 repo in the following manner.c cp pom.xml ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom Hope this helps. Yes, this is the method I used. But, first I had to manually create the directory structure by `mkdir -p ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/`. Then, copied the pom using the above command you just said. The workaround in the previous mail was somewhat easier because even the editing of the pom at m2 repo is optional. Lot of guys are having this issue. Thanks, --Kasun Regards, Dileepa On Tue, Dec 6, 2011 at 2:49 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi, I faced the following issue when building carbon/service-stubs/ with Maven 3.0.3, and a fresh repo. The log is given below. This error is not produced in Maven 2. As I found out, the issue was that Maven3 doesn't identify the carbon root pom, ie. org.wso2.carbon:carbon-platform. A workaround for this problem is to build the carbon root pom first with all the module declarations in its pom.xml commented out. And then, remove the added comments in the copied carbon-platform pom in the M2 repo. But I think this needs to be fixed to minimize this inconvenience, and isn't straight-forward for a new builder. Thanks, --Kasun [INFO] [INFO] [INFO] Building WSO2 Carbon - Service Stubs - Aggregator Module 3.2.0-SNAPSHOT [INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom [INFO] [INFO] Reactor Summary: [INFO] [INFO] WSO2 Carbon - Service Stubs - Aggregator Module ... FAILURE [1.273s] [INFO] WSO2 Carbon - Stratos Common Stubs SKIPPED [INFO] WSO2 Carbon - Tenant Registration GApp Stub ... SKIPPED [INFO] WSO2 Carbon - Data Admin Console Stub . SKIPPED --- --- [INFO] WSO2 Carbon - Qpid Stub ... SKIPPED [INFO] WSO2 Carbon - Tenant activity Stub SKIPPED [INFO] WSO2 Carbon - Load Balance Agent Stub . SKIPPED [INFO]
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
On Wed, Dec 7, 2011 at 1:08 AM, Kasun Gajasinghe kas...@wso2.com wrote: On Wed, Dec 7, 2011 at 12:48 AM, Suresh Attanayaka sur...@wso2.comwrote: Hi Guys, I could build service stubs other than *org.wso2.carbon.stratos.common.stub *and *org.wso2.carbon.tenant.register.gapp.stub* successfully. The error message i get when i'm building org.wso2.carbon.stratos.common.stub is: The parents form a cycle: org.wso2.carbon:org.wso2.carbon.stratos.common.stub:3.2.0-SNAPSHOT - org.wso2.carbon:service-stubs:3.2.0-SNAPSHOT - org.wso2.carbon:carbon-platform:3.2.0-SNAPSHOT - org.wso2.carbon:carbon-platform:3.2.0-SNAPSHOT @ org.wso2.carbon:carbon-components:3.2.0-SNAPSHOT My build under service-stubs/org.wso2.carbon.stratos.common.stub was successful. I just checked. You haven't change the artifactIds in the POMs, right? If not, I think you need to check the pom inheritance hierarchy (using artifactIds in parent tag) to see where this error comes starting from org.wso2.carbon.stratos.common.stub project. and for org.wso2.carbon.tenant.register.gapp.stub is : Failed to execute goal on project org.wso2.carbon.tenant.register.gapp.stub: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.tenant.register.gapp.stub:bundle:3.2.0-SNAPSHOT: Failure to find org.apache.axis2.wso2:axis2-client:jar:1.6.1.wso2v4 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced I think Keheliya was also facing this issue. Sanjeewa is working now to have a fix for this. I hope you already changed the axis2 versions in carbon root pom (carbon-platform) to 1.6.1.wso2v*1 *temporally until the fix comes? Changing instances of axis2-client version from 1.6.1.wso2v1 (if there are any in the poms) to 1.6.1.wso2v4 is the way to go. So in /trunk/carbon/orbit/axis-client/pom.xml do the following change. description A single JAR file containing all the client side libraries /description -version1.6.1.wso2v1/version +version1.6.1.wso2v4/version urlhttp://wso2.org/url dependencies ..and build orbit, then you'll be able to build org.wso2.carbon.tenant.register.gapp.stub Regards, Keheliya Regards, --KasunG any idea ? Thanks, On Tue, Dec 6, 2011 at 4:14 PM, Muhammed Shariq sha...@wso2.com wrote: Ideally if you trigger a build from the root level then the root pom would be copied to the m2 repo. However I tried that approach with Sanjeew now and it seems this is not happening now. I checked the pom files but couldn't find any obvious issue, Pradeep/Harshana any idea what could be the issue? On Tue, Dec 6, 2011 at 4:09 PM, Kasun Gajasinghe kas...@wso2.comwrote: On Tue, Dec 6, 2011 at 3:52 PM, Dileepa Jayakody dile...@wso2.comwrote: Hi, As a workaround for this you can copy the carbon-platform pom from carbon/components in to your m2 repo. Go to carbon/components and copy the pom to m2 repo in the following manner.c cp pom.xml ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom Hope this helps. Yes, this is the method I used. But, first I had to manually create the directory structure by `mkdir -p ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/`. Then, copied the pom using the above command you just said. The workaround in the previous mail was somewhat easier because even the editing of the pom at m2 repo is optional. Lot of guys are having this issue. Thanks, --Kasun Regards, Dileepa On Tue, Dec 6, 2011 at 2:49 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi, I faced the following issue when building carbon/service-stubs/ with Maven 3.0.3, and a fresh repo. The log is given below. This error is not produced in Maven 2. As I found out, the issue was that Maven3 doesn't identify the carbon root pom, ie. org.wso2.carbon:carbon-platform. A workaround for this problem is to build the carbon root pom first with all the module declarations in its pom.xml commented out. And then, remove the added comments in the copied carbon-platform pom in the M2 repo. But I think this needs to be fixed to minimize this inconvenience, and isn't straight-forward for a new builder. Thanks, --Kasun [INFO] [INFO] [INFO] Building WSO2 Carbon - Service Stubs - Aggregator Module 3.2.0-SNAPSHOT [INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/maven-metadata.xml Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom [INFO]
Re: [Carbon-dev] Build failure in service-stubs/ under Maven 3
On Wed, Dec 7, 2011 at 1:20 AM, Keheliya Gallaba kehel...@wso2.com wrote: On Wed, Dec 7, 2011 at 1:08 AM, Kasun Gajasinghe kas...@wso2.com wrote: On Wed, Dec 7, 2011 at 12:48 AM, Suresh Attanayaka sur...@wso2.comwrote: Hi Guys, I could build service stubs other than *org.wso2.carbon.stratos.common.stub *and *org.wso2.carbon.tenant.register.gapp.stub* successfully. The error message i get when i'm building org.wso2.carbon.stratos.common.stub is: The parents form a cycle: org.wso2.carbon:org.wso2.carbon.stratos.common.stub:3.2.0-SNAPSHOT - org.wso2.carbon:service-stubs:3.2.0-SNAPSHOT - org.wso2.carbon:carbon-platform:3.2.0-SNAPSHOT - org.wso2.carbon:carbon-platform:3.2.0-SNAPSHOT @ org.wso2.carbon:carbon-components:3.2.0-SNAPSHOT My build under service-stubs/org.wso2.carbon.stratos.common.stub was successful. I just checked. You haven't change the artifactIds in the POMs, right? If not, I think you need to check the pom inheritance hierarchy (using artifactIds in parent tag) to see where this error comes starting from org.wso2.carbon.stratos.common.stub project. and for org.wso2.carbon.tenant.register.gapp.stub is : Failed to execute goal on project org.wso2.carbon.tenant.register.gapp.stub: Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.tenant.register.gapp.stub:bundle:3.2.0-SNAPSHOT: Failure to find org.apache.axis2.wso2:axis2-client:jar:1.6.1.wso2v4 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced I think Keheliya was also facing this issue. Sanjeewa is working now to have a fix for this. I hope you already changed the axis2 versions in carbon root pom (carbon-platform) to 1.6.1.wso2v*1 *temporally until the fix comes? Changing instances of axis2-client version from 1.6.1.wso2v1 (if there are any in the poms) to 1.6.1.wso2v4 is the way to go. So in /trunk/carbon/orbit/axis-client/pom.xml do the following change. +1. That's what Sanjeewa is going to do too - making the axis2 version to wso2v4. Currently a few components and products are using the older versions. Regards, Pradeeban. description A single JAR file containing all the client side libraries /description -version1.6.1.wso2v1/version +version1.6.1.wso2v4/version urlhttp://wso2.org/url dependencies ..and build orbit, then you'll be able to build org.wso2.carbon.tenant.register.gapp.stub Regards, Keheliya Regards, --KasunG any idea ? Thanks, On Tue, Dec 6, 2011 at 4:14 PM, Muhammed Shariq sha...@wso2.com wrote: Ideally if you trigger a build from the root level then the root pom would be copied to the m2 repo. However I tried that approach with Sanjeew now and it seems this is not happening now. I checked the pom files but couldn't find any obvious issue, Pradeep/Harshana any idea what could be the issue? On Tue, Dec 6, 2011 at 4:09 PM, Kasun Gajasinghe kas...@wso2.comwrote: On Tue, Dec 6, 2011 at 3:52 PM, Dileepa Jayakody dile...@wso2.comwrote: Hi, As a workaround for this you can copy the carbon-platform pom from carbon/components in to your m2 repo. Go to carbon/components and copy the pom to m2 repo in the following manner.c cp pom.xml ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/carbon-platform-3.2.0-SNAPSHOT.pom Hope this helps. Yes, this is the method I used. But, first I had to manually create the directory structure by `mkdir -p ~/.m2/repository/org/wso2/carbon/carbon-platform/3.2.0-SNAPSHOT/`. Then, copied the pom using the above command you just said. The workaround in the previous mail was somewhat easier because even the editing of the pom at m2 repo is optional. Lot of guys are having this issue. Thanks, --Kasun Regards, Dileepa On Tue, Dec 6, 2011 at 2:49 PM, Kasun Gajasinghe kas...@wso2.comwrote: Hi, I faced the following issue when building carbon/service-stubs/ with Maven 3.0.3, and a fresh repo. The log is given below. This error is not produced in Maven 2. As I found out, the issue was that Maven3 doesn't identify the carbon root pom, ie. org.wso2.carbon:carbon-platform. A workaround for this problem is to build the carbon root pom first with all the module declarations in its pom.xml commented out. And then, remove the added comments in the copied carbon-platform pom in the M2 repo. But I think this needs to be fixed to minimize this inconvenience, and isn't straight-forward for a new builder. Thanks, --Kasun [INFO] [INFO] [INFO] Building WSO2 Carbon - Service Stubs - Aggregator Module 3.2.0-SNAPSHOT [INFO] Downloading: