This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 349601 - Make the fwk available in Maven Central
Summary: Make the fwk available in Maven Central
Status: CLOSED WONTFIX
Alias: None
Product: Dash
Classification: Technology
Component: Maven (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Dash Incoming bugs CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 13:33 EDT by Pascal Rapicault CLA
Modified: 2014-04-29 09:48 EDT (History)
9 users (show)

See Also:


Attachments
Pom file for equinox released with Indigo SR0 (925 bytes, text/xml)
2011-06-30 18:36 EDT, Pascal Rapicault CLA
no flags Details
Better pom (2.13 KB, text/xml)
2011-07-03 11:41 EDT, Pascal Rapicault CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2011-06-16 13:33:26 EDT
We should strive to make the fwk available in Maven Central in order to make it easy for ppl to consume it.
Comment 1 Paul Webster CLA 2011-06-16 15:31:51 EDT
See also bug 337068

PW
Comment 2 Paul Webster CLA 2011-06-29 06:56:24 EDT
The link to the testing repo:
http://maven.eclipse.org/nexus/content/repositories/testing/org/eclipse/osgi/org.eclipse.osgi/3.6.2/

PW
Comment 3 Thomas Watson CLA 2011-06-29 09:19:17 EDT
I am confused on who owns this bug and who is responsible for publishing the artifacts to maven.eclipse.org?  Also, have we changed to scope of this bug from publishing to Maven Central to publishing to maven.eclipse.org?
Comment 4 David Carver CLA 2011-06-29 09:27:03 EDT
I'm adding Aarron to this bug as well as he was working on an automatic conversion.
Comment 5 David Carver CLA 2011-06-29 12:42:04 EDT
BTW, the first step is to publish to maven.eclipse.org.   There are some requirements that the POMs need to meet in order to make it into Maven Central.

I do think that going to Maven Central should be the ultimate goal, but the first step is to get things into maven.eclipse.org.
Comment 6 Pascal Rapicault CLA 2011-06-30 09:02:51 EDT
I will create a pom file for equinox and attach it there when available.
Comment 7 Pascal Rapicault CLA 2011-06-30 18:36:05 EDT
Created attachment 198939 [details]
Pom file for equinox released with Indigo SR0

Attached is the pom file for the equinox framework.
I did not find a way to specify a tag in the CVS connection and the CVS view was busted so I could not get the right URL but I think it is fine for now.
To be compliant with the Central rules, we are missing the developers.
Comment 8 Thomas Watson CLA 2011-07-01 08:38:44 EDT
(In reply to comment #7)
> Created attachment 198939 [details]
> Pom file for equinox released with Indigo SR0
> 
> Attached is the pom file for the equinox framework.
> I did not find a way to specify a tag in the CVS connection and the CVS view
> was busted so I could not get the right URL but I think it is fine for now.
> To be compliant with the Central rules, we are missing the developers.

Does the Eclipse-SourceReferences header give a hint at what the correct URL should be:

Eclipse-SourceReferences = scm:cvs:pserver:dev.eclipse.org:/cvsroot/rt:org.eclipse.equinox/framework/bundles/org.eclipse.osgi;tag=v20110613

Seems a ;tag=XXX can be put on the end there.  Not sure if that is simply a convention for the Eclipse-SourceReferences header or not though.  For developers should we list all the active commiters?
Comment 9 Paul Webster CLA 2011-07-01 18:27:42 EDT
(In reply to comment #8)
> Does the Eclipse-SourceReferences header give a hint at what the correct URL
> should be:
> 
> Eclipse-SourceReferences =
> scm:cvs:pserver:dev.eclipse.org:/cvsroot/rt:org.eclipse.equinox/framework/bundles/org.eclipse.osgi;tag=v20110613
> 
> Seems a ;tag=XXX can be put on the end there.  Not sure if that is simply a
> convention for the Eclipse-SourceReferences header or not though.  For
> developers should we list all the active commiters?

Here's the maven definition:
http://maven.apache.org/scm/cvs.html

It doesn't seem to include a tag, unless you can put that in the CVS command line section like <r>v20110630-1800</r> ... but it's not clear what data that section accepts.

PW
Comment 10 David Carver CLA 2011-07-02 09:45:20 EDT
(In reply to comment #9)
> (In reply to comment #8)
> > Does the Eclipse-SourceReferences header give a hint at what the correct URL
> > should be:
> > 
> > Eclipse-SourceReferences =
> > scm:cvs:pserver:dev.eclipse.org:/cvsroot/rt:org.eclipse.equinox/framework/bundles/org.eclipse.osgi;tag=v20110613
> > 
> > Seems a ;tag=XXX can be put on the end there.  Not sure if that is simply a
> > convention for the Eclipse-SourceReferences header or not though.  For
> > developers should we list all the active commiters?
> 
> Here's the maven definition:
> http://maven.apache.org/scm/cvs.html
> 
> It doesn't seem to include a tag, unless you can put that in the CVS command
> line section like <r>v20110630-1800</r> ... but it's not clear what data that
> section accepts.

There is a tag element you can use as well under the <scm> </scm> entry:

<tag>v20110630-1800</tag>

http://maven.apache.org/scm/maven-scm-plugin/tag-mojo.html
Comment 11 David Carver CLA 2011-07-02 09:48:20 EDT
(In reply to comment #7)
> Created attachment 198939 [details]
> Pom file for equinox released with Indigo SR0
> 
> Attached is the pom file for the equinox framework.
> I did not find a way to specify a tag in the CVS connection and the CVS view
> was busted so I could not get the right URL but I think it is fine for now.
> To be compliant with the Central rules, we are missing the developers.

A suggestion, you may also want to inherrit from the eclipse-parent pom.  It contains additional information such as license, CI system, issue tracking location, etc.
Comment 12 David Carver CLA 2011-07-02 09:52:52 EDT
An example of the CVS tag entry can be found in this article:

http://java.dzone.com/articles/automating-releases-maven-0
Comment 13 Pascal Rapicault CLA 2011-07-03 11:41:01 EDT
Created attachment 199012 [details]
Better pom

Here is a better pom with CVS tag, developer list and parent pom.
I'm not sure the parent pom is a necessity / good thing since we have not used it to build equinox.
Comment 14 Thanh Ha CLA 2014-04-29 09:48:06 EDT
maven.eclipse.org was decommissioned via bug 405750 and replaced with
repo.eclipse.org.

See: https://wiki.eclipse.org/Services/Nexus