Sonatype Selected by Equifax to Support OS Governance Press Release

blog-logo Sonatype Blog

Publishing Your Artifacts to the Central Repository

By Brian Fox on October 12, 2011 repository

Sonatype makes it easy to add your projects to the Central Repository with a free, public hosting service called OSSRH. We first blogged about this back in


The best Maven how-tos from the Sonatype blog

By Brian Fox on July 15, 2011 Nexus Repo Reel

Sonatype is going through the archives and digging up articles that we think would be useful to developers using our tools. If you use Maven, keep reading


How to make an executable jar in Maven

By Brian Fox on August 13, 2009 Sonatype Says

It's been a while since I posted, so here's a quick and dirty code by example:

If you want to make a standalone jar (ie one with no dependencies) executable,


Create a Customized Build Process in Maven

By John Casey on August 05, 2009 Nexus Repo Reel

Maven's build process is driven by three key concepts: the build lifecycle, mojos, and the lifecycle mappings. If you're not familiar with these concepts, you


How to make a plugin that runs once during a build

By Brian Fox on May 22, 2009 Nexus Repo Reel

With it's default behavior, Maven runs a plugin invocation for each project in a multi-module build. For plugins that operate on a single project at a time,


Plexus Container Five Minute Tutorial

By Brian Demers on May 21, 2009 Sonatype Says

The goal of this blog is to show an updated and more involved example then what is currently located on the plexus site. This will cover creating a couple of


Summary of Maven How-Tos

By Brian Fox on April 03, 2009 Nexus Repo Reel

We have a handful of Maven best practice and How-Tos documented in the blogs. Over time they get buried by newer posts, but the content is still just as


Why Putting Repositories in your POMs is a Bad Idea

By Brian Fox on February 25, 2009 repository

I get this question frequently so it is time to write down my thoughts on the answer so I can stop repeating myself. Here's the question:

Should I put the urls


Best Practices for releasing with 3rd party SNAPSHOT dependencies

By Brian Fox on January 26, 2009 Nexus Repo Reel

The Maven Release plugin enforces best practices for releasing Maven artifacts. In summary, the release plugin performs the following steps:

  1. Validate no