[jbosstools-issues] [JBoss JIRA] (JBIDE-12002) Wrong reference in unified.target to "org.jboss.tools.maven.apt.feature"

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Fri May 25 20:59:17 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-12002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-12002:
----------------------------------------

    Priority: Critical  (was: Major)

    
> Wrong reference in unified.target to "org.jboss.tools.maven.apt.feature"
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-12002
>                 URL: https://issues.jboss.org/browse/JBIDE-12002
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: target-platform
>            Reporter: Mickael Istria
>            Assignee: Nick Boldt
>            Priority: Critical
>             Fix For: 3.3.0.CR1
>
>
> When trying a build using up-to-date Target Platforms, we see
> {code}
> > mvn clean install -Dmaven.test.skip -P unified.target
> ...
> org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to resolve target definition /home/mistria/.m2/repository/org/jboss/tools/org.jboss.tools.target.platform/0.0.2-SNAPSHOT/org.jboss.tools.target.platform-0.0.2-SNAPSHOT-unified.target
> 	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:616)
> 	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/mistria/.m2/repository/org/jboss/tools/org.jboss.tools.target.platform/0.0.2-SNAPSHOT/org.jboss.tools.target.platform-0.0.2-SNAPSHOT-unified.target
> 	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:407)
> 	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:220)
> 	at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:89)
> 	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:61)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	... 11 more
> Caused by: org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: Could not find "org.jboss.tools.maven.apt.feature.feature.group/1.0.0.201205021739" in the repositories of the current location
> 	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.getUnitInstance(TargetDefinitionResolver.java:199)
> 	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:111)
> 	at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addTargetDefinition(TargetPlatformBuilderImpl.java:330)
> 	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addTargetFileContentToTargetPlatform(P2TargetPlatformResolver.java:402)
> 	... 16 more
> ...
> {code}
> Not sure about how this should be solved. Simply remove reference to this feature in unified.target ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list