Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] [jgit-build] Build failed in Hudson: jgit #428



2010/11/7 <hudsonbuild@xxxxxxxxxxx>
See <https://hudson.eclipse.org/hudson/job/jgit/428/>

------------------------------------------
[...truncated...]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JGit - Parent ..................................... SUCCESS [3.329s]
[INFO] JGit - Core ....................................... SUCCESS [1:44.657s]
[INFO] JGit - AWT User Interface ......................... SUCCESS [24.605s]
[INFO] JGit - HTTP Server ................................ SUCCESS [25.023s]
[INFO] JGit - Eclipse IP Log Generator ................... SUCCESS [14.580s]
[INFO] JGit - Console User Interface ..................... SUCCESS [19.900s]
[INFO] JGit - Command Line Interface ..................... SUCCESS [19.582s]
[INFO] JGit - JUnit Utility Classes ...................... SUCCESS [14.237s]
[INFO] JGit - Core Tests ................................. SUCCESS [2:10.134s]
[INFO] JGit - HTTP Tests ................................. SUCCESS [12.489s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:09.216s
[INFO] Finished at: Sun Nov 07 09:14:52 EST 2010
[INFO] Final Memory: 67M/370M
[INFO] ------------------------------------------------------------------------
[workspace] $ /shared/common/apache-maven-3.0/bin/mvn -f org.eclipse.jgit.packaging/pom.xml -Declipse.p2.mirrors=false -Dmaven.repo.local=<https://hudson.eclipse.org/hudson/job/jgit/ws/.repository> clean install
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
[INFO] Resolving target platform for project MavenProject: org.eclipse.jgit:org.eclipse.jgit.feature:0.10.0-SNAPSHOT @ /opt/public/jobs/jgit/workspace/org.eclipse.jgit.packaging/org.eclipse.jgit.feature/pom.xml
[WARNING] Missing POM for org.eclipse.jgit:org.eclipse.jgit:jar:0.10.0-SNAPSHOT
[WARNING] Missing POM for org.eclipse.jgit:org.eclipse.jgit:jar:sources:0.10.0-SNAPSHOT
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve project dependencies: Missing:
[ERROR] ----------
[ERROR] 1) org.eclipse.jgit:org.eclipse.jgit:jar:sources:0.10.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.eclipse.jgit -DartifactId=org.eclipse.jgit -Dversion=0.10.0-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.eclipse.jgit -DartifactId=org.eclipse.jgit -Dversion=0.10.0-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.eclipse.jgit:org.eclipse.jgit.feature:pom:0.10.0-SNAPSHOT
[ERROR] 2) org.eclipse.jgit:org.eclipse.jgit:jar:sources:0.10.0-SNAPSHOT
[ERROR]
[ERROR] 2) org.eclipse.jgit:org.eclipse.jgit:jar:0.10.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.eclipse.jgit -DartifactId=org.eclipse.jgit -Dversion=0.10.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.eclipse.jgit -DartifactId=org.eclipse.jgit -Dversion=0.10.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.eclipse.jgit:org.eclipse.jgit.feature:pom:0.10.0-SNAPSHOT
[ERROR] 2) org.eclipse.jgit:org.eclipse.jgit:jar:0.10.0-SNAPSHOT
[ERROR]
[ERROR] ----------
[ERROR] 2 required artifacts are missing.
[ERROR]
[ERROR] for artifact:
[ERROR] org.eclipse.jgit:org.eclipse.jgit.feature:pom:0.10.0-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] ganymede (http://download.eclipse.org/releases/galileo, releases=false, snapshots=false),
[ERROR] central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not resolve project dependencies
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:163)
       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
       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: java.lang.RuntimeException: Could not resolve project dependencies
       at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:203)
       at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:105)
       at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:68)
       at org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:94)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:268)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
       ... 11 more
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) org.eclipse.jgit:org.eclipse.jgit:jar:sources:0.10.0-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
     mvn install:install-file -DgroupId=org.eclipse.jgit -DartifactId=org.eclipse.jgit -Dversion=0.10.0-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file

 Alternatively, if you host your own repository you can deploy the file there:
     mvn deploy:deploy-file -DgroupId=org.eclipse.jgit -DartifactId=org.eclipse.jgit -Dversion=0.10.0-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

 Path to dependency:
       1) org.eclipse.jgit:org.eclipse.jgit.feature:pom:0.10.0-SNAPSHOT
       2) org.eclipse.jgit:org.eclipse.jgit:jar:sources:0.10.0-SNAPSHOT

2) org.eclipse.jgit:org.eclipse.jgit:jar:0.10.0-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
     mvn install:install-file -DgroupId=org.eclipse.jgit -DartifactId=org.eclipse.jgit -Dversion=0.10.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

 Alternatively, if you host your own repository you can deploy the file there:
     mvn deploy:deploy-file -DgroupId=org.eclipse.jgit -DartifactId=org.eclipse.jgit -Dversion=0.10.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

 Path to dependency:
       1) org.eclipse.jgit:org.eclipse.jgit.feature:pom:0.10.0-SNAPSHOT
       2) org.eclipse.jgit:org.eclipse.jgit:jar:0.10.0-SNAPSHOT

----------
2 required artifacts are missing.

for artifact:
 org.eclipse.jgit:org.eclipse.jgit.feature:pom:0.10.0-SNAPSHOT

from the specified remote repositories:
 ganymede (http://download.eclipse.org/releases/galileo, releases=false, snapshots=false),
 central (http://repo1.maven.org/maven2, releases=true, snapshots=false)

       at org.apache.maven.artifact.resolver.DefaultResolutionErrorHandler.throwErrors(DefaultResolutionErrorHandler.java:71)
       at org.apache.maven.DefaultProjectDependenciesResolver.resolveImpl(DefaultProjectDependenciesResolver.java:162)
       at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:75)
       at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:59)
       at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:185)
       ... 16 more
[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/InternalErrorException
[DRY] Skipping publisher since build result is FAILURE
[FINDBUGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Recording test results

When trying to run the jgit build with maven-3.0 Tycho refuses to build the jgit packaging project, 
it claims it can't find org.eclipse.jgit:org.eclipse.jgit:jar:0.10.0-SNAPSHOT
but it's in the job-local maven repo:
https://hudson.eclipse.org/hudson/job/jgit/ws/.repository/org/eclipse/jgit/org.eclipse.jgit/0.10.0-SNAPSHOT/ 

When I run this build on my laptop it works perfectly with maven-3.0, 
but on Hudson it only works when using maven-3.0-beta1.

Any idea what might be wrong here ? 
Until we found the reason for this problem we have to stick to beta1

--
Matthias

Back to the top