[jbosstools-dev] Upcoming change to Target Platform 4.40.Alpha1-SNAPSHOT: Luna M3

Xavier Coulon xcoulon at redhat.com
Fri Nov 22 05:44:47 EST 2013


Sorry, I'm a bit late on this. 
I tried what you suggested, Mickael, but got the following error:

[INFO] Scanning for projects...
Downloading: https://repository.jboss.org/nexus/content/repositories/releases/org/jboss/tools/targetplatforms/jbosstools-unified/4.40.0.Alpha1-SNAPSHOT/maven-metadata.xml
[INFO] Computing target platform for MavenProject: org.jboss.tools.livereload.plugins:org.jboss.tools.livereload.core:1.2.0-SNAPSHOT @ /Users/xcoulon/code/jbosstools/jbosstools-livereload/plugins/org.jboss.tools.livereload.core/pom.xml
[ERROR] Internal error: java.lang.RuntimeException: Failed to resolve target definition /Users/xcoulon/.m2/repository/org/jboss/tools/targetplatforms/jbosstools-unified/4.40.0.Alpha1-SNAPSHOT/jbosstools-unified-4.40.0.Alpha1-SNAPSHOT-jbosstools-unified.target: Could not find "org.jboss.tools.m2e.wro4j.feature.feature.group/1.0.1.201209200854" in the repositories of the current location -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to resolve target definition /Users/xcoulon/.m2/repository/org/jboss/tools/targetplatforms/jbosstools-unified/4.40.0.Alpha1-SNAPSHOT/jbosstools-unified-4.40.0.Alpha1-SNAPSHOT-jbosstools-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: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 /Users/xcoulon/.m2/repository/org/jboss/tools/targetplatforms/jbosstools-unified/4.40.0.Alpha1-SNAPSHOT/jbosstools-unified-4.40.0.Alpha1-SNAPSHOT-jbosstools-unified.target
	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:84)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.resolveFromArguments(TargetDefinitionResolverService.java:65)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.getTargetDefinitionContent(TargetDefinitionResolverService.java:55)
	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.resolveTargetDefinitions(TargetPlatformFactoryImpl.java:212)
	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:146)
	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:119)
	at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1)
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:215)
	at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:100)
	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
Caused by: org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: Could not find "org.jboss.tools.m2e.wro4j.feature.feature.group/1.0.1.201209200854" in the repositories of the current location
	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.getUnitInstance(TargetDefinitionResolver.java:213)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContentWithExceptions(TargetDefinitionResolver.java:127)
	at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:79)
	... 22 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

Any idea ?

thanks.
Best regards,
/Xavier



On Nov 21, 2013, at 4:43 PM, Mickael Istria wrote:

> Hi all,
> Here is a proposal for a new 4.40.0.Alpha1-SNAPSHOT target platform: https://github.com/jbosstools/jbosstools-target-platforms/pull/30 .
> It consists in the following changes:
> * JBIDE-16073: Move to Luna M3
> ** most projects have contributed a new M3 build
> ** SWT migrated to GTK+ 3, which is a major change on which one we should provide feedback
> 
> Please review this PR and yell if there is anything shocking. You can use the following stuff to try to build build the TP locally and try out against your component:
> Build target-platform:
>   $ cd jbosstools-target-platforms
>   $ git fetch mistria JBIDE-16073
>   $ git checkout FETCH_HEAD
>   $ cd jbosstools/multiple
>   $ mvn clean install -P \!multiple2repo
> 
> Then, try to built your component with this local build of the target-platform:
>   $ cd /path/to/your/component
>   $ mvn clean verify -Dtpc.version=4.40.0.Alpha1-SNAPSHOT -Pmultiple
> 
> In case you notice any issue for you component with Luna M3, create a dedicated bug to track the migration, and link it as a dependency from JBIDE-15639, so we now which projects require migration effort.
> In case you're not working on JBoss Tools 4.1.1 any more, please make the migration to Luna your top-priority before implementing new features in 4.2.0.Alpha1, as we'd like to release a 4.2.0.Alpha1 soon, hopefully against Luna.
> 
> Cheers,
> 
> --
> 
> Mickael Istria
> Eclipse developer at JBoss, by Red Hat
> My blog - My Tweets
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20131122/c35293e2/attachment.html 


More information about the jbosstools-dev mailing list