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.