Bug 566283 - Publish org.eclipse.cdt.core and org.eclipse.equinox.common to maven central for use outside of Eclipse
Summary: Publish org.eclipse.cdt.core and org.eclipse.equinox.common to maven central ...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-releng (show other bugs)
Version: Next   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: cdt-releng-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-22 22:05 EDT by Kenny Ho CLA
Modified: 2020-08-23 12:37 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenny Ho CLA 2020-08-22 22:05:05 EDT
There are desires to leverage CDT work outside of eclipse to parse C source code:
https://stackoverflow.com/a/10300668/1692452

But some of the jars are not available in Maven:
https://stackoverflow.com/questions/52688962/maven-eclipse-cdt-library

Can you publish org.eclipse.cdt.core and org.eclipse.equinox.common to Maven Central (or some public Maven repository) as part of your regular release?
Comment 1 Jonah Graham CLA 2020-08-23 08:18:29 EDT
Thank you for the request - the Eclipse Platform started publishing to Maven a few years ago, but the CDT project has not had anyone contribute the required scripts/effort. In the past some people have published their own versions on Maven.

Any chance you can work with me to get this done?

Thanks!

BTW org.eclipse.equinox.common is published officially (it is from the platform project):

https://mvnrepository.com/artifact/org.eclipse.platform/org.eclipse.equinox.common
Comment 2 Kenny Ho CLA 2020-08-23 12:37:57 EDT
I can try but Java/Maven ecosystem is not my primary development area so I might not know what's the best thing to do.  (I am looking into this mostly as my side/weekend project.)

Can you give me some pointers as to where to begin?  This gave me an idea on what publishing to Maven means: https://stackoverflow.com/a/9917149/1692452.

Where is the script that published org.eclipse.equinox.common?  Would that be a good example to follow to publish org.eclipse.cdt.core?

I just signed the ECA as well.