Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351108 - [releng] Publish build results to maven repository
Summary: [releng] Publish build results to maven repository
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: Releng (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 1.5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-04 13:06 EDT by Ralf Sternberg CLA
Modified: 2012-07-12 16:18 EDT (History)
1 user (show)

See Also:


Attachments
maven poms (6.49 KB, application/octet-stream)
2011-07-05 05:04 EDT, Beyhan Veliev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2011-07-04 13:06:48 EDT
We successfully published rwt and jface jars to the maven central repo (bug 350714) once.
Now we need to automate the publishing task and include it in the milestone and release build procedure.
Comment 1 Beyhan Veliev CLA 2011-07-05 05:04:45 EDT
Created attachment 199101 [details]
maven poms

The attached maven pom files contain also build information. To configure the upload server 
add your nexus username/password in .m2/settings.xml.

<servers>
<server>
<id>NtsNexus</id>
<username>your_nexus_username</username>
<password>your_nexus_password</password>
</server>
</servers>
Comment 2 Ralf Sternberg CLA 2012-06-28 09:40:12 EDT
Apparently, the Sonatype OSSRH (OSS Repository Hosting Service) [1] is used to bring open source bundles into maven central. I've requested a configuration in OSSRH-3818 [2]. Beyhan's efforts for RAP 1.4.0 (bug 350714) are captured in OSSRH-1877 [3]. There are two mailing lists for this service [4].

[1] https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
[2] https://issues.sonatype.org/browse/OSSRH-3818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
[3] https://issues.sonatype.org/browse/OSSRH-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
[4] ossrh-announcements@sonatype.org, ossrh-users@sonatype.org.
Comment 3 Ralf Sternberg CLA 2012-07-10 07:40:00 EDT
I've added this wiki page to explain the steps for uploading bundles to Maven Central: http://wiki.eclipse.org/RAP/Maven_Central
Comment 4 Ralf Sternberg CLA 2012-07-12 16:18:30 EDT
Currently I think we should only publish release and maybe milestone builds on Maven Central. This will remain a separate step because the at the moment we make a build, we cannot decide if this build is going to become the final release or milestone version. Once the milestone or release is published at Eclipse, we should also publish the artifacts for Maven.

For RAP 1.5.0, we published rwt, rwt.osgi, and jface to Maven Central. The process is now completely described on the wiki page mentioned in comment 3.