-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I think its a good idea.
I have a wrapper that will let you choose the version for ant, maven and the jdk/jre. It currently just calls ant but you can get it to call a maven script by changing the last two lines before you say but you only need one version, for a user that may be true but when you are tinkering with heaps of projects it can be hassle. And if they only have one version you could make it just use that without letting them choose. <lightbulb/>hmm good point. ill add that later. i just submitted one for ant... it just mean you can have multi jvms, ants, maven installed and easily chooose which ones to run. you can save the choice globally in /etc/jakarta-mavenrc per user ~/.jakarta-mavenrc or locally .jakarta-mavenrc it does require that you install things in directories like /usr/share/jakarta-maven/0.9 /usr/share/jakarta-maven/bootstrap where /usr/share can be /usr/local/, /opt/ etc etc. rimu ~/src/jakarta-turbine-maven $ maven Found these versions for jakarta-maven: 1) bootstrap Please choose a version: 1 Where would you like to save this setting? 2) User ( /home/michael/.jakarta-mavenrc ) 3) Local ( /home/michael/src/jakarta-turbine-maven/.jakarta-mavenrc ) 4) Dont save. Please choose save type: 3 Found these versions for jakarta-ant: 1) 1.3 2) 1.4.1 3) 1.5alpha 4) current Please choose a version: 3 Where would you like to save this setting? 2) User ( /home/michael/.jakarta-antrc ) 3) Local ( /home/michael/src/jakarta-turbine-maven/.jakarta-antrc ) 4) Dont save. Please choose save type: 3 Found these versions for java: 1) j2sdk1.3.1 2) j2sdk1.4.0 Please choose a version: 2 Where would you like to save this setting? 2) User ( /home/michael/.jakarta-mavenrc ) 3) Local ( /home/michael/src/jakarta-turbine-maven/.jakarta-mavenrc ) 4) Dont save. Please choose save type: 3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE81eYLiVyQAvn9zYsRAtbDAJ0YJ5OQ5cykon2jGzaX9pPV6WCRowCfZvQE jt1sEXyEv3/WSVxSYGDPIZc= =k5d3 -----END PGP SIGNATURE-----
choose-version
Description: application/shellscript
maven
Description: application/shellscript
