Discussion:
[tycho-user] Tycho can't find .product file ID specified under materialize-products although it has on previous runs
khady lo seck
2017-04-14 12:52:19 UTC
Permalink
Trying to create .zip file of my rcp app in Maven Tycho. All projects were
built with success except when I add the tycho-p2-director-plugin to
materialize the product to get a .zip folder with the app to run. The
.product file name and the input product ID match exactly
com.company.ucrtos.rcp.product but it doesn't get past this error. It was
finding the product all while I was solving the missing dependencies. Once
I got all of those sorted out. It declared that the same product it was
noticing missing dependencies is now just non-existent.

[INFO] --- tycho-p2-repository-plugin:1.0.0:archive-repository
(default-archive-repository) @ com.company.rcp.product ---
[INFO] Building zip:
C:\Users\klseck\workspace-maven\com.company.rcp.product\target\com.company.rcp.product-1.0.0-SNAPSHOT.zip
[INFO]
[INFO] --- tycho-p2-director-plugin:1.0.0:materialize-products
(materialize-products) @ com.company.rcp.product ---
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] com.company.maven.parent ........................... SUCCESS [
2.368 s]
[INFO] com.company.ucrtos.rcp ............................. SUCCESS [
2.229 s]
[INFO] com.company.rcp.product ............................ FAILURE [
17.742 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 01:19 min
[INFO] Finished at: 2017-04-13T18:55:43-04:00
[INFO] Final Memory: 134M/1322M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-director-plugin:1.0.0:materialize-products
(materialize-products) on project com.company.rcp.product: Product with id
'com.company.ucrtos.rcp.product' does not exist in the project -> [Help 1]

*Issue on StackOverflow with more details*

http://stackoverflow.com/questions/43376593/tycho-cant-find-product-file-id-specified-under-materialize-products-although
--
Best regards,

*Khady L. Seck*
Full Stack Java Developer
Tel: 438-830-4117
Loading...