maven-proxy 0.2 released

After a long time without a release of maven-proxy, I decided to take care of making this one.

It includes improvements to the maven 2 support and now it comes also with a war file to deploy in your appserver.

You can get it from http://maven-proxy.codehaus.org/Downloads. Be sure to read the installation and configuration instructions because it’s not trivial.

This will be probably the last release of maven-proxy as its functionality will be included in the next Maven Repository Manager.

Maven 2 vs. Ant + Ivy

This is an updated entry about using maven vs. using ant+ivy.

All my previous comments are still valid, maven is not just the automatic dependency download or the transitive dependencies, but let’s focus in these two aspects.

Some facts:

  • Ivy uses the maven 1 repository at ibiblio to get the jars, which is mantained and administered by the maven project.
  • The ivy repository only hosts metadata about 55 artifacts, while the maven 2 repo has metadata for more than 4000 projects (I’ve excluded poms smaller than 200 bytes)

The main problems we have at maven is missing or incorrect metadata, so if there’s any Ivy user reading this I’d like to know what’s the point of using it when only a few projects have metadata. And while in maven is a collective open effort, seems that it’s not like that with Ivy.

If I’d like to use ant for my build (never again if I can avoid it, specially since we have the antrun plugin), I’d choose the m2 ant tasks, that as a side effect allows you to also run maven, providing a good migration path.

Using mirrors of maven2 repositories

I’ve added to the docs the list of available maven2 mirrors, just use one of the following mirror entries in your settings.xml

<settings>

  <mirrors>
    <mirror>
      <id>dotsrc.org</id>
      <url>http://mirrors.dotsrc.org/maven2</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
    <mirror>
      <id>ggi-project.org</id>
      <url>http://ftp.ggi-project.org/pub/packages/maven2</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
    <mirror>
      <id>sunsite.dk</id>
      <url>http://mirrors.sunsite.dk/maven2</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
    <mirror>
      <id>planetmirror.com</id>
      <url>http://public.planetmirror.com/pub/maven2</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
    <mirror>
      <id>lsu.edu</id>
      <url>http://ibiblio.lsu.edu/main/pub/packages/maven2</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
    <mirror>
      <id>ibiblio.net</id>
      <url>http://www.ibiblio.net/pub/packages/maven2</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>

</settings>

More information in the guide to mirror settings.