mvnsh

Can’t wait using the latest maven goodies named mvnsh, but no binary are easely available See comments

Getting and compiling the latest maven shell can be frustrating the tool depends on a lots of snapshots libs which you’ll not find in a central repo yet.

So I wrote a mvnsh-settings.xml containing the following :

<settings>
    <profiles>
        <profile>
            <id>defaultProfile</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <repositories>
                <repository>
                    <id>sonatype</id>
                    <url>http://repository.sonatype.org/content/groups/forge/</url>
                    <snapshots>
                        <enabled>true</enabled>
                        <updatePolicy>always</updatePolicy>
                        <checksumPolicy>fail</checksumPolicy>
                    </snapshots>
                    <releases>
                        <enabled>true</enabled>
                        <checksumPolicy>fail</checksumPolicy>
                    </releases>
                </repository>
            </repositories>
        </profile>
    </profiles>
</settings>

Adapt the instruction found on mvnsh github page to use an alternate settings.xml using the -s switch :

git clone git://github.com/sonatype/mvnsh.git
cd mvnsh
mvn install -s mvnsh-settings.xml

And you can benefit from the colors, growl notifications etc…

One Comment

  1. Jean-Laurent de Morlhon:

    Arnaud pointed on twitter to sonatype hudson ci server which provides snapshot binaries see http://bit.ly/aKtHij ( Take the zip…)

    Thx Arnaud !

Leave a comment