[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[recommenders-dev] Problem while building Code Recommenders
|
Hi,
I have downloaded source code by cloning the git repository and then
run the command mvn clean install but I am getting the following
error. I follow the following
instructions:https://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/about/
I am working on a computer running Ubuntu OS. I have tried
reinstalling maven but nothing changed. The only solution I found on
the internet is here:
http://stackoverflow.com/questions/16229129/eclipse-tycho-not-able-to-resolve-the-correct-dependency.
But I am not sure how to proceed.
Can anyone suggest me how can I solve the problem? Thanks.
**********************************************
One more question: I assume the following procedure to contribute to a
project of Code Recommenders. Please correct me if I am wrong:
clone the repository-> import the project using existing maven
projects command-> change the source code of a project-> test it
locally -> and then push the change to Gerrit Code review System
**********************************************
Thanks.
-Muhammad Asaduzzaman
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] Computing target platform for MavenProject:
org.eclipse.recommenders:org.eclipse.recommenders.apidocs.rcp:2.0.6-SNAPSHOT
@ /home/parvez/Recommenders2.0/org.eclipse.recommenders/plugins/org.eclipse.recommenders.apidocs.rcp/pom.xml
[INFO] Resolving dependencies of MavenProject:
org.eclipse.recommenders:org.eclipse.recommenders.apidocs.rcp:2.0.6-SNAPSHOT
@ /home/parvez/Recommenders2.0/org.eclipse.recommenders/plugins/org.eclipse.recommenders.apidocs.rcp/pom.xml
[INFO] Unpacking org.eclipse.team.ui_3.7.1.v20130729-1104...
[ERROR] The following artifacts could not be downloaded:
[ERROR] osgi.bundle,org.eclipse.team.ui,3.7.1.v20130729-1104
[ERROR] Internal error: java.lang.RuntimeException: Some required
artifacts could not be downloaded. See log output for details. ->
[Help 1]
org.apache.maven.InternalErrorException: Internal error:
java.lang.RuntimeException: Some required artifacts could not be
downloaded. See log output for details.
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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: Some required artifacts could
not be downloaded. See log output for details.
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.failIfArtifactsMissing(P2ResolverImpl.java:190)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.toResolutionResult(P2ResolverImpl.java:176)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:140)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:87)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:369)
at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:345)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:109)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
... 11 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
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++