<div dir="ltr">Hello all. I'm trying to install the latest Maven (which was cruelly taken away by Mavericks) via MacPorts. It appears "maven-devel" is the best option. Unfortunately, there seems to be a problem with selecting that port after install:<div>
<br></div><div><div>$ sudo port install maven-devel</div><div>Password:</div><div>---> Computing dependencies for maven-devel</div><div>---> Dependencies to be installed: maven_select</div><div>---> Fetching archive for maven_select</div>
<div>---> Attempting to fetch maven_select-0.3_1.darwin_13.noarch.tbz2 from <a href="http://lil.fr.packages.macports.org/maven_select">http://lil.fr.packages.macports.org/maven_select</a></div><div>---> Attempting to fetch maven_select-0.3_1.darwin_13.noarch.tbz2.rmd160 from <a href="http://lil.fr.packages.macports.org/maven_select">http://lil.fr.packages.macports.org/maven_select</a></div>
<div>---> Installing maven_select @0.3_1</div><div>---> Activating maven_select @0.3_1</div><div>---> Cleaning maven_select</div><div>---> Fetching archive for maven-devel</div><div>---> Attempting to fetch maven-devel-3.1.1_0.darwin_13.noarch.tbz2 from <a href="http://lil.fr.packages.macports.org/maven-devel">http://lil.fr.packages.macports.org/maven-devel</a></div>
<div>---> Attempting to fetch maven-devel-3.1.1_0.darwin_13.noarch.tbz2.rmd160 from <a href="http://lil.fr.packages.macports.org/maven-devel">http://lil.fr.packages.macports.org/maven-devel</a></div><div>---> Installing maven-devel @3.1.1_0</div>
<div>---> Activating maven-devel @3.1.1_0</div><div><br></div><div>To make maven 3.1.1 the default, please run</div><div><span class="" style="white-space:pre">        </span>sudo port select --set maven maven-devel</div><div>
<br></div><div>---> Cleaning maven-devel</div><div>---> Updating database of binaries: 100.0%</div><div>---> Scanning binaries for linking errors: 100.0%</div><div>---> No broken files found.</div><div><br>
</div><div>$ sudo port select --set maven maven-devel<br></div><div>Selecting 'maven-devel' for 'maven' failed: The specified version 'maven-devel' is not valid.</div><div><br></div><div><div>$ port select --list maven</div>
<div>Available versions for maven:</div><div><span class="" style="white-space:pre">        </span>maven3</div><div><span class="" style="white-space:pre">        </span>none (active)</div><div><br></div><div>$ sudo port select --set maven maven3<br>
</div><div>Selecting 'maven3' for 'maven' failed: could not create new link "/opt/local/bin/mvn": target "/opt/local/bin/mvn3" doesn't exist</div></div><div><br></div><div>Any suggestions on how to resolve this? I would like to use Maven 3.1.1, so I do not want to install the maven3 port (which appears to be pegged to 3.0.X for compatibility reasons I guess?). Thanks!</div>
<div><br></div><div>On a related note, figuring out which port to install to get the most recent maven is somewhat opaque. It would be nice if there was some way to document this kind of thing in MacPorts, rather than 15 minutes of Googling, reading Portfiles and old mailing list threads.</div>
<div><br></div>-- <br><div dir="ltr"><div>Robert Brewer<div>Postdoc in the Ubiquitous Computing and Interaction Group</div><div>Computer Science Department, Aarhus University, Denmark <br><font color="#0000ee"><u><a href="http://robertsbrewer.wordpress.com/" target="_blank">http://robertsbrewer.wordpress.com/</a></u></font></div>
</div></div>
</div></div>