Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12300

target platform bug cannot build jbt jmx component

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 4.0.0.Alpha1
    • 4.0.0.Alpha1
    • target-platform
    • None

    Description

      Command to run: cd jmx; mvn install -P unified.target,jbosstools-nighlty | tee ~/Documents/bugs/buildjbt-fail-20120709.txt

      /usr/lib/jvm/jdk1.7.0_02/
      [INFO] Scanning for projects...
      [INFO] Computing target platform for MavenProject: org.jboss.tools.jmx.plugins:org.jboss.tools.jmx.core:1.4.0-SNAPSHOT @ /home/rob/code/jbtools/jbosstools/trunk/jmx/plugins/org.jboss.tools.jmx.core/pom.xml
      [ERROR] Internal error: java.lang.RuntimeException: Failed to resolve target definition /home/rob/.m2/repository/org/jboss/tools/org.jboss.tools.target.platform/3.4.0.M1-SNAPSHOT/org.jboss.tools.target.platform-3.4.0.M1-SNAPSHOT-unified.target: Could not find "org.eclipse.m2e.sdk.feature.feature.group/1.1.0.20120320-0058" in the repositories of the current location -> [Help 1]
      org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to resolve target definition /home/rob/.m2/repository/org/jboss/tools/org.jboss.tools.target.platform/3.4.0.M1-SNAPSHOT/org.jboss.tools.target.platform-3.4.0.M1-SNAPSHOT-unified.target
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:170)
      	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:601)
      	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: Failed to resolve target definition /home/rob/.m2/repository/org/jboss/tools/org.jboss.tools.target.platform/3.4.0.M1-SNAPSHOT/org.jboss.tools.target.platform-3.4.0.M1-SNAPSHOT-unified.target
      	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:409)
      	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:222)
      	at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:89)
      	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:64)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:276)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:158)
      	... 11 more
      Caused by: org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: Could not find "org.eclipse.m2e.sdk.feature.feature.group/1.1.0.20120320-0058" in the repositories of the current location
      	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.getUnitInstance(TargetDefinitionResolver.java:204)
      	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:111)
      	at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.resolveFromArguments(TargetDefinitionResolverService.java:63)
      	at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.getTargetDefinitionContent(TargetDefinitionResolverService.java:53)
      	at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addTargetDefinition(TargetPlatformBuilderImpl.java:281)
      	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:404)
      	... 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
      

      Attachments

        Issue Links

          Activity

            People

              mistria@redhat.com Mickael Istria
              rob.stryker Rob Stryker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: