How to execute maven commands with Spring STS manually?
I use Spring STS with build-in Maven using Linux. I need to add jar manually. I found that I need to do it by executing this command
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.1.0 -Dpackaging=jar -Dfile=ojdbc14.jar -DgeneratePom=true
It is possible to do it through windows cmd. However, by using terminal in linux I receive output:
The program 'mvn' can be found in the following packages:
* maven
* maven2
Try: apt-get install <selected package>
I don't need install another Maven when Spring STS works with an internal Maven.
How to redirect terminal to use internal Maven in Spring STS ?
On the top of my head I think to edit MAVEN_HOME, but I am beginner and I prefer to ask you guys first.