Mitch Pronschinske is a Senior Content Analyst at DZone. That means he writes and searches for the finest developer content in the land so that you don't have to. He often eats peanut butter and bananas, likes to make his own ringtones, enjoys card and board games, and is married to an underwear model. Mitch is a DZone Zone Leader and has posted 2573 posts at DZone. You can read more from them at their website. View Full User Profile

Nexus OSS is Here to Save You From Java.net's Maven Hell

03.01.2010
| 8686 views |
  • submit to reddit
Sonatype is spreading the word: 'Come to us and we'll help you migrate your Maven projects off of Java.net and on to Nexus OSS.'  Many developers agree, Java.net's Maven infrastructure sucks.  That's why some Maven users with projects on Java.net will be happy to hear that free project migration help is on the way if you make a request with the Nexus OSS team by March 5th.  Requests can still be serviced (again, for free) after that date, but the 5th has been set aside to focus on moving as many Maven projects off of Java.net as possible.  DZone got in touch with Jason van Zyl, the founder of Sonatype and the Apache Maven project , to ask a few questions that further clarify the rescue mission.  On his blog it has already been noted that Java.net will be moving to the Kenai infrastructure, but Kenai doesn't have Maven infrastructure and most of the commenters don't expect Oracle to add it any time soon.  In this interview, Jason van Zyl says that the poor repositories on Java.net give Maven a bad wrap, and he explains the differences between Nexus OSS and Java.net's Maven infrastructure.

DZone:  Are there a lot of Maven-based projects on Java.net?


Jason van Zyl: 
Yes, there are many Maven-based projects at Java.net that would like to deploy to a healthy Maven repository infrastructure.  What we would like to help provide is similar to what we have done at Apache and Codehaus.  Both organizations run Nexus Pro instances to help their Maven-based do proper releases.

DZone: How is the Nexus OSS Maven development infrastructure better than the Java.net infrastructure?

Jason:  The Maven repository infrastructure at Java.net is very difficult for a Maven-based project to use.  What users often experience is similar to what Jean-Francois Arcand outlines here.  The Nexus OSS infrastructure provides the easiest way for Maven-based projects to publish their artifacts.  Nothing is required but stock Maven and we have a mechanism that helps vet the content of releases so that we know what's going into Maven Central is good.  We also have good documentation about how to use the Nexus OSS service which is available here.  We have many open source projects that are very happy using this infrastructure.

DZone:  Why make the offer to rescue Maven projects from Java.net now?  What was the last straw?


Jason:  It was actually someone asking me about the Jersey JARs.  We don't sync the Java.net repositories to Maven Central because they are of poor quality and so the question arises all the time why many Java.net projects' libraries are not in Maven Central.  We need to start small and move forward from there.  Help the projects that want to be helped and when Java.net organizationally is ready to make a change then we'll help them too, but we need to do something now.

DZone:  Maven has a reputation among some developers for being overly complicated.  Are sites like Java.net exacerbating that perception?

Jason:  Definitely. When you can't find the dependencies that you need for your project easily through Maven's standard download mechanism then it's very annoying.  You're reduced to hunting around for JARs, which renders useless all modern build systems that rely on dependency management.

DZone:  How much of a hassle will it be for Java.net users to switch over to Nexus OSS?

Jason:  They need to update the URL to which they publish, they will need to configure the Maven Release Plugin in their build and they will need to generate valid PGP keys in order to sign the artifacts they create.  We have fully documented how this is done here.  This is what we want to help projects with on March 5th.

DZone: What does Sonatype hope to gain by doing this?  

Jason:  It's really more a question of what the Maven community gains.  Sonatype does a lot of support in the Maven community so having well functioning repositories honestly makes less work for us.  We would like the process of getting content into Maven Central to be as automated and error free as possible.  We also want to try and reduce the complaints that result from poorly maintained Maven repository infrastructures because it just gives the Maven project a bad wrap that we don't honestly deserve.

DZone:  Where can you make a request to get help moving a Maven project from Java.net to Nexus OSS?


Jason: You need to do the following:

1) Read this introduction to the Nexus Repository Manager.
2) Make the request to use Nexus OSS here.

or

Come into #mavencentral on irc.codehaus.org and we'll help you get setup there.
_______

After DZone's interview with Jason van Zyl and before the posting of this article, Jean-Francois Arcand and Fabrizio Giudici also shared some information about this subject on Javalobby.

Comments

Jakub Holý replied on Tue, 2010/03/02 - 4:43am

The Sonatype's open source project hosting with automatical synchronization into the Maven Central repository is really great. I've blogged about how to get started with it (even for a non-maven project that wants its artifacts published in a maven repo) at http://tr.im/mvnblog .

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.