The Source for Java Technology Collaboration
User: Password:



Kohsuke Kawaguchi

Kohsuke Kawaguchi's Blog

Javamail and activation are now in the maven repository

Posted by kohsuke on May 02, 2006 at 09:54 AM | Comments (14)

Glassfish is finally moving some of the jars to the java.net Maven repository.

The first guinea pigs were javamail and activation, now licensed under CDDL.

Those two jars have long been a cause of headache for Maven users, because so many projects rely on them yet people had to manually download them. Those days are now gone, folks! All you need to do is to add the following line to your project.properties:

maven.repo.remote=https://maven-repository.dev.java.net/nonav/repository/,http://www.ibiblio.org/maven/

I've heard that there will be more jars to follow, so stay tuned for more jars before JavaOne.


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first)

  • Ah, and as usual, those POMs are written in haste, so if you found any mistake, please let us know so that we can fix it!

    Posted by: kohsuke on May 02, 2006 at 09:56 AM

  • What about Maven 2 POMs?

    Posted by: mraible on May 02, 2006 at 10:26 AM

  • I guess you can still use this repo if you add it with a 'legacy' layout option to the m2 build.

    Posted by: mr_dronski on May 02, 2006 at 12:43 PM

  • Yep, if you're using Maven 2 put this within your "" block.


    java-net
    Java.net Maven Repository
    legacy
    https://maven-repository.dev.java.net/nonav/repository

    Posted by: turadg on May 02, 2006 at 02:20 PM

  • Yep. You can still access jars in m1 repository from m2.
    For those who are interested in the m2 version of the repository, please come to users@maven-javanet-plugin.dev.java.net and help us!

    Posted by: kohsuke on May 02, 2006 at 03:44 PM

  • Maven? That's some Apache thing, right?

    Posted by: swpalmer on May 02, 2006 at 05:35 PM

  • Yes. see the maven website for more about maven.

    Posted by: kohsuke on May 02, 2006 at 08:09 PM

  • I have added them to ibiblio too, with improved poms

    Sun jars available in Maven repo

    It's a bit messy that repo
    - activation depends on himself
    - group naming conventions are not followed, there shouldn't be anything besides javax.*, com.sun.* or net.java.dev.*

    Posted by: carlossg on May 02, 2006 at 11:42 PM

  • sources jar for javamail is broken :-(
    please upload it again

    Posted by: sv on May 03, 2006 at 02:26 AM

  • Carlos, would it be OK for us to use your POMs?

    Posted by: kohsuke on May 03, 2006 at 08:17 AM

  • sure
    in fact you can remove them from your repo as they are now in the ibiblio repo

    Posted by: carlossg on May 03, 2006 at 12:03 PM

  • The posting from Glassfish to the java.net maven repository is automated, so I can't just delete stuff from there --- if Glassfish folks decide to post another version, they'll use the same automation.

    Or would it be possible for us to push to ibiblio automatically directly?

    Posted by: kohsuke on May 03, 2006 at 01:51 PM

  • wrt groupId convention. Some of the early birds used non-standard conventions and that's why there are a few of those. Bits that are coming now and later will all be using the standard groupId convention.

    Posted by: kohsuke on May 03, 2006 at 01:53 PM

  • Javamail source jars should work now.

    Posted by: kohsuke on May 04, 2006 at 11:44 AM





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds