I have set of eclipse projects. Each project describe one plugin. I have separate project that contains two products file for 32-bits platforms and 64 bits platform
I need to find out how to export product using tycho.
Problem is : when I run maven against parent pom all plugins is built with success, but export of product fails I see that tycho cannot find my plugins from other projects and include them in export process. I did not understand how to describe dependency that helps maven to find other projects. The required files have been attached
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.24.0:publish-products (default-publish-products) on project com.psl.atom.product: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.24.0:publish-products failed: Cannot resolve dependencies of product AtomProduct32.product. See log for details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.24.0:publish-products (default-publish-products) on project com.psl.atom.product: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.24.0:publish-products failed: Cannot resolve dependencies of product AtomProduct32.product. See log for details.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
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:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
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:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.24.0:publish-products failed: Cannot resolve dependencies of product AtomProduct32.product. See log for details.
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: org.eclipse.tycho.artifacts.DependencyResolutionException: Cannot resolve dependencies of product AtomProduct32.product. See log for details.
at org.eclipse.tycho.p2.tools.publisher.ProductVersionExpansionRun.reportErrors(ProductVersionExpansionRun.java:83)
at org.eclipse.tycho.p2.tools.publisher.ExpandedProduct.expandVersions(ExpandedProduct.java:117)
at org.eclipse.tycho.p2.tools.publisher.ExpandedProduct.<init>(ExpandedProduct.java:56)
at org.eclipse.tycho.p2.tools.publisher.PublishProductToolImpl.publishProduct(PublishProductToolImpl.java:73)
at org.eclipse.tycho.plugins.p2.publisher.PublishProductMojo.publishContent(PublishProductMojo.java:97)
at org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute(AbstractPublishMojo.java:35)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
... 20 more
--