All Milyn components (including Smooks) are available from the Codehaus Maven Repository at http://dist.codehaus.org.

If your building Milyn related components, please use:

  1. Java 1.5 (not 1.6 and above)
  2. Maven v2.0.8

Artifact IDs

The artifactId for each of the Milyn components is as follows:

Note: All cartridges depend on Smooks Core (i.e. "milyn-smooks-core"). Therefore, if your project depends on one of the cartridges, there's no need to specify the dependency on Smooks Core.

See the POMs in the Tutorials as examples of Maven based applications that depend on different Smooks Cartridges.

Smooks v1.1+

The Maven repo groupId for all Milyn components (Smooks v1.1+) is "org.milyn".

Smooks v1.1 is not released yet, but SNAPSHOTs are available from "http://snapshots.repository.codehaus.org". You need to list this Maven repo in your project POM e.g.

<repositories>
    .....
    <repository>
        <id>codehaus.m2.snapshots</id>
        <url>http://snapshots.repository.codehaus.org</url>
        <releases>
            <enabled>false</enabled>
        </releases>
    </repository>
</repositories>

Once Smooks v1.1 is released, the binaries will be available from the maven2 repo on ibiblio.

Smooks v1.0/v1.0.x

The Maven repo groupId for all Milyn components (pre Smooks v1.1) is "milyn".

Also note that the v1.0 and v1.0.1 binaries are not available from ibiblio. You need to list this Maven repo in your project POM e.g.

<repositories>
    .....
    <repository>
        <id>codehaus</id>
        <url>http://dist.codehaus.org</url>
    </repository>
</repositories>

Ant Users

See Getting Smooks Binaries from the Maven2 Repository Using Ant.