maven如何在eclipse中使用,构建架包
来源:互联网 发布:爱心地图的软件 编辑:程序博客网 时间:2024/06/06 06:30
1.百度maven.
2.进入官网下载工具.
3.找到settings.xml文件.
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
7.打开pom.xml,在</build>后增加
<dependencies>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.3.14.3</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.3.14.3</version>
2.进入官网下载工具.
3.找到settings.xml文件.
D:\apache-maven-3.5.0-bin\apache-maven-3.5.0\conf
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
5.打开eclipse开发工具,Preference -> Maven ->user Setting 找到settings.xml文件,添加进去。
7.打开pom.xml,在</build>后增加
<dependencies>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.3.14.3</version>
</dependency>
</dependencies>
找到项目所需要的包,在这个包的说明中复制以下内容到项目的pom.xml
文件中,运行。<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.3.14.3</version>
</dependency>
阅读全文
1 0
- maven如何在eclipse中使用,构建架包
- 如何在Eclipse中构建路径,导入jar包
- 如何在eclipse中使用maven
- 在eclipse中如何使用maven项目
- 在Eclipse中使用Maven构建Spring项目
- 在eclipse中运行使用maven构建的web工程
- 在 Eclipse 中使用 Maven 构建 Web 项目
- 在Eclipse中使用Maven构建web项目
- 在eclipse中使用maven工具构建项目
- 在Eclipse中使用maven构建JavaWeb项目
- 在Eclipse中使用Maven构建Spring项目
- 在Eclipse中使用Maven构建SpringMVC项目
- 在Eclipse中使用Maven构建Spring项目
- 如何在 Eclipse 中使用插件构建 PHP 开发环境
- Eclipse中使用maven构建SpringMVC
- Eclipse中如何使用Maven
- 在Eclipse中使用Maven
- 在eclipse中使用maven
- 欢迎使用CSDN-markdown编辑器
- MyEclipse中无法部署项目到tomcat中的解决方法( deployment is out of date due to changes in the underlying ......)
- 整数划分系列
- 【DFS】Codeforces 717E Paint it really, really dark gray
- 利用ServletContextListener初始化数据到内存
- maven如何在eclipse中使用,构建架包
- 查询oracle数据库的数据库名、实例名、ORACLE_SID
- 二叉树的下一个节点
- MVC开发模式
- Spring4.0.1+Quartz2.2.1实现定时任务调度[亲测可用]
- 简单的计算器制作
- Spring装配Bean之组件扫描和自动装配
- xrecyclerview
- 单链表中的计数排序(排列排序)(有头节点)