maven myclipse配置说明

我的资源里面有下载地址  https://download.csdn.net/download/heqinghua217/10918447

  1. Apache-maven-3.5.4的配置

 

其实配置只需要配置settings.xml文件即可,只需要吧localRepository配置成自己放本地资源的库,mirror里面的下载外部资源的路径。

 

 

 

 

<mirror>

           <id>nexusMirror</id>

           <mirrorOf>*</mirrorOf>

           <name>Human Readable Name for this Mirror.</name>

           <url>http://10.250.196.166:9091/nexus/content/groups/public/</url>

         </mirror>

          

          <mirror>

      <id>alimaven</id>

      <name>aliyun maven</name>

      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>

      <mirrorOf>central</mirrorOf>       

    </mirror>

 

 

2、配置环境变量

 

 

1 添加新的系统环境变量MAVEN_HOME, 并设置其值为你安装的目录

      MAVEN_HOME= D:\Softwares\apache-maven-3.2.2

2 更新系统PATH 变量, 添加;%MAVEN_HOME%\bin到尾部

 

 

 

3

 

 

3、myeclipse设置

 

3.1、添加maven目录

 

 

 

 

 

 

4、所有的jar包的版本可以从此路径下载

 

https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl/2.6.12

以下路径也是maven的jar的检索路径

https://search.maven.org/

 

 

5、myeclipse设置

 

 

 

 

 

 

 

猜你喜欢

转载自blog.csdn.net/heqinghua217/article/details/86493561
今日推荐