Re: trying tycho build tutorial and failed

300 views
Skip to first unread message

Lars Vogel

unread,
Jan 13, 2013, 6:36:40 PM1/13/13
to vog...@googlegroups.com
Sounds like your master profile does not contain an entry for the
Tycho plug-in. Can you post for master file?

2013/1/8 roza <roz...@gmail.com>:
> Hi,
> I tried the build tutorial based on tycho in this link
> http://www.vogella.com/articles/EclipseTycho/article.html and I failed. I
> get this error message when I try to run maven clean install
>
> [ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-p2-director-plugin:0.16.0:materialize-products
> (materialize-products) on project master: Execution materialize-products of
> goal org.eclipse.tycho:tycho-p2-director-plugin:0.16.0:materialize-products
> failed: Tycho build extension not configured for MavenProject:
> com.my:master:0.0.1-SNAPSHOT @
> C:\Users\rghamari\workspaces\tychobuildtutorial\master\pom.xml -> [Help 1]
>
> I will post the full stack trace below. I cannot understand what exactly the
> problem is. I really appreciate your help with this.
>
> Thanks,
> Roza
>
> [INFO] master ............................................ FAILURE [0.113s]
> [INFO] plugin ............................................ SKIPPED
> [INFO] feature ........................................... SKIPPED
> [INFO] p2updatesite ...................................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 16.462s
> [INFO] Finished at: Tue Jan 08 14:10:47 PST 2013
> [INFO] Final Memory: 84M/344M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-p2-director-plugin:0.16.0:materialize-products
> (materialize-products) on project master: Execution materialize-products of
> goal org.eclipse.tycho:tycho-p2-director-plugin:0.16.0:materialize-products
> failed: Tycho build extension not configured for MavenProject:
> com.my:master:0.0.1-SNAPSHOT @
> C:\Users\rghamari\workspaces\tychobuildtutorial\master\pom.xml -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.eclipse.tycho:tycho-p2-director-plugin:0.16.0:materialize-products
> (materialize-products) on project master: Execution materialize-products of
> goal org.eclipse.tycho:tycho-p2-director-plugin:0.16.0:materialize-products
> failed: Tycho build extension not configured for MavenProject:
> com.my:master:0.0.1-SNAPSHOT @
> C:\Users\rghamari\workspaces\tychobuildtutorial\master\pom.xml
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
> 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(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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.PluginExecutionException: Execution
> materialize-products of goal
> org.eclipse.tycho:tycho-p2-director-plugin:0.16.0:materialize-products
> failed: Tycho build extension not configured for MavenProject:
> com.my:master:0.0.1-SNAPSHOT @
> C:\Users\rghamari\workspaces\tychobuildtutorial\master\pom.xml
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 19 more
> Caused by: java.lang.IllegalStateException: Tycho build extension not
> configured for MavenProject: com.my:master:0.0.1-SNAPSHOT @
> C:\Users\rghamari\workspaces\tychobuildtutorial\master\pom.xml
> at
> org.eclipse.tycho.core.utils.TychoProjectUtils.getTargetPlatform(TychoProjectUtils.java:63)
> at
> org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository(RepositoryReferenceTool.java:116)
> at
> org.eclipse.tycho.p2.facade.RepositoryReferenceTool.getVisibleRepositories(RepositoryReferenceTool.java:97)
> at
> org.eclipse.tycho.plugins.p2.director.DirectorMojo.getTargetPlatformRepositories(DirectorMojo.java:167)
> at
> org.eclipse.tycho.plugins.p2.director.DirectorMojo.getSourceRepositories(DirectorMojo.java:145)
> at
> org.eclipse.tycho.plugins.p2.director.DirectorMojo.execute(DirectorMojo.java:93)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> ... 20 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/PluginExecutionException
>
> --
> You received this message because you are subscribed to the Google Groups
> "vogella" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/vogella/-/aeaIc08nMOMJ.
> To post to this group, send email to vog...@googlegroups.com.
> To unsubscribe from this group, send email to
> vogella+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/vogella?hl=en.
Reply all
Reply to author
Forward
0 new messages