[
https://issues.jboss.org/browse/JBIDE-12002?page=com.atlassian.jira.plugi...
]
Nick Boldt edited comment on JBIDE-12002 at 5/26/12 11:47 AM:
--------------------------------------------------------------
JBIDE-11974: maven.apt is only in:
* JBT Central (accessible from
http://download.jboss.org/jbosstools/updates/development/indigo/central/c...)
* JBDS Central (accessible from
http://devstudio.jboss.com/updates/5.0/staging/central/core/)
* JBDS Installer (accessible from ${m2e-apt} =
http://download.jboss.org/jbosstools/updates/requirements/m2eclipse/m2e-a...)
Therefore it need not be in the TP.
*COMMITTED TO 33x and trunk.*
was (Author: nickboldt):
JBIDE-11974: maven.apt is only in:
* JBT Central (accessible from
http://download.jboss.org/jbosstools/updates/development/indigo/central/c...)
* JBDS Central (accessible from
http://devstudio.jboss.com/updates/5.0/staging/central/core/)
* JBDS Installer (accessible from ${m2e-apt} =
http://download.jboss.org/jbosstools/updates/requirements/m2eclipse/m2e-a...)
Therefore it need not be in the TP.
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
Attachments: JBIDE12002.patch.txt
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