标签:uri 文件 win pac app for bin web项目 element
名称:apache-maven-3.5.3-bin.zip
官网地址:http://maven.apache.org/download.cgi
百度网盘:链接: https://pan.baidu.com/s/1g3KfJ4PDBXSRtnESZ2nShQ 密码: x8m9
maven根目录\config\settings.xml
···
<mirrors>
<!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://my.repository.com/repo/path</url>
</mirror>
-->
<mirror>
<id>aliyun</id>
<name>aliyun Maven</name>
<mirrorOf>*</mirrorOf>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
</mirrors>
···
pom.xml
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
mvn compile //编译
mvn clean //清空编译结果
转载:Eclipse上Maven环境配置使用(全)
内容要点:
Eclipse中Maven的配置
创建Maven 桌面项目
创建Maven Web项目
在线搜索添加Jar组件"坐标"
标签:uri 文件 win pac app for bin web项目 element
原文地址:https://www.cnblogs.com/kunlingou/p/11518883.html