You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andrew Pennebaker <ap...@42six.com> on 2013/08/15 17:51:45 UTC

Can mvn install packages globally (e.g. command line tools like nutch)?

I'd like to install some Java command line tools, without having to
configure PATH manually. Can mvn do this? Package managers from other
programming languages often offer this ability, like RubyGems and NPM.

If not, is it conventional to deploy Java command line tools through
apt-get, brew, chocolatey, etc.?

RE: Can mvn install packages globally (e.g. command line tools like nutch)?

Posted by Martin Gainty <mg...@hotmail.com>.
anyone can certainly write maven scripts to update/insert to either local/remote repositories

updating $PATH env vars in either .profile in home/username and or update .bashrc in home/username is straightforward 
 
updating the windows registry is a swamp filled with hungry alligators and I haven't seen a maven-plugin to update windows registry..(yet)

If you can provide specifics on :
1)where you want to promote your distros as well as 
2)which config files will be updated with the new folder names
 
we would be able to respond with a more directed solution
 
HTH
Martin 


 

> Date: Thu, 15 Aug 2013 22:46:15 +0200
> Subject: Re: Can mvn install packages globally (e.g. command line tools like nutch)?
> From: ml@batmat.net
> To: users@maven.apache.org
> 
> Maven is more a build tool than a package manager (though "maven
> repositories" might look so).
> 
> If you could clarify what you expect, then maybe we can tell you better if
> maven could fit in some way.
> 
> HTH.
> 
> -- Baptiste
> Le 15 août 2013 17:52, "Andrew Pennebaker" <ap...@42six.com> a écrit :
> 
> > I'd like to install some Java command line tools, without having to
> > configure PATH manually. Can mvn do this? Package managers from other
> > programming languages often offer this ability, like RubyGems and NPM.
> >
> > If not, is it conventional to deploy Java command line tools through
> > apt-get, brew, chocolatey, etc.?
> >
 		 	   		  

Re: Can mvn install packages globally (e.g. command line tools like nutch)?

Posted by Baptiste Mathus <ml...@batmat.net>.
Maven is more a build tool than a package manager (though "maven
repositories" might look so).

If you could clarify what you expect, then maybe we can tell you better if
maven could fit in some way.

HTH.

-- Baptiste
Le 15 août 2013 17:52, "Andrew Pennebaker" <ap...@42six.com> a écrit :

> I'd like to install some Java command line tools, without having to
> configure PATH manually. Can mvn do this? Package managers from other
> programming languages often offer this ability, like RubyGems and NPM.
>
> If not, is it conventional to deploy Java command line tools through
> apt-get, brew, chocolatey, etc.?
>

Re: Can mvn install packages globally (e.g. command line tools like nutch)?

Posted by Adam Beres <ad...@ieee.org>.
>> I'd like to install some Java command line tools, without having to
>> configure PATH manually. Can mvn do this? Package managers from other
>> programming languages often offer this ability, like RubyGems and NPM.



I am compiling for ARM and use different compilers, so I am installing in the project environment, compilers, licenses and tools.
is this what you search ?
This is then not global in the operating system, it is only in the project environment.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Can mvn install packages globally (e.g. command line tools like nutch)?

Posted by "Peter A. LaValle" <pe...@gmail.com>.
On 15 August 2013 16:51, Andrew Pennebaker <ap...@42six.com> wrote:

> I'd like to install some Java command line tools, without having to
> configure PATH manually. Can mvn do this? Package managers from other
> programming languages often offer this ability, like RubyGems and NPM.
>

The command "mvn install" installs the project in your local repository; so
that other maven projects don't need to download it from a remote repository



> If not, is it conventional to deploy Java command line tools through
> apt-get, brew, chocolatey, etc.?
>
I think that's your decision - check what platform / OS you want to target.

If you're making a tool that works on maven projects you probably want to
make a maven-plugin and mojo


-- 
UK cell : 0(775) 832 - 9317
http://peterlavalle.com/