You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
from root: * cd usr/local
* sudo mkdir apache-maven
****COPYING FILE "apache-maven-3.1.1-bin.tar.gz" FOR FOLDER UP
* sudo cp ~/Downloads/apache-maven-3.1.1-bin.tar.gz /usr/local/apache-maven/
****EXTRACTING THE FILE IN THE CREATED FOLDER
IN THE PATH "/usr/local/apache-maven":
* sudo tar-vzxf apache-maven-3.1.1-bin.tar.gz
***SETTING ENVIRONMENT VARIABLES
* sudo gedit /etc/profile
* follow this steps(verify the maven version mentioned in the text, the version used in this tutorial is 3.1.1): http://maven.apache.org/download.cgi
** set variables mentioned here: https://code.google.com/p/maven-android-plugin/wiki/GettingStarted
***** to help you with the last step, copy the following code snippet to this file(/etc/profile), modifying only the path of the SDK. I hope it can help you, developer!
--> run "mvn --version" to see if it was properly installed
WARNING: be very careful with this variables, wrong setting maybe cause an error on system, but you can easily fix it, just deleting this values, updating the file and searching what's wrong!
Have a great coding!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
PS.: lines with an single "*" are commands.
****CREATING FOLDER "apache-maven"
****COPYING FILE "apache-maven-3.1.1-bin.tar.gz" FOR FOLDER UP
* sudo cp ~/Downloads/apache-maven-3.1.1-bin.tar.gz /usr/local/apache-maven/
****EXTRACTING THE FILE IN THE CREATED FOLDER
IN THE PATH "/usr/local/apache-maven":
* sudo tar-vzxf apache-maven-3.1.1-bin.tar.gz
***SETTING ENVIRONMENT VARIABLES
* sudo gedit /etc/profile
* follow this steps(verify the maven version mentioned in the text, the version used in this tutorial is 3.1.1): http://maven.apache.org/download.cgi
** set variables mentioned here: https://code.google.com/p/maven-android-plugin/wiki/GettingStarted
***** to help you with the last step, copy the following code snippet to this file(/etc/profile), modifying only the path of the SDK. I hope it can help you, developer!
/* M2_HOME=/usr/local/apache-maven/apache-maven-3.2.1
M2=$M2_HOME/bin
PATH=$M2:$PATH
JAVA_HOME=/usr/local/java/jdk1.7.0_51
JRE_HOME=/usr/local/java/jdk1.7.0_51/jre
ANDROID_HOME=/home/geraldo/Dropbox/PROJETO\ SONY/2013/adt-bundle-linux-x86_64-20130917/sdk
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$JRE_HOME/bin:$ANDROID_HOME/bin
export M2_HOME
export M2
export JAVA_HOME
export JRE_HOME
export ANDROID_HOME
export PATH*/
--> run "mvn --version" to see if it was properly installed
WARNING: be very careful with this variables, wrong setting maybe cause an error on system, but you can easily fix it, just deleting this values, updating the file and searching what's wrong!
Have a great coding!
The text was updated successfully, but these errors were encountered: