随笔分类 -  Maven

maven-profile多环境配置
摘要:http://www.cnblogs.com/hwaggLee/p/4579462.html 具体项目激活配置环境 pom.xml文件中激活 阅读全文
posted @ 2017-01-13 11:19 筱筱鹿丸 阅读(138) 评论(0) 推荐(0)
Dynamic Web Module 2.3 change to 3.0 maven工程解决办法
摘要:pom.xml web.xml org.eclipse.wst.common.project.facet.core.xml 切换为3.0版本之后,项目路径一直访问不了,~~清空tomcat部署项目~~,问题终于解决 阅读全文
posted @ 2017-01-10 11:47 筱筱鹿丸 阅读(3080) 评论(0) 推荐(0)
使用maven如何生成源代码的jar包
摘要:http://hw1287789687.iteye.com/blog/1943157 Maven build... 阅读全文
posted @ 2016-11-04 11:18 筱筱鹿丸 阅读(299) 评论(0) 推荐(0)
Maven安装本地jar包至本地repository
摘要:1.安装jar包 Maven 安装 JAR 包的命令是: mvn install:install-file -Dfile=jar包的位置 -DgroupId=上面的groupId -DartifactId=上面的artifactId -Dversion=上面的version -Dpackaging= 阅读全文
posted @ 2016-07-01 11:27 筱筱鹿丸 阅读(3907) 评论(1) 推荐(1)
Maven常用命令
摘要:常用命令编辑mvn archetype:create 创建Maven项目mvn compile 编译源代码mvn deploy 发布项目mvn test-compile 编译测试源代码mvn test 运行应用程序中的单元测试mvn site 生成项目相关信息的网站mvn clean 清除项目目录中 阅读全文
posted @ 2016-07-01 10:23 筱筱鹿丸 阅读(159) 评论(0) 推荐(0)
eclipse中maven工程添加本地库至Maven Dependencies
摘要:1.WEB-INF文件夹下添加lib文件夹,文件夹下添加demo-client-0.1-SNAPSHOT.jar 2.pom.xml中配置如下代码: system scope引入的包,在使用jar-with-dependencies打包时将不会被包含,可以使用resources将本地包打进jar-w 阅读全文
posted @ 2016-06-29 15:34 筱筱鹿丸 阅读(8190) 评论(0) 推荐(0)