You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/03/19 16:04:44 UTC

[jira] [Commented] (AMQ-5106) unable to build trunk from scratch due to missing dependency

    [ https://issues.apache.org/jira/browse/AMQ-5106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940546#comment-13940546 ] 

ASF GitHub Bot commented on AMQ-5106:
-------------------------------------

GitHub user ccancellieri opened a pull request:

    https://github.com/apache/activemq/pull/17

    AMQ-5106 fix: unable to build trunk from scratch due to missing dependency (eclipse:eclipse)

    This will fix the issue:
    
    https://issues.apache.org/jira/browse/AMQ-5106


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ccancellieri/activemq trunk-AMQ-5106

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq/pull/17.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #17
    
----
commit cf8819f1e4888e0322ef95ea41964bf92ca6e58e
Author: carlo <cc...@hotmail.com>
Date:   2014-03-19T14:58:48Z

    AMQ-5106 fix: unable to build trunk from scratch due to missing dependency (eclipse:eclipse)

----


> unable to build trunk from scratch due to missing dependency
> ------------------------------------------------------------
>
>                 Key: AMQ-5106
>                 URL: https://issues.apache.org/jira/browse/AMQ-5106
>             Project: ActiveMQ
>          Issue Type: Bug
>         Environment: mvn -version
> Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28 04:15:32+0200)
> Maven home: /home/carlo/work/programs/apache-maven-3.1.0
> Java version: 1.6.0_33, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/jdk1.6.0_33/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.11.0-15-generic", arch: "amd64", family: "unix"
>            Reporter: carlo cancellieri
>
> Hi I'm not able to complete the mvn eclipse:clean eclise:eclipse on the trunk due to a missing jar.
> org.apache.xerces:xercesImpl:jar:2.11.0
> could not be located over default repository (and I've no local copy).
> Please add some repository or deploy it over officials repo.
> Here is the stack trace:
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project activemq-karaf-itest: Could not resolve dependencies for project org.apache.activemq:activemq-karaf-itest:jar:5.10-SNAPSHOT: Could not find artifact org.apache.xerces:xercesImpl:jar:2.11.0 in repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/)
>         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.MojoExecutor.executeForkedExecutions(MojoExecutor.java:364)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:198)
>         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:318)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>         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: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:414)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
> Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.activemq:activemq-karaf-itest:jar:5.10-SNAPSHOT: Could not find artifact org.apache.xerces:xercesImpl:jar:2.11.0 in repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/)
>         at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198)
>         at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
>         ... 26 more
> Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.apache.xerces:xercesImpl:jar:2.11.0 in repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/)
>         at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
>         at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192)
>         ... 27 more
> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.apache.xerces:xercesImpl:jar:2.11.0 in repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/)
>         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)
>         ... 28 more
> Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.apache.xerces:xercesImpl:jar:2.11.0 in repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/)
>         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$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
> [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
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :activemq-karaf-itest



--
This message was sent by Atlassian JIRA
(v6.2#6252)