Discussion:
[tycho-user] Could not find goal 'materialize-products'
paul
2016-05-03 13:41:39 UTC
Permalink
Windows 7 SP1
Mars 2

Mars 3.3.9

Tycho 0.24.0
JavaFX with FXML RCP

Could not find goal 'materialize-products'

As per this
(https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application) wiki page
'materialize-products' should exist as a available goal.

====================================================================================================================================


[ERROR] Could not find goal 'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available
goals archive-repository, assemble-repository, verify-repository -> [Help 1]

org.apache.maven.plugin.MojoNotFoundException: Could not find goal
'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available
goals archive-repository, assemble-repository, verify-repository

at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)

at
org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)

at
org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)

at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)

at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)

at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)

at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)

at
org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)

at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)

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:128)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)

at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

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)

[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/MojoNotFoundException


====================================================================================================================================


<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Dirk Fauth
2016-05-03 13:53:54 UTC
Permalink
Mars 2 doesn't work with efxclipse.

Not sure if that is the reason in your case, but you should switch back to
Mars 1
Post by paul
Windows 7 SP1
Mars 2
Mars 3.3.9
Tycho 0.24.0
JavaFX with FXML RCP
Could not find goal 'materialize-products'
As per this (https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application)
wiki page 'materialize-products' should exist as a available goal.
========================================================================
============================================================
[ERROR] Could not find goal 'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals
archive-repository, assemble-repository, verify-repository -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could not find goal
'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals
archive-repository, assemble-repository, verify-repository
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)
at
org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
at
org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
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:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException
========================================================================
============================================================
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
<http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4.0.0.xsd>
xmlns="http://maven.apache.org/POM/4.0.0"
<http://maven.apache.org/POM/4.0.0> xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
<http://www.w3.org/2001/XMLSchema-instance>>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
Benjamin Scott
2016-05-03 13:56:47 UTC
Permalink
You may be better served using the tycho-p2-director-pluigin with materialized-products goal.

https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html


<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>

From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 9:42 AM
To: tycho-***@eclipse.org
Subject: [tycho-user] Could not find goal 'materialize-products'

Windows 7 SP1
Mars 2
Mars 3.3.9
Tycho 0.24.0
JavaFX with FXML RCP
Could not find goal 'materialize-products'

As per this (https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application) wiki page 'materialize-products' should exist as a available goal.

====================================================================================================================================

[ERROR] Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)
at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
at org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
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:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)
[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/MojoNotFoundException

====================================================================================================================================

<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"<http://maven.apache.org/POM/4.0.0http:/maven.apache.org/xsd/maven-4.0.0.xsd> xmlns="http://maven.apache.org/POM/4.0.0"<http://maven.apache.org/POM/4.0.0> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<http://www.w3.org/2001/XMLSchema-instance>>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
paul
2016-05-03 14:29:20 UTC
Permalink
Thanks Benjamin. That got rid of the error at build. But now I don't
have the standalone RCP zip or a products directory. I searched the
workspace and the git repo.
Post by Benjamin Scott
You may be better served using the tycho-p2-director-pluigin with
materialized-products goal.
https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
*Sent:* Tuesday, May 03, 2016 9:42 AM
*Subject:* [tycho-user] Could not find goal 'materialize-products'
Windows 7 SP1
Mars 2
Mars 3.3.9
Tycho 0.24.0
JavaFX with FXML RCP
Could not find goal 'materialize-products'
As per this
(https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application) wiki
page 'materialize-products' should exist as a available goal.
====================================================================================================================================
[ERROR] Could not find goal 'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available
goals archive-repository, assemble-repository, verify-repository -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could not find goal
'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available
goals archive-repository, assemble-repository, verify-repository
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)
at
org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
at
org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
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:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException
====================================================================================================================================
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
<http://maven.apache.org/POM/4.0.0http:/maven.apache.org/xsd/maven-4.0.0.xsd>
xmlns="http://maven.apache.org/POM/4.0.0"
<http://maven.apache.org/POM/4.0.0>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<http://www.w3.org/2001/XMLSchema-instance>>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for the sake
of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart that could
dare such a deed against the Teacher.” - Unknown
Benjamin Scott
2016-05-03 14:45:21 UTC
Permalink
What do you have in your target directory of your repository project after the build?

Based on my .product file my products directory and RCP zip get built in the target directory. I also have a target project with a .target file for referencing my p2 sites. Also, are you using features? If so you will need to make sure your product file references your feature. I think the issue is a matter of configuration between the product file, the manifest, target file and your feature.

Short of knowing your setup I am only giving you a generalization.


From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 10:29 AM
To: Tycho user list
Subject: Re: [tycho-user] Could not find goal 'materialize-products'

Thanks Benjamin. That got rid of the error at build. But now I don't have the standalone RCP zip or a products directory. I searched the workspace and the git repo.



On 5/3/2016 9:56 AM, Benjamin Scott wrote:
You may be better served using the tycho-p2-director-pluigin with materialized-products goal.

https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html


<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 9:42 AM
To: tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
Subject: [tycho-user] Could not find goal 'materialize-products'

Windows 7 SP1
Mars 2
Mars 3.3.9
Tycho 0.24.0
JavaFX with FXML RCP
Could not find goal 'materialize-products'

As per this (https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application) wiki page 'materialize-products' should exist as a available goal.

====================================================================================================================================

[ERROR] Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)
at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
at org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
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:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)
[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/MojoNotFoundException

====================================================================================================================================

<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"<http://maven.apache.org/POM/4.0.0http:/maven.apache.org/xsd/maven-4.0.0.xsd> xmlns="http://maven.apache.org/POM/4.0.0"<http://maven.apache.org/POM/4.0.0> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<http://www.w3.org/2001/XMLSchema-instance>>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>




_______________________________________________

tycho-user mailing list

tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>

To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/tycho-user

--
"Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate<http://dictionary.reference.com/browse/insatiate?s=t> heart that could dare such a deed against the Teacher." - Unknown
paul
2016-05-03 14:54:45 UTC
Permalink
This is the content of my
C:\git/{removedName}/Repo\sites\/{removedName}/.site\target
Post by Benjamin Scott
What do you have in your target directory of your repository project after the build?
Based on my .product file my products directory and RCP zip get built
in the target directory. I also have a target project with a .target
file for referencing my p2 sites. Also, are you using features? If
so you will need to make sure your product file references your
feature. I think the issue is a matter of configuration between the
product file, the manifest, target file and your feature.
Short of knowing your setup I am only giving you a generalization.
*Sent:* Tuesday, May 03, 2016 10:29 AM
*To:* Tycho user list
*Subject:* Re: [tycho-user] Could not find goal 'materialize-products'
Thanks Benjamin. That got rid of the error at build. But now I don't
have the standalone RCP zip or a products directory. I searched the
workspace and the git repo.
You may be better served using the tycho-p2-director-pluigin with
materialized-products goal.
https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
*Sent:* Tuesday, May 03, 2016 9:42 AM
*Subject:* [tycho-user] Could not find goal 'materialize-products'
Windows 7 SP1
Mars 2
Mars 3.3.9
Tycho 0.24.0
JavaFX with FXML RCP
Could not find goal 'materialize-products'
As per this
(https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application)
wiki page 'materialize-products' should exist as a available goal.
====================================================================================================================================
[ERROR] Could not find goal 'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among
available goals archive-repository, assemble-repository,
verify-repository -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could not find goal
'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among
available goals archive-repository, assemble-repository,
verify-repository
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)
at
org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
at
org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
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:128)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException
====================================================================================================================================
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
<http://maven.apache.org/POM/4.0.0http:/maven.apache.org/xsd/maven-4.0.0.xsd>
xmlns="http://maven.apache.org/POM/4.0.0"
<http://maven.apache.org/POM/4.0.0>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<http://www.w3.org/2001/XMLSchema-instance>>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for the sake
of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart that
could dare such a deed against the Teacher.” - Unknown
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for the sake
of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart that could
dare such a deed against the Teacher.” - Unknown
Benjamin Scott
2016-05-03 17:20:50 UTC
Permalink
Is your .product file in this project? Is it configured correctly? What does your pom.xml file look like in your plugin project?


From: tycho-user-***@eclipse.org [mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 10:55 AM
To: Tycho user list
Subject: Re: [tycho-user] Could not find goal 'materialize-products'

This is the content of my C:\git{removedName}Repo\sites\{removedName}.site\target

[cid:***@01D1A53B.464B0470]

On 5/3/2016 10:45 AM, Benjamin Scott wrote:
What do you have in your target directory of your repository project after the build?

Based on my .product file my products directory and RCP zip get built in the target directory. I also have a target project with a .target file for referencing my p2 sites. Also, are you using features? If so you will need to make sure your product file references your feature. I think the issue is a matter of configuration between the product file, the manifest, target file and your feature.

Short of knowing your setup I am only giving you a generalization.


From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 10:29 AM
To: Tycho user list
Subject: Re: [tycho-user] Could not find goal 'materialize-products'

Thanks Benjamin. That got rid of the error at build. But now I don't have the standalone RCP zip or a products directory. I searched the workspace and the git repo.



On 5/3/2016 9:56 AM, Benjamin Scott wrote:
You may be better served using the tycho-p2-director-pluigin with materialized-products goal.

https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html


<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>

From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 9:42 AM
To: tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
Subject: [tycho-user] Could not find goal 'materialize-products'

Windows 7 SP1
Mars 2
Mars 3.3.9
Tycho 0.24.0
JavaFX with FXML RCP
Could not find goal 'materialize-products'

As per this (https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application) wiki page 'materialize-products' should exist as a available goal.

====================================================================================================================================

[ERROR] Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)
at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
at org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
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:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)
[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/MojoNotFoundException

====================================================================================================================================

<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"<http://maven.apache.org/POM/4.0.0http:/maven.apache.org/xsd/maven-4.0.0.xsd> xmlns="http://maven.apache.org/POM/4.0.0"<http://maven.apache.org/POM/4.0.0> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<http://www.w3.org/2001/XMLSchema-instance>>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>





_______________________________________________

tycho-user mailing list

tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>

To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/tycho-user

--
"Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate<http://dictionary.reference.com/browse/insatiate?s=t> heart that could dare such a deed against the Teacher." - Unknown




_______________________________________________

tycho-user mailing list

tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>

To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/tycho-user

--
"Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate<http://dictionary.reference.com/browse/insatiate?s=t> heart that could dare such a deed against the Teacher." - Unknown
paul
2016-05-03 17:49:14 UTC
Permalink
Below is the .product file. Not sure which plugin pom.xml you would like
to see. I have 51 regular plugins, 1 e4App plugin and 11 branding plugins.

<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>

<product name="Usque" uid="{removedName}.app-product"
id="{removedName}.app.product"
application="org.eclipse.fx.ui.workbench.fx.application" version="1.0.0"
useFeatures="true" includeLaunchers="false">


<configIni use="default">
</configIni>

<launcherArgs>
<programArgs>-nosplash
</programArgs>
<vmArgs>-Dorg.osgi.framework.bundle.parent=ext
</vmArgs>
</launcherArgs>

<windowImages/>


<launcher>
<solaris/>
<win useIco="false">
<bmp/>
</win>
</launcher>


<vm>
<macos
include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos>
<windows
include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</windows>
</vm>


<plugins>
</plugins>

<features>
<feature id="org.eclipse.fx.runtime.e4fx.feature"/>
<feature id="{removedName}.appFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.ccmp.core.modelFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.animationFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.core.modelFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.deploymentFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.financialFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.operationsFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.renderingFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.simulationFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.structuralFeature"
version="0.0.1.qualifier"/>
</features>

<configurations>
<plugin id="org.eclipse.core.runtime" autoStart="true"
startLevel="0" />
<plugin id="org.eclipse.equinox.common" autoStart="true"
startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true"
startLevel="2" />
<plugin id="org.eclipse.equinox.event" autoStart="true"
startLevel="2" />
<plugin id="org.eclipse.equinox.simpleconfigurator"
autoStart="true" startLevel="1" />
<plugin id="org.eclipse.osgi" autoStart="true" startLevel="-1" />
</configurations>

<preferencesInfo>
<targetfile overwrite="false"/>
</preferencesInfo>

<cssInfo>
</cssInfo>

</product>
Post by Benjamin Scott
Is your .product file in this project? Is it configured correctly?
What does your pom.xml file look like in your plugin project?
*Sent:* Tuesday, May 03, 2016 10:55 AM
*To:* Tycho user list
*Subject:* Re: [tycho-user] Could not find goal 'materialize-products'
This is the content of my
C:\git/{removedName}/Repo\sites\/{removedName}/.site\target
What do you have in your target directory of your repository
project after the build?
Based on my .product file my products directory and RCP zip get
built in the target directory. I also have a target project with a
.target file for referencing my p2 sites. Also, are you using
features? If so you will need to make sure your product file
references your feature. I think the issue is a matter of
configuration between the product file, the manifest, target file
and your feature.
Short of knowing your setup I am only giving you a generalization.
*Sent:* Tuesday, May 03, 2016 10:29 AM
*To:* Tycho user list
*Subject:* Re: [tycho-user] Could not find goal 'materialize-products'
Thanks Benjamin. That got rid of the error at build. But now I
don't have the standalone RCP zip or a products directory. I
searched the workspace and the git repo.
You may be better served using the tycho-p2-director-pluigin
with materialized-products goal.
https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
*Sent:* Tuesday, May 03, 2016 9:42 AM
*Subject:* [tycho-user] Could not find goal 'materialize-products'
Windows 7 SP1
Mars 2
Mars 3.3.9
Tycho 0.24.0
JavaFX with FXML RCP
Could not find goal 'materialize-products'
As per this
(https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application)
wiki page 'materialize-products' should exist as a available goal.
====================================================================================================================================
[ERROR] Could not find goal 'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among
available goals archive-repository, assemble-repository,
verify-repository -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could not find
goal 'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among
available goals archive-repository, assemble-repository,
verify-repository
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)
at
org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
at
org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
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:128)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException
====================================================================================================================================
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
<http://maven.apache.org/POM/4.0.0http:/maven.apache.org/xsd/maven-4.0.0.xsd>
xmlns="http://maven.apache.org/POM/4.0.0"
<http://maven.apache.org/POM/4.0.0>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<http://www.w3.org/2001/XMLSchema-instance>>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for the
sake of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart that
could dare such a deed against the Teacher.” - Unknown
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for the sake
of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart that
could dare such a deed against the Teacher.” - Unknown
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for the sake
of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart that could
dare such a deed against the Teacher.” - Unknown
Tom Bryan (tombry)
2016-05-03 18:53:22 UTC
Permalink
I don't know all of the options for configuring Eclipse products and driving Tycho builds, but I would expect that if you're creating an RCP application, your .product file would include any Eclipse features you use. For example,

<feature id="org.eclipse.rcp"/>
<feature id="org.eclipse.help"/>

At least, that's how my RCP product does is set up, and it works for us. :)

---Tom


On 5/3/16, 1:49 PM, "tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> on behalf of paul" <tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> on behalf of ***@roubekas.org<mailto:***@roubekas.org>> wrote:

Below is the .product file. Not sure which plugin pom.xml you would like to see. I have 51 regular plugins, 1 e4App plugin and 11 branding plugins.

<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>

<product name="Usque" uid="{removedName}.app-product" id="{removedName}.app.product" application="org.eclipse.fx.ui.workbench.fx.application" version="1.0.0" useFeatures="true" includeLaunchers="false">


<configIni use="default">
</configIni>

<launcherArgs>
<programArgs>-nosplash
</programArgs>
<vmArgs>-Dorg.osgi.framework.bundle.parent=ext
</vmArgs>
</launcherArgs>

<windowImages/>


<launcher>
<solaris/>
<win useIco="false">
<bmp/>
</win>
</launcher>


<vm>
<macos include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos>
<windows include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</windows>
</vm>


<plugins>
</plugins>

<features>
<feature id="org.eclipse.fx.runtime.e4fx.feature"/>
<feature id="{removedName}.appFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.ccmp.core.modelFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.animationFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.core.modelFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.deploymentFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.financialFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.operationsFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.renderingFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.simulationFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.structuralFeature" version="0.0.1.qualifier"/>
</features>

<configurations>
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
<plugin id="org.eclipse.osgi" autoStart="true" startLevel="-1" />
</configurations>

<preferencesInfo>
<targetfile overwrite="false"/>
</preferencesInfo>

<cssInfo>
</cssInfo>

</product>


On 5/3/2016 1:20 PM, Benjamin Scott wrote:
Is your .product file in this project? Is it configured correctly? What does your pom.xml file look like in your plugin project?


From: tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 10:55 AM
To: Tycho user list
Subject: Re: [tycho-user] Could not find goal 'materialize-products'

This is the content of my C:\git{removedName}Repo\sites\{removedName}.site\target

[cid:***@roubekas.org]

On 5/3/2016 10:45 AM, Benjamin Scott wrote:
What do you have in your target directory of your repository project after the build?

Based on my .product file my products directory and RCP zip get built in the target directory. I also have a target project with a .target file for referencing my p2 sites. Also, are you using features? If so you will need to make sure your product file references your feature. I think the issue is a matter of configuration between the product file, the manifest, target file and your feature.

Short of knowing your setup I am only giving you a generalization.


From:tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 10:29 AM
To: Tycho user list
Subject: Re: [tycho-user] Could not find goal 'materialize-products'

Thanks Benjamin. That got rid of the error at build. But now I don't have the standalone RCP zip or a products directory. I searched the workspace and the git repo.



On 5/3/2016 9:56 AM, Benjamin Scott wrote:
You may be better served using the tycho-p2-director-pluigin with materialized-products goal.

<https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html>https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html


<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>

From:tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 9:42 AM
To: tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
Subject: [tycho-user] Could not find goal 'materialize-products'

Windows 7 SP1
Mars 2
Mars 3.3.9
Tycho 0.24.0
JavaFX with FXML RCP
Could not find goal 'materialize-products'

As per this (https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application) wiki page 'materialize-products' should exist as a available goal.

====================================================================================================================================

[ERROR] Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)
at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
at org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
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:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)
[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/MojoNotFoundException

====================================================================================================================================

<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"<http://maven.apache.org/POM/4.0.0http:/maven.apache.org/xsd/maven-4.0.0.xsd> xmlns="http://maven.apache.org/POM/4.0.0"<http://maven.apache.org/POM/4.0.0> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<http://www.w3.org/2001/XMLSchema-instance>>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>





_______________________________________________

tycho-user mailing list

tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>

To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/tycho-user

--
"Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate<http://dictionary.reference.com/browse/insatiate?s=t> heart that could dare such a deed against the Teacher." - Unknown




_______________________________________________

tycho-user mailing list

tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>

To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/tycho-user

--
"Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate<http://dictionary.reference.com/browse/insatiate?s=t> heart that could dare such a deed against the Teacher." - Unknown



_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


--
"Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate<http://dictionary.reference.com/browse/insatiate?s=t> heart that could dare such a deed against the Teacher." - Unknown
paul
2016-05-03 19:01:02 UTC
Permalink
@ Tom
I am confused. Did you see, or not see, the 10 features just after the
<plugins></plugins> XML stanza?
Post by Tom Bryan (tombry)
I don't know all of the options for configuring Eclipse products and
driving Tycho builds, but I would expect that if you're creating an
RCP application, your .product file would include any Eclipse features
you use. For example,
<feature id="org.eclipse.rcp"/>
<feature id="org.eclipse.help"/>
At least, that's how my RCP product does is set up, and it works for us. :)
---Tom
Below is the .product file. Not sure which plugin pom.xml you
would like to see. I have 51 regular plugins, 1 e4App plugin and
11 branding plugins.
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product name="Usque" uid="{removedName}.app-product"
id="{removedName}.app.product"
application="org.eclipse.fx.ui.workbench.fx.application"
version="1.0.0" useFeatures="true" includeLaunchers="false">
<configIni use="default">
</configIni>
<launcherArgs>
<programArgs>-nosplash
</programArgs>
<vmArgs>-Dorg.osgi.framework.bundle.parent=ext
</vmArgs>
</launcherArgs>
<windowImages/>
<launcher>
<solaris/>
<win useIco="false">
<bmp/>
</win>
</launcher>
<vm>
<macos
include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos>
<windows
include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</windows>
</vm>
<plugins>
</plugins>
<features>
<feature id="org.eclipse.fx.runtime.e4fx.feature"/>
<feature id="{removedName}.appFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.ccmp.core.modelFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.animationFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.core.modelFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.deploymentFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.financialFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.operationsFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.renderingFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.simulationFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.structuralFeature"
version="0.0.1.qualifier"/>
</features>
<configurations>
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true"
startLevel="2" />
<plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.simpleconfigurator"
autoStart="true" startLevel="1" />
<plugin id="org.eclipse.osgi" autoStart="true"
startLevel="-1" />
</configurations>
<preferencesInfo>
<targetfile overwrite="false"/>
</preferencesInfo>
<cssInfo>
</cssInfo>
</product>
Is your .product file in this project? Is it configured
correctly? What does your pom.xml file look like in your plugin
project?
*Sent:* Tuesday, May 03, 2016 10:55 AM
*To:* Tycho user list
*Subject:* Re: [tycho-user] Could not find goal
'materialize-products'
This is the content of my
C:\git/{removedName}/Repo\sites\/{removedName}/.site\target
What do you have in your target directory of your repository
project after the build?
Based on my .product file my products directory and RCP zip
get built in the target directory. I also have a target
project with a .target file for referencing my p2 sites.
Also, are you using features? If so you will need to make
sure your product file references your feature. I think the
issue is a matter of configuration between the product file,
the manifest, target file and your feature.
Short of knowing your setup I am only giving you a
generalization.
*Sent:* Tuesday, May 03, 2016 10:29 AM
*To:* Tycho user list
*Subject:* Re: [tycho-user] Could not find goal
'materialize-products'
Thanks Benjamin. That got rid of the error at build. But
now I don't have the standalone RCP zip or a products
directory. I searched the workspace and the git repo.
You may be better served using the
tycho-p2-director-pluigin with materialized-products goal.
https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
*Sent:* Tuesday, May 03, 2016 9:42 AM
*Subject:* [tycho-user] Could not find goal
'materialize-products'
Windows 7 SP1
Mars 2
Mars 3.3.9
Tycho 0.24.0
JavaFX with FXML RCP
Could not find goal 'materialize-products'
As per this
(https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application)
wiki page 'materialize-products' should exist as a
available goal.
====================================================================================================================================
[ERROR] Could not find goal 'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among
available goals archive-repository, assemble-repository,
verify-repository -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could not
find goal 'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among
available goals archive-repository, assemble-repository,
verify-repository
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)
at
org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
at
org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
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:128)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException
====================================================================================================================================
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
<http://maven.apache.org/POM/4.0.0http:/maven.apache.org/xsd/maven-4.0.0.xsd>
xmlns="http://maven.apache.org/POM/4.0.0"
<http://maven.apache.org/POM/4.0.0>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<http://www.w3.org/2001/XMLSchema-instance>>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for
the sake of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart
that could dare such a deed against the Teacher.” - Unknown
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for the
sake of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart that
could dare such a deed against the Teacher.” - Unknown
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for the
sake of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart that
could dare such a deed against the Teacher.” - Unknown
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for the sake
of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart that could
dare such a deed against the Teacher.” - Unknown
Tom Bryan (tombry)
2016-05-03 20:59:34 UTC
Permalink
I did, but I saw that you said, "That got rid of the error at build. But now I don't have the standalone RCP zip or a products directory." That is, I thought that you wanted to build an Eclipse RCP that also includes your features and the fx runtime. In that case, I expected that your product would also include org.eclipse.rcp and any other Eclipse features you're using.

But maybe I've misunderstood your set-up.

---Tom

On 5/3/16, 3:01 PM, "tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> on behalf of paul" <tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> on behalf of ***@roubekas.org<mailto:***@roubekas.org>> wrote:

@ Tom
I am confused. Did you see, or not see, the 10 features just after the <plugins></plugins> XML stanza?



On 5/3/2016 2:53 PM, Tom Bryan (tombry) wrote:
I don't know all of the options for configuring Eclipse products and driving Tycho builds, but I would expect that if you're creating an RCP application, your .product file would include any Eclipse features you use. For example,

<feature id="org.eclipse.rcp"/>
<feature id="org.eclipse.help"/>

At least, that's how my RCP product does is set up, and it works for us. :)

---Tom


On 5/3/16, 1:49 PM, "tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> on behalf of paul" <tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> on behalf of ***@roubekas.org<mailto:***@roubekas.org>> wrote:

Below is the .product file. Not sure which plugin pom.xml you would like to see. I have 51 regular plugins, 1 e4App plugin and 11 branding plugins.

<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>

<product name="Usque" uid="{removedName}.app-product" id="{removedName}.app.product" application="org.eclipse.fx.ui.workbench.fx.application" version="1.0.0" useFeatures="true" includeLaunchers="false">


<configIni use="default">
</configIni>

<launcherArgs>
<programArgs>-nosplash
</programArgs>
<vmArgs>-Dorg.osgi.framework.bundle.parent=ext
</vmArgs>
</launcherArgs>

<windowImages/>


<launcher>
<solaris/>
<win useIco="false">
<bmp/>
</win>
</launcher>


<vm>
<macos include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos>
<windows include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</windows>
</vm>


<plugins>
</plugins>

<features>
<feature id="org.eclipse.fx.runtime.e4fx.feature"/>
<feature id="{removedName}.appFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.ccmp.core.modelFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.animationFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.core.modelFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.deploymentFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.financialFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.operationsFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.renderingFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.simulationFeature" version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.structuralFeature" version="0.0.1.qualifier"/>
</features>

<configurations>
<plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
<plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
<plugin id="org.eclipse.osgi" autoStart="true" startLevel="-1" />
</configurations>

<preferencesInfo>
<targetfile overwrite="false"/>
</preferencesInfo>

<cssInfo>
</cssInfo>

</product>


On 5/3/2016 1:20 PM, Benjamin Scott wrote:
Is your .product file in this project? Is it configured correctly? What does your pom.xml file look like in your plugin project?


From:<mailto:tycho-user-***@eclipse.org>tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [<mailto:tycho-user-***@eclipse.org>mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 10:55 AM
To: Tycho user list
Subject: Re: [tycho-user] Could not find goal 'materialize-products'

This is the content of my C:\git{removedName}Repo\sites\{removedName}.site\target

[cid:***@roubekas.org]

On 5/3/2016 10:45 AM, Benjamin Scott wrote:
What do you have in your target directory of your repository project after the build?

Based on my .product file my products directory and RCP zip get built in the target directory. I also have a target project with a .target file for referencing my p2 sites. Also, are you using features? If so you will need to make sure your product file references your feature. I think the issue is a matter of configuration between the product file, the manifest, target file and your feature.

Short of knowing your setup I am only giving you a generalization.


From:<mailto:tycho-user-***@eclipse.org>tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 10:29 AM
To: Tycho user list
Subject: Re: [tycho-user] Could not find goal 'materialize-products'

Thanks Benjamin. That got rid of the error at build. But now I don't have the standalone RCP zip or a products directory. I searched the workspace and the git repo.



On 5/3/2016 9:56 AM, Benjamin Scott wrote:
You may be better served using the tycho-p2-director-pluigin with materialized-products goal.

https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html


<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>

From:<mailto:tycho-user-***@eclipse.org>tycho-user-***@eclipse.org<mailto:tycho-user-***@eclipse.org> [mailto:tycho-user-***@eclipse.org] On Behalf Of paul
Sent: Tuesday, May 03, 2016 9:42 AM
To: tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
Subject: [tycho-user] Could not find goal 'materialize-products'

Windows 7 SP1
Mars 2
Mars 3.3.9
Tycho 0.24.0
JavaFX with FXML RCP
Could not find goal 'materialize-products'

As per this (https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application) wiki page 'materialize-products' should exist as a available goal.

====================================================================================================================================

[ERROR] Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)
at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
at org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
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:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)
[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/MojoNotFoundException

====================================================================================================================================

<project xsi:schemaLocation=<http://maven.apache.org/POM/4.0.0http:/maven.apache.org/xsd/maven-4.0.0.xsd>"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"<http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4.0.0.xsd> xmlns="http://maven.apache.org/POM/4.0.0"<http://maven.apache.org/POM/4.0.0> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<http://www.w3.org/2001/XMLSchema-instance>>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>





_______________________________________________

tycho-user mailing list

tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>

To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/tycho-user

--
"Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate<http://dictionary.reference.com/browse/insatiate?s=t> heart that could dare such a deed against the Teacher." - Unknown




_______________________________________________

tycho-user mailing list

tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>

To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/tycho-user

--
"Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate<http://dictionary.reference.com/browse/insatiate?s=t> heart that could dare such a deed against the Teacher." - Unknown



_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


--
"Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate<http://dictionary.reference.com/browse/insatiate?s=t> heart that could dare such a deed against the Teacher." - Unknown





_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


--
"Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate<http://dictionary.reference.com/browse/insatiate?s=t> heart that could dare such a deed against the Teacher." - Unknown
paul
2016-05-03 21:16:08 UTC
Permalink
Ok, got it. Here it the gap. I am new to Eclipse development. I don't
know what other features to include for my RCP e4 JavaFX FXML. Up to
this point all development has been done in the Eclipse IDE. Your
answer helps a little. How do I properly discover what "other Eclipse
features" I am using that need explicit listing in the .product file?
The "Add Required" button did nothing.
Post by Tom Bryan (tombry)
I did, but I saw that you said, "That got rid of the error at build.
But now I don't have the standalone RCP zip or a products directory."
That is, I thought that you wanted to build an Eclipse RCP that also
includes your features and the fx runtime. In that case, I expected
that your product would also include org.eclipse.rcp and any other
Eclipse features you're using.
But maybe I've misunderstood your set-up.
---Tom
@ Tom
I am confused. Did you see, or not see, the 10 features just
after the <plugins></plugins> XML stanza?
Post by Tom Bryan (tombry)
I don't know all of the options for configuring Eclipse products
and driving Tycho builds, but I would expect that if you're
creating an RCP application, your .product file would include any
Eclipse features you use. For example,
<feature id="org.eclipse.rcp"/>
<feature id="org.eclipse.help"/>
At least, that's how my RCP product does is set up, and it works for us. :)
---Tom
Below is the .product file. Not sure which plugin pom.xml
you would like to see. I have 51 regular plugins, 1 e4App
plugin and 11 branding plugins.
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product name="Usque" uid="{removedName}.app-product"
id="{removedName}.app.product"
application="org.eclipse.fx.ui.workbench.fx.application"
version="1.0.0" useFeatures="true" includeLaunchers="false">
<configIni use="default">
</configIni>
<launcherArgs>
<programArgs>-nosplash
</programArgs>
<vmArgs>-Dorg.osgi.framework.bundle.parent=ext
</vmArgs>
</launcherArgs>
<windowImages/>
<launcher>
<solaris/>
<win useIco="false">
<bmp/>
</win>
</launcher>
<vm>
<macos
include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</macos>
<windows
include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</windows>
</vm>
<plugins>
</plugins>
<features>
<feature id="org.eclipse.fx.runtime.e4fx.feature"/>
<feature id="{removedName}.appFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.ccmp.core.modelFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.animationFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.core.modelFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.deploymentFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.financialFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.operationsFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.renderingFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.simulationFeature"
version="0.0.1.qualifier"/>
<feature id="{removedName}.secm.structuralFeature"
version="0.0.1.qualifier"/>
</features>
<configurations>
<plugin id="org.eclipse.core.runtime" autoStart="true"
startLevel="0" />
<plugin id="org.eclipse.equinox.common"
autoStart="true" startLevel="2" />
<plugin id="org.eclipse.equinox.ds" autoStart="true"
startLevel="2" />
<plugin id="org.eclipse.equinox.event" autoStart="true"
startLevel="2" />
<plugin id="org.eclipse.equinox.simpleconfigurator"
autoStart="true" startLevel="1" />
<plugin id="org.eclipse.osgi" autoStart="true"
startLevel="-1" />
</configurations>
<preferencesInfo>
<targetfile overwrite="false"/>
</preferencesInfo>
<cssInfo>
</cssInfo>
</product>
Post by Benjamin Scott
Is your .product file in this project? Is it configured
correctly? What does your pom.xml file look like in your
plugin project?
*Sent:* Tuesday, May 03, 2016 10:55 AM
*To:* Tycho user list
*Subject:* Re: [tycho-user] Could not find goal
'materialize-products'
This is the content of my
C:\git/{removedName}/Repo\sites\/{removedName}/.site\target
What do you have in your target directory of your
repository project after the build?
Based on my .product file my products directory and RCP
zip get built in the target directory. I also have a
target project with a .target file for referencing my p2
sites. Also, are you using features? If so you will
need to make sure your product file references your
feature. I think the issue is a matter of configuration
between the product file, the manifest, target file and
your feature.
Short of knowing your setup I am only giving you a
generalization.
*Sent:* Tuesday, May 03, 2016 10:29 AM
*To:* Tycho user list
*Subject:* Re: [tycho-user] Could not find goal
'materialize-products'
Thanks Benjamin. That got rid of the error at build. But
now I don't have the standalone RCP zip or a products
directory. I searched the workspace and the git repo.
You may be better served using the
tycho-p2-director-pluigin with materialized-products
goal.
https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
Of *paul
*Sent:* Tuesday, May 03, 2016 9:42 AM
*Subject:* [tycho-user] Could not find goal
'materialize-products'
Windows 7 SP1
Mars 2
Mars 3.3.9
Tycho 0.24.0
JavaFX with FXML RCP
Could not find goal 'materialize-products'
As per this
(https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application)
wiki page 'materialize-products' should exist as a
available goal.
====================================================================================================================================
[ERROR] Could not find goal 'materialize-products'
in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0
among available goals archive-repository,
assemble-repository, verify-repository -> [Help 1]
org.apache.maven.plugin.MojoNotFoundException: Could
not find goal 'materialize-products' in plugin
org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0
among available goals archive-repository,
assemble-repository, verify-repository
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)
at
org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)
at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)
at
org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
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:128)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at
org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at
org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
java.lang.reflect.Method.invoke(Method.java:497)
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)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException
====================================================================================================================================
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
<http://maven.apache.org/POM/4.0.0>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <http://www.w3.org/2001/XMLSchema-instance>>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>com.myApp</groupId>
<artifactId>com.myApp.releng.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<repositoryName>Usque</repositoryName>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged
himself for the sake of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t>
heart that could dare such a deed against the Teacher.”
- Unknown
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself
for the sake of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart
that could dare such a deed against the Teacher.” - Unknown
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for
the sake of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart
that could dare such a deed against the Teacher.” - Unknown
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
“Consider, you who love money, the one who hanged himself for the
sake of it. Shun the insatiate
<http://dictionary.reference.com/browse/insatiate?s=t> heart that
could dare such a deed against the Teacher.” - Unknown
_______________________________________________
tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
Loading...