Bug 470548 - Erroneous jar file for the doc plugin
Summary: Erroneous jar file for the doc plugin
Status: NEW
Alias: None
Product: EMFCompare
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: EMF Compare CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-19 03:07 EDT by Laurent Goubet CLA
Modified: 2015-06-19 03:07 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Goubet CLA 2015-06-19 03:07:06 EDT
When building EMF Compare with the "sign" profile enabled, the produced org.eclipse.emf.compare.doc_xxxx.jar file is wrong (and isn't even a plugin file). On the contrary, the org.eclipse.emf.compare.doc_xxxx.jar.pack.gz file is correct and will be properly installable in an eclipse runtime.

The jar file "seems" to have the content of our "website" zip instead of the proper plugin content.

The culprit in our pom.xml file seems to be our calling of the tycho-p2-plugin after packing, since removing that plugin from the build fixes the issue (at the time of raising this bug, line 649 of the parent pom, https://git.eclipse.org/c/emfcompare/org.eclipse.emf.compare.git/tree/org.eclipse.emf.compare-parent/pom.xml#n649 ).

See examples of the buggy produced jar (and properly produced packed jar) in the nightly's update site :
https://hudson.eclipse.org/emfcompare/job/master-nightly/ws/PLATFORM/mars/packaging/org.eclipse.emf.compare.update/target/repository/plugins/

while the jar found in the plugin itself is good (and the "website" zip file beside it which seems to be a candidate for what's erroneously seen as our plugin's jar by the tycho-p2-plugin) :
https://hudson.eclipse.org/emfcompare/job/master-nightly/ws/PLATFORM/mars/plugins/org.eclipse.emf.compare.doc/target/