Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Issue with latest SNAPSHOTs

No, one of target-platform-validation-plugin ITs fails, so the plugin is
never deployed. Not sure why the IT fails. Build log does not provide
any relevant information to troubleshoot the failure and everything
works for me locally.



...
Debug options:

file:/opt/grid/slave/workspace/tycho-extras/374c4ad3/target-platform-validation-plugin/target/it/validateOK/.options not found
Time to load bundles: 319
[DEBUG] Clearing proxy settings in OSGi runtime
[INFO] Validating /opt/grid/slave/workspace/tycho-extras/374c4ad3/target-platform-validation-plugin/target/it/validateOK/ok.target...
[INFO] Failed, see Error log below
[ERROR] Validation found errors in 1 .target files:
Could not resolve content of ok.target


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.876s
[INFO] Finished at: Sun Oct 14 23:08:42 CDT 2012
[INFO] Final Memory: 8M/108M
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.eclipse.tycho.extras:target-platform-validation-plugin:0.16.0-SNAPSHOT:validate-target-platform (default) on project validationOK: Validation found errors in 1 .target files:
[ERROR] Could not resolve content of ok.target
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho.extras:target-platform-validation-plugin:0.16.0-SNAPSHOT:validate-target-platform (default) on project validationOK: Validation found errors in 1 .target files:
Could not resolve content of ok.target


at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
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: org.apache.maven.plugin.MojoExecutionException: Validation found errors in 1 .target files:
Could not resolve content of ok.target


at org.eclipse.tycho.extras.tpvalidator.TPValidationMojo.execute(TPValidationMojo.java:92) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
[ERROR]
[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/MojoExecutionException



--
Regards,
Igor





On 12-10-11 11:32 AM, Mickael Istria wrote:
Hi all,

As I'm working with latest 0.16.0-SNAPSHOT, I encounter this issue:

Failed to execute goal
org.eclipse.tycho.extras:target-platform-validation-plugin:0.16.0-SNAPSHOT:validate-target-platform
(default) on project multiple: Execution default of goal
org.eclipse.tycho.extras:target-platform-validation-plugin:0.16.0-SNAPSHOT:validate-target-platform
failed: An API incompatibility was encountered while executing
org.eclipse.tycho.extras:target-platform-validation-plugin:0.16.0-SNAPSHOT:validate-target-platform:
java.lang.NoSuchMethodError:
org.eclipse.tycho.p2.resolver.facade.P2ResolverFactory.createTargetPlatformBuilder(Ljava/lang/String;)Lorg/eclipse/tycho/p2/target/facade/TargetPlatformBuilder;

There is probably an API change that afftects Tycho-extras, and loots
Tycho-extras was not changed and/or it was not published. Do you have
any plans regarding this issue?
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets
<http://twitter.com/mickaelistria>


_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev



Back to the top