khady lo seck
2017-05-12 17:29:08 UTC
Hello,
I am wondering if anybody ever stumbled across this problem. All projects
build successfully but just before zipping the product it claims the
product 1.2.2 requires new version of it 1.2.6 but it could not be found. I
am quite perplexed as to how 1.2.2 is still the version of the product. I
got rid of it in the Manifest and pom files as well as in m2 cache. They
all show version 1.2.6 now. But at runtime the ghost of 1.2.2 versions
reappears.
Snippet of mvn install -X below
[INFO] Installing product com.company.rcp for environment
win32/win32/x86_64 to
C:\Users\klseck\workspace-maven\builder\target\products\com.company.rcp\win32\win32\x86_64
[DEBUG] Calling director with arguments: [-metadataRepository,
file:/C:/Users/klseck/workspace-maven/builder/target/,file:/C:/Users/klseck/workspace-maven/builder/target/targetPlatformRepository/,
-artifactRepository,
file:/C:/Users/klseck/workspace-maven/builder/target/,file:/resolution-context-***@C%253A%255CUsers%255Cklseck%255Cworkspace-maven%255Cbuilder,file:/C:/Users/klseck/dev/projects/bbcode-lite-parser/target/,file:/C:/Users/klseck/dev/projects/mcd-git-connection/target/,file:/C:/Users/klseck/dev/projects/generic_java_utilities/target/,file:/C:/Users/klseck/dev/projects/generic-eclipse-utilities/target/,file:/C:/Users/klseck/dev/projects/salesforce-oauth2-browser-component/target/,file:/C:/Users/klseck/dev/projects/company-folder-builder/target/,file:/C:/Users/klseck/dev/projects/iar-translator/target/,file:/C:/Users/klseck/dev/projects/component-tree-gui/target/,file:/C:/Users/klseck/dev/projects/component_tree_model/target/,file:/C:/Users/klseck/dev/projects/mcdparser/target/,file:/C:/Users/klseck/dev/projects/ucrtos-plugin/target/,file:/C:/Users/klseck/workspace-maven/builder/target/,file:/C:/Users/klseck/.m2/repository/,
-installIU, com.company.rcp, -destination,
C:\Users\klseck\workspace-maven\builder\target\products\com.company.rcp\win32\win32\x86_64,
-profile, DefaultProfile, -profileProperties,
org.eclipse.update.install.features=true, -roaming, -p2.os, win32, -p2.ws,
win32, -p2.arch, x86_64]
Installing com.company.rcp 1.2.2.
Installation failed.
Cannot complete the install because one or more required items could not be
found.
Software being installed: company Project Builder 1.2.2 (com.company.rcp
1.2.2)
Missing requirement: Company Project Builder 1.2.2 (com.company.rcp 1.2.2)
requires 'com.company.rcp [1.2.6.201705121340]' but it could not be found
Application failed, log file location:
C:\Users\klseck\workspace-maven\maven.parent\workspace\.metadata\.log
!ENTRY org.eclipse.equinox.p2.director 4 10053 2017-05-12 09:43:03.272
!MESSAGE Cannot complete the install because one or more required items
could not be found.
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2017-05-12 09:43:03.272
!MESSAGE Software being installed: Company Project Builder 1.2.2
(com.company.rcp 1.2.2)
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2017-05-12 09:43:03.273
!MESSAGE Missing requirement: Company Project Builder 1.2.2
(com.company.rcp 1.2.2) requires 'com.company.rcp [1.2.6.201705121340]' but
it could not be found
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] com.company.maven.parent ........................... SUCCESS [
3.636 s]
[INFO] com.company.bbcode.parser .......................... SUCCESS [
3.400 s]
[INFO] com.company.toolkit ................................ SUCCESS [
9.581 s]
[INFO] com.company.eclipse.toolkit ........................ SUCCESS [
5.153 s]
[INFO] com.company.export.folder ................... SUCCESS [ 3.334 s]
[INFO] com.company.export.iar ...................... SUCCESS [ 3.473 s]
[INFO] com.company.component.model.git .................... SUCCESS [
4.275 s]
[INFO] com.company.oauth2.connector ....................... SUCCESS [
3.959 s]
[INFO] com.company.mcd.model ....................... SUCCESS [ 8.983 s]
[INFO] com.company.gui.selector .................... SUCCESS [ 5.532 s]
[INFO] com.company.mcdparser ....................... SUCCESS [ 7.359 s]
[INFO] com.company.plugin .......................... SUCCESS [ 12.947 s]
[INFO] com.company.rcp ............................. SUCCESS [ 5.515 s]
[INFO] com.company.rcp.builder ............................ FAILURE [
16.561 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:48 min
[INFO] Finished at: 2017-05-12T09:43:03-04:00
[INFO] Final Memory: 153M/1189M
[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.builder: Installation of
product com.company.rcp for environment win32/win32/x86_64 failed: Call to
p2 director application failed with exit code 13. Program arguments were:
[-metadataRepository,
file:/C:/Users/klseck/workspace-maven/builder/target/,file:/C:/Users/klseck/workspace-maven/builder/target/targetPlatformRepository/,
-artifactRepository,
file:/C:/Users/klseck/workspace-maven/builder/target/,file:/resolution-context-***@C
%253A%255CUsers%255Cklseck%255Cworkspace-maven%255Cbuilder,
I am wondering if anybody ever stumbled across this problem. All projects
build successfully but just before zipping the product it claims the
product 1.2.2 requires new version of it 1.2.6 but it could not be found. I
am quite perplexed as to how 1.2.2 is still the version of the product. I
got rid of it in the Manifest and pom files as well as in m2 cache. They
all show version 1.2.6 now. But at runtime the ghost of 1.2.2 versions
reappears.
Snippet of mvn install -X below
[INFO] Installing product com.company.rcp for environment
win32/win32/x86_64 to
C:\Users\klseck\workspace-maven\builder\target\products\com.company.rcp\win32\win32\x86_64
[DEBUG] Calling director with arguments: [-metadataRepository,
file:/C:/Users/klseck/workspace-maven/builder/target/,file:/C:/Users/klseck/workspace-maven/builder/target/targetPlatformRepository/,
-artifactRepository,
file:/C:/Users/klseck/workspace-maven/builder/target/,file:/resolution-context-***@C%253A%255CUsers%255Cklseck%255Cworkspace-maven%255Cbuilder,file:/C:/Users/klseck/dev/projects/bbcode-lite-parser/target/,file:/C:/Users/klseck/dev/projects/mcd-git-connection/target/,file:/C:/Users/klseck/dev/projects/generic_java_utilities/target/,file:/C:/Users/klseck/dev/projects/generic-eclipse-utilities/target/,file:/C:/Users/klseck/dev/projects/salesforce-oauth2-browser-component/target/,file:/C:/Users/klseck/dev/projects/company-folder-builder/target/,file:/C:/Users/klseck/dev/projects/iar-translator/target/,file:/C:/Users/klseck/dev/projects/component-tree-gui/target/,file:/C:/Users/klseck/dev/projects/component_tree_model/target/,file:/C:/Users/klseck/dev/projects/mcdparser/target/,file:/C:/Users/klseck/dev/projects/ucrtos-plugin/target/,file:/C:/Users/klseck/workspace-maven/builder/target/,file:/C:/Users/klseck/.m2/repository/,
-installIU, com.company.rcp, -destination,
C:\Users\klseck\workspace-maven\builder\target\products\com.company.rcp\win32\win32\x86_64,
-profile, DefaultProfile, -profileProperties,
org.eclipse.update.install.features=true, -roaming, -p2.os, win32, -p2.ws,
win32, -p2.arch, x86_64]
Installing com.company.rcp 1.2.2.
Installation failed.
Cannot complete the install because one or more required items could not be
found.
Software being installed: company Project Builder 1.2.2 (com.company.rcp
1.2.2)
Missing requirement: Company Project Builder 1.2.2 (com.company.rcp 1.2.2)
requires 'com.company.rcp [1.2.6.201705121340]' but it could not be found
Application failed, log file location:
C:\Users\klseck\workspace-maven\maven.parent\workspace\.metadata\.log
!ENTRY org.eclipse.equinox.p2.director 4 10053 2017-05-12 09:43:03.272
!MESSAGE Cannot complete the install because one or more required items
could not be found.
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2017-05-12 09:43:03.272
!MESSAGE Software being installed: Company Project Builder 1.2.2
(com.company.rcp 1.2.2)
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2017-05-12 09:43:03.273
!MESSAGE Missing requirement: Company Project Builder 1.2.2
(com.company.rcp 1.2.2) requires 'com.company.rcp [1.2.6.201705121340]' but
it could not be found
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] com.company.maven.parent ........................... SUCCESS [
3.636 s]
[INFO] com.company.bbcode.parser .......................... SUCCESS [
3.400 s]
[INFO] com.company.toolkit ................................ SUCCESS [
9.581 s]
[INFO] com.company.eclipse.toolkit ........................ SUCCESS [
5.153 s]
[INFO] com.company.export.folder ................... SUCCESS [ 3.334 s]
[INFO] com.company.export.iar ...................... SUCCESS [ 3.473 s]
[INFO] com.company.component.model.git .................... SUCCESS [
4.275 s]
[INFO] com.company.oauth2.connector ....................... SUCCESS [
3.959 s]
[INFO] com.company.mcd.model ....................... SUCCESS [ 8.983 s]
[INFO] com.company.gui.selector .................... SUCCESS [ 5.532 s]
[INFO] com.company.mcdparser ....................... SUCCESS [ 7.359 s]
[INFO] com.company.plugin .......................... SUCCESS [ 12.947 s]
[INFO] com.company.rcp ............................. SUCCESS [ 5.515 s]
[INFO] com.company.rcp.builder ............................ FAILURE [
16.561 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:48 min
[INFO] Finished at: 2017-05-12T09:43:03-04:00
[INFO] Final Memory: 153M/1189M
[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.builder: Installation of
product com.company.rcp for environment win32/win32/x86_64 failed: Call to
p2 director application failed with exit code 13. Program arguments were:
[-metadataRepository,
file:/C:/Users/klseck/workspace-maven/builder/target/,file:/C:/Users/klseck/workspace-maven/builder/target/targetPlatformRepository/,
-artifactRepository,
file:/C:/Users/klseck/workspace-maven/builder/target/,file:/resolution-context-***@C
%253A%255CUsers%255Cklseck%255Cworkspace-maven%255Cbuilder,
--
Best regards,
*Khady L. Seck*
Full Stack Java Developer
Tel: 438-830-4117
Best regards,
*Khady L. Seck*
Full Stack Java Developer
Tel: 438-830-4117