Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Build Jubula - Some required artifacts could not be downloaded
Build Jubula - Some required artifacts could not be downloaded [message #1701751] Wed, 15 July 2015 11:35 Go to next message
David Vlek is currently offline David VlekFriend
Messages: 20
Registered: September 2014
Junior Member
Hello Everyone,

I am trying to build the latest sprint version of Jubula. Everything seems to be fine in the build process till here. I attached the output log.
MAVEN is trying to fetch p2.index from :

  [exec] [INFO] Adding repository http://download.eclipse.org/releases/indigo
     [exec] [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/indigo/ (0B at 0B/s)
     [exec] [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201202240900/ (0B at 0B/s)
     [exec] [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201109230900/ (0B at 0B/s)
     [exec] [INFO] Fetching p2.index from http://download.eclipse.org/releases/indigo/201106220900/ (0B at 0B/s)



 [exec] [INFO] Resolving dependencies of MavenProject: org.eclipse.jubula:org.eclipse.jubula.rc.rcp.e3.specific:3.1.0-SNAPSHOT @ C:\Users\xxxxx\build_jubula\jubula\org.eclipse.jubula.rc.rcp.e3.specific\pom.xml
     [exec] [INFO] Unpacking org.eclipse.osgi.services_3.3.0.v20110513...
     [exec] [INFO] Unpacking org.eclipse.ui.workbench_3.7.1.v20120104-1859...
     [exec] [ERROR] The following artifacts could not be downloaded: 
     [exec] [ERROR]   osgi.bundle,org.eclipse.osgi.services,3.3.0.v20110513
     [exec] [ERROR]   osgi.bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859
     [exec] [ERROR] Internal error: java.lang.RuntimeException: Some required artifacts could not be downloaded. See log output for details. -> [Help 1]
     [exec] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Some required artifacts could not be downloaded. See log output for details.
     [exec] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121)
     [exec] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
     [exec] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
     [exec] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
     [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [exec] 	at java.lang.reflect.Method.invoke(Method.java:497)
     [exec] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
     [exec] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
     [exec] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
     [exec] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
     [exec] Caused by: java.lang.RuntimeException: Some required artifacts could not be downloaded. See log output for details.
     [exec] 	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.failIfArtifactsMissing(P2ResolverImpl.java:268)
     [exec] 	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.toResolutionResult(P2ResolverImpl.java:222)
     [exec] 	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:206)
     [exec] 	at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:113)
     [exec] 	at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies(P2DependencyResolver.java:360)
     [exec] 	at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies(P2DependencyResolver.java:333)
     [exec] 	at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:117)
     [exec] 	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77)
     [exec] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
     [exec] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
     [exec] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
     [exec] 	... 11 more
     [exec] [ERROR] 
     [exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
     [exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
     [exec] [ERROR] 
     [exec] [ERROR] For more information about the errors and possible solutions, please read the following articles:
     [exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException


  • Attachment: output.log
    (Size: 47.35KB, Downloaded 97 times)
Re: Build Jubula - Some required artifacts could not be downloaded [message #1701758 is a reply to message #1701751] Wed, 15 July 2015 12:35 Go to previous messageGo to next message
Sebastian Struckmann is currently offline Sebastian StruckmannFriend
Messages: 18
Registered: October 2013
Junior Member
Hello David,
can you clarify how your maven is set up? Is there any proxy in use? You should also re-run the script with "-X" parameter to get debug output. Maybe I'll be able to see something there.
Re: Build Jubula - Some required artifacts could not be downloaded [message #1701765 is a reply to message #1701758] Wed, 15 July 2015 13:16 Go to previous messageGo to next message
David Vlek is currently offline David VlekFriend
Messages: 20
Registered: September 2014
Junior Member
Thank you Sebastian,

My maven setup

C:\Users\XXXXX\.m2>mvn -version
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00)
Maven home: C:\UTILS\apache-maven-3.3.3\bin\..
Java version: 1.8.0_51, vendor: Oracle Corporation
Java home: C:\JAVA_HOME\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
C:\Users\XXXXX\.m2>CC



Ant Version

Apache Ant(TM) version 1.9.6 compiled on June 29 2015

Yes I'm behind a ssl proxy i adapted the maven setting file to download from http

<settings>
  <activeProfiles>
    <!--make the profile active all the time -->
    <activeProfile>securecentral</activeProfile>
  </activeProfiles>
  <profiles>
    <profile>
      <id>securecentral</id>
      <!--Override the repository (and pluginRepository) "central" from the
         Maven Super POM -->
      <repositories>
        <repository>
          <id>central</id>
          <url>http://repo1.maven.org/maven2</url>
          <releases>
            <enabled>true</enabled>
          </releases>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>central</id>
          <url>http://repo1.maven.org/maven2</url>
          <releases>
            <enabled>true</enabled>
          </releases>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
</settings>



Please find in the attachment the debug output


Thank you


Dave.
  • Attachment: output.log
    (Size: 1.82MB, Downloaded 143 times)

[Updated on: Thu, 16 July 2015 07:02]

Report message to a moderator

Re: Build Jubula - Some required artifacts could not be downloaded [message #1702121 is a reply to message #1701765] Mon, 20 July 2015 07:26 Go to previous message
Sebastian Struckmann is currently offline Sebastian StruckmannFriend
Messages: 18
Registered: October 2013
Junior Member
Could you check in your local infrastructure how access to the eclipse indigo repositories is configured? Since access to other eclipse repositories seems to work, this might be a good starting point.
Previous Topic:Execute Extermal Command - run Sikuli script -> wrong exit code
Next Topic:Current news regarding Jubula Development
Goto Forum:
  


Current Time: Tue Feb 20 23:45:30 GMT 2024

Powered by FUDForum. Page generated in 0.02684 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top