maven clean install流程解析

本文介绍了Maven的clean install过程,包括将编译后的JAR和WAR文件安装到本地Maven仓库,并详细描述了每个步骤,如安装business_pay-api和business_pay-center的相关文件到指定目录。
摘要由CSDN通过智能技术生成
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] business_pay
[INFO] business_pay-api          business_pay为父工程moudle下面两个,clean install
[INFO] business_pay-center
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building business_pay 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ business_pay ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ business_pay ---
[INFO] Installing D:\vnb_work\eclipse-4.7-32\eclipse-workspace\business_pay\pom.xml to D:\m2\repository\com\cgd\business_pay\1.0.0-SNAPSHOT\business_pay-1.0.0-SNAPSHOT.pom                       将 根目录下的pom.xml下载到git的本地仓库1.0.0-SNAPSHOT文件夹下
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building business_pay-api 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ business_pay-api ---
[INFO] Deleting D:\vnb_work\eclipse-4.7-32\eclipse-workspace\business_pay\business_pay-api\target       clean过程中删除target文件夹下的文件
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ business_pay-api ---       使用该插件处理资源文件,默认情况下处理src\main\resource,利用该插件添加额外的资源目录
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ business_pay-api ---   编译business_pay-api 
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 49 source files to D:\vnb_work\eclipse-4.7-32\eclipse-workspace\business_pay\business_pay-api\target\classes   将编译好的文件放到target\classes目录下
[WARNING] 未与 -source 1.7 一起设置引导类路径
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ business_pay-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.              用UTF-8编码格式复制先前被过滤的文件
[INFO] skip non existing resourceDirectory D:\vnb_work\eclipse-4.7-32\eclipse-workspace\business_pay\business_pay-api\src\test\resources
[INFO] 跳过不存在的资源文件
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ business_pay-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ business_pay-api ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ business_pay-api ---   将business_pay-api打包成.jar并保存到target目录下
[INFO] Building jar: D:\vnb_work\eclipse-4.7-32\eclipse-workspace\business_pay\business_pay-api\target\business_pay-api-1.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ business_pay-api ---

[INFO] Installing D:\vnb_work\eclipse-4.7-32\eclipse-workspace\business_pay\business_pay-api\target\business_pay-api-1.0.0-SNAPSHOT.jar to D:\m2\repository\com\cgd\business_pay-api\1.0.0-SNAPSHOT\business_pay-api-1.0.0-SNAPSHOT.jar   

将business_pay-api-1.0.0-SNAPSHOT.jar复制到git的本地仓库的1.0.0-SNAPSHOT文件夹下

[INFO] Installing D:\vnb_work\eclipse-4.7-32\eclipse-workspace\business_pay\business_pay-api\pom.xml to D:\m2\repository\com\cgd\business_pay-api\1.0.0-SNAPSHOT\business_pay-api-1.0.0-SNAPSHOT.pom    将business_pay-api根目录下的pom.xml复制到git的本地仓库1.0.0-SNAPSHOT目录下

[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building business_pay-center 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (default) @ business_pay-center ---   ant打包插件
[INFO] Executing tasks
   [ delete] Deleting: D:\vnb_work\eclipse-4.7-32\eclipse-workspace\business_pay\business_pay-center\src\main\resources\env.properties
     [ copy] Copying 1 file to D:\vnb_work\eclipse-4.7-32\eclipse-workspace\business_pay\business_pay-center\src\main\resources
   [ delete] Deleting: D:\vnb_work\eclipse-4.7-32\eclipse-workspace\business_pay\business_pay-center\src\main\resources\log4j.xml
     [ copy] Copying 1 file to D:\vnb_work\eclipse-4.7-32\eclipse-workspace\business_pay\business_pay-center\src\main\resources
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ business_pay-center ---
[INFO] Deleting<
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值