I started setting up my Ubuntu 12.10 on April 2013 and the normal apt-get install maven
was not working for maven 3 back then.
The manual installation in this post is useful if you like to dig in deeper to your ubuntu kernel in regards with apt-get and where it finds the list of applications that are available for installation on Ubuntu . It can also be potentially useful for more recent releases of Ubuntu like Ubuntu 13.04, etc. if you face the same problem as I did back then with Ubuntu 12.10.
Automatic Installation via apt-get:
Checkout the manual installation if your current ubuntu can not install maven via common 'apt-get install maven'.
sudo apt-get update
sudo apt-get install maven
Make sure to remove maven 2 if you ubuntu is not fresh or if you were using maven 2 before:
sudo apt-get remove maven2
Manual Installation via apt-get by adding maven 3 repository:
This can be useful if your ubuntu apt-get repositories list is not up to date.
Maven 3 was required to set up the system and as it turns out most of the documents out there are referring to how to install Maven to Ubuntu version 12.04 or before. Best document I found was:
The whole process I came up with is as follows:
- sudo -H gedit /etc/apt/sources.list
-
Add the following line the sources.list file:
deb http://ppa.launchpad.net/natecarlson/maven3/ubuntu precise main
deb-src http://ppa.launchpad.net/natecarlson/maven3/ubuntu precise main
-
sudo apt-get update && sudo apt-get install maven3
- sudo ln -s /usr/share/maven3/bin/mvn /usr/bin/mvn
Caution 1: command "sudo add-apt-repository ppa:natecarlson/maven3" did not work on my Ubuntu and had to run "sudo add-apt-repository -rm ppa:natecarlson/maven3" to get my apt-get to work again.
Caution 2: thanks to David, you need to remove your existing symbolic link to previous versions of maven before running step 4.
相关推荐
maven-3.5.0版本的本地资源包,直接解压就可使用。 方式1 需要在系统环境变量中直接配置path中配置,路径是到bin目录。 方式2 新建配置(MAVEN_HOME),路径为是解压后的maven根目录,再在path中引用(%MAVEN_HOME%\...
maven-install-plugin-2.4.jar
2) A directory called "apache-maven-3.x.y" will be created. 3) Add the bin directory to your PATH, eg: Unix-based operating systems (Linux, Solaris and Mac OS X) export PATH=/usr/local/apache-...
eclipse-maven3-plugin插件 包含apache-maven-3.3.9和eclipse-maven3-plugin
apt-maven-插件 apt-maven-plugin提供Java 6 APT功能的Maven集成。 支持的目标是 process - to process main sources test-process - to process test sources 这是配置示例 <groupId>com.mysema.maven</groupId...
maven-install-plugin-2.5.2.jar
apache-maven-3.5.2-稳定版.rar gemframe开源框架开发环境必备
idea中maven项目右侧插件红线,可能需要手动导入架包等文件,直接把压缩包考进去就行。我的F:\maven_repository\org\apache\maven\plugins\maven-surefire-plugin文件夹下
apache-maven-3.9.6-bin
apache-maven-3.2.3、apache-maven-3.6.0、apache-maven-3.6.1,仓库用的是http://maven.aliyun.com/nexus/content/groups/public
maven资源 apache-maven-3.3.9-bin.zip
apache-maven-3.8.4-bin.zip
在apache-maven-3.5.2/conf/setting.xml中加入以下配置即可解决 alimaven aliyun maven http://maven.aliyun.com/nexus/content/repositories/central/ central junit junit Address/ ...
Downloading from central: https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml 很奇怪,我的maven仓库配置了私有库,,并且在maven setting.xml中配置了mirror...
1. https://repo1.maven.org/maven2/mysql/mysql-connector-java/ 2. https://cdn.mysql.com//archives/mysql-connector-java-8.0/mysql-connector-java-8.0.28.zip 3. ...
2) A directory called "apache-maven-3.x.y" will be created. 3) Add the bin directory to your PATH, e.g.: Unix-based operating systems (Linux, Solaris and Mac OS X) export PATH=/usr/local/apache-...
eclipse-maven3-plugin.7z 解压缩到 plugins 目录下 3. 在 links 目录下创建一个maven.link(名字可以随便取,但必须是.link结尾的文件)文件 打开并输入:path= D:/Development/eclipse-JavaEE/eclipse/plugins...
maven-install-plugin-2.3.jar
https://archive.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.zip
docker容器内安装软件时很慢的解决办法,用网易加速和阿里云加速提升软件安装的速度,安装ps,vi,telnet,netstat等命令,亲测!