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


command line tools written in ruby can installed through rubygems. command line tools written in node.js can installed through npm.

does mvn offer similar functionality, or should package systems apt-get installing java command line tools?

since maven java based , java can anything, , can write own life-cycles , goals, answer is: yes, possible.

here can found example: https://community.jboss.org/wiki/creatingacustomlifecycleinmaven

it possible execute custom script - or whatever want - exec maven plugin more, see: http://mojo.codehaus.org/exec-maven-plugin/ or on stackoverflow: i want execute shell commands maven's pom.xml

regards


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -