Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 500471

Summary: [SysML 1.4] problem of compilation
Product: [Modeling] Papyrus Reporter: Francois Le Fevre <francois.le-fevre>
Component: ComponentsAssignee: Francois Le Fevre <francois.le-fevre>
Status: CLOSED FIXED QA Contact: Patrick Tessier <Patrick.Tessier>
Severity: blocker    
Priority: P3 CC: benoit.maggi, Patrick.Tessier, quentin.lemenez
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/79997
https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.tools.git/commit/?id=d586605717bc3ac5e27883f2bc86abdc3b98034d
Whiteboard:

Description Francois Le Fevre CLA 2016-08-30 03:44:17 EDT
When executing 
tput reset; mvn clean install -Pproduct -Dtycho.localArtifacts=ignore


I have always the following error

[INFO] org.eclipse.papyrus.sysml14.rcp.feature ............ SUCCESS [  0.089 s]
[INFO] org.eclipse.papyrus.sysml14.product ................ FAILURE [  2.655 s]
[INFO] org.eclipse.papyrus.sysml14.rcptt.tests ............ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:09 min
[INFO] Finished at: 2016-08-30T09:40:29+02:00
[INFO] Final Memory: 158M/864M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:0.25.0:assemble-repository (default-assemble-repository) on project org.eclipse.papyrus.sysml14.product: Could not assemble p2 repository: Mirroring failed: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact packed: osgi.bundle,org.eclipse.papyrus.uml.diagram.statemachine,2.0.0.201606080854]: /export/home/flefevre/.m2/repository/org/eclipse/papyrus/org.eclipse.papyrus.uml.diagram.statemachine/2.0.0-SNAPSHOT/org.eclipse.papyrus.uml.diagram.statemachine-2.0.0-SNAPSHOT-pack200.jar.pack.gz (Aucun fichier ou dossier de ce type) -> [Help 1]



Even if I switch to the last version of papyrus-components-parent 0.0.17-SNAPSHOT

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:0.26.0:assemble-repository (default-assemble-repository) on project org.eclipse.papyrus.sysml14.product: Could not assemble p2 repository: Mirroring failed: Messages while mirroring artifact descriptors.: [I/O exception while reading artifact packed: osgi.bundle,org.eclipse.papyrus.uml.diagram.statemachine,2.0.0.201606080854]: /export/home/flefevre/.m2/repository/org/eclipse/papyrus/org.eclipse.papyrus.uml.diagram.statemachine/2.0.0-SNAPSHOT/org.eclipse.papyrus.uml.diagram.statemachine-2.0.0-SNAPSHOT-pack200.jar.pack.gz (Aucun fichier ou dossier de ce type) -> [Help 1]
Comment 1 Francois Le Fevre CLA 2016-08-30 04:19:27 EDT
This error is due to a problem of cache

adding the -Dtycho.localArtifacts=ignore option do not change anything

deleting the .m2/repository/org/eclipse/papyrus do not cvhange anything
deleting the .p2 nor (filled by eclipse only)
but deleting the p2 files in ~/.m2/repository/.meta/p2-local-metadata.properties
solve the issue

I will add this into the components documentation.
Comment 2 Eclipse Genie CLA 2016-08-30 04:40:48 EDT
New Gerrit change created: https://git.eclipse.org/r/79997