• 利用maven进行项目管理


    下面为maven项目管理的一个结构
    首先pom是路径文件,我们在编译或是运行程序时调用到jdk或一些自己写的jar包时会需要指明物理路径,这里的pom是一样的道理,同时在maven的管理下多出来了一些仓库管理的扩展功能
    从我们导入项目开始,maven根据pom.xml文件从远程仓库下载缺少的jar包依赖至本地仓库,以满足对外依赖,但是项目内部的各个模块之间的依赖无法满足
    于是利用maven的install依次对各个模块进行编译、打包并部署到本地仓库
     
    以module-policy模块为例
    首先module-policy模块被所有次级模块的pom所继承的pom,被install到本地仓库
    接下来policy-dao的pom为模块引入依赖(继承),项目被打成jar包,并部署于本地仓库
    到了policy-client时,pom为模块引入依赖(继承),这个子pom同时引入了部署于本地仓库中的policy-dao.jar,项目被打成jar包,并部署于本地仓库
    所有模块依次生成,构成整个项目(项目由多个模块组合而成,没有一个模块包含其他模块之说,模块本可以不分层,为了能够从外表上看出pom依赖的继承关系才如此排版)
    模块的存在是相互独立的,在编译、运行时需要相互依赖(调用)
     
    以下是项目的install日志
    日志上显示了工程中每个项目依次的从起始到部署的一个过程
    maven的package是将模块编译、打包于target下
    clean是清除项目的target目录
    install是将打包好的模块部署于本地仓库

    "C:Program FilesJavajdk1.8.0_131injava" -Dmaven.multiModuleProjectDirectory=D:IdeaProjects isk-sentry -Dmaven.home=D:mavenapache-maven-3.5.0 -Dclassworlds.conf=D:mavenapache-maven-3.5.0inm2.conf "-javaagent:D:Program FilesJetBrainsIntelliJ IDEA 2017.1.4libidea_rt.jar=55640:D:Program FilesJetBrainsIntelliJ IDEA 2017.1.4in" -Dfile.encoding=UTF-8 -classpath D:mavenapache-maven-3.5.0ootplexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2017.1.4 -s D:mavenapache-maven-3.5.0conffqgjsettings.xml -DskipTests=true install
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Build Order:
    [INFO]
    [INFO] risk-sentry
    [INFO] sentry-common
    [INFO] sentry-infras
    [INFO] sentry-modules
    [INFO] module-policy
    [INFO] policy-dao
    [INFO] policy-client
    [INFO] policy-server
    [INFO] module-manage
    [INFO] manage-dao
    [INFO] manage-client
    [INFO] manage-server
    [INFO] sentry-admin
    [INFO] admin-rest
    [INFO] sentry-api
    [INFO] api-rest
    [INFO] api-biz
    [INFO] policy-engine
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building risk-sentry 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ risk-sentry ---
    [INFO] Installing D:IdeaProjects isk-sentrypom.xml to E:.m2 epositorycomfqgj isk-sentry1.0-SNAPSHOT isk-sentry-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building sentry-common 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sentry-common ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-commonsrcmain esources
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-commonsrcmain esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ sentry-common ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 18 source files to D:IdeaProjects isk-sentrysentry-common argetclasses
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-common/src/main/java/com/fqgj/sentry/common/utils/AESUtils.java:[3,16] sun.misc.BASE64Decoder是内部专用 API, 可能会在未来发行版中删除
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-common/src/main/java/com/fqgj/sentry/common/utils/AESUtils.java:[4,16] sun.misc.BASE64Encoder是内部专用 API, 可能会在未来发行版中删除
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-common/src/main/java/com/fqgj/sentry/common/utils/AESUtils.java:[3,16] sun.misc.BASE64Decoder是内部专用 API, 可能会在未来发行版中删除
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-common/src/main/java/com/fqgj/sentry/common/utils/AESUtils.java:[4,16] sun.misc.BASE64Encoder是内部专用 API, 可能会在未来发行版中删除
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-common/src/main/java/com/fqgj/sentry/common/utils/AESUtils.java:[3,16] sun.misc.BASE64Decoder是内部专用 API, 可能会在未来发行版中删除
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-common/src/main/java/com/fqgj/sentry/common/utils/AESUtils.java:[4,16] sun.misc.BASE64Encoder是内部专用 API, 可能会在未来发行版中删除
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-common/src/main/java/com/fqgj/sentry/common/utils/AESUtils.java:[51,32] sun.misc.BASE64Encoder是内部专用 API, 可能会在未来发行版中删除
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-common/src/main/java/com/fqgj/sentry/common/utils/AESUtils.java:[67,31] sun.misc.BASE64Decoder是内部专用 API, 可能会在未来发行版中删除
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-common/src/main/java/com/fqgj/sentry/common/response/ApiOutput.java: 某些输入文件使用了未经检查或不安全的操作。
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-common/src/main/java/com/fqgj/sentry/common/response/ApiOutput.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ sentry-common ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-commonsrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ sentry-common ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sentry-common ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ sentry-common ---
    [INFO] Building jar: D:IdeaProjects isk-sentrysentry-common argetsentry-common-1.0-SNAPSHOT.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ sentry-common ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-common argetsentry-common-1.0-SNAPSHOT.jar to E:.m2 epositorycomfqgjsentry-common1.0-SNAPSHOTsentry-common-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrysentry-commonpom.xml to E:.m2 epositorycomfqgjsentry-common1.0-SNAPSHOTsentry-common-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building sentry-infras 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sentry-infras ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-infrassrcmain esources
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-infrassrcmain esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ sentry-infras ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ sentry-infras ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-infrassrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ sentry-infras ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sentry-infras ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ sentry-infras ---
    [WARNING] JAR will be empty - no content was marked for inclusion!
    [INFO] Building jar: D:IdeaProjects isk-sentrysentry-infras argetsentry-infras-1.0-SNAPSHOT.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ sentry-infras ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-infras argetsentry-infras-1.0-SNAPSHOT.jar to E:.m2 epositorycomfqgjsentry-infras1.0-SNAPSHOTsentry-infras-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrysentry-infraspom.xml to E:.m2 epositorycomfqgjsentry-infras1.0-SNAPSHOTsentry-infras-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building sentry-modules 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ sentry-modules ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulespom.xml to E:.m2 epositorycomfqgjsentry-modules1.0-SNAPSHOTsentry-modules-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building module-policy 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ module-policy ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-policypom.xml to E:.m2 epositorycomfqgjmodule-policy1.0-SNAPSHOTmodule-policy-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building policy-dao 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ policy-dao ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-daosrcmain esources
    [INFO] Copying 24 resources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ policy-dao ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 36 source files to D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-dao argetclasses
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-modules/module-policy/policy-dao/src/main/java/com/fqgj/sentry/policy/dao/impl/PcRuleDaoImpl.java: D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-daosrcmainjavacomfqgjsentrypolicydaoimplPcRuleDaoImpl.java使用了未经检查或不安全的操作。
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-modules/module-policy/policy-dao/src/main/java/com/fqgj/sentry/policy/dao/impl/PcRuleDaoImpl.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ policy-dao ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-daosrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ policy-dao ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ policy-dao ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ policy-dao ---
    [INFO] Building jar: D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-dao argetpolicy-dao-1.0-SNAPSHOT.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ policy-dao ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-dao argetpolicy-dao-1.0-SNAPSHOT.jar to E:.m2 epositorycomfqgjpolicy-dao1.0-SNAPSHOTpolicy-dao-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-daopom.xml to E:.m2 epositorycomfqgjpolicy-dao1.0-SNAPSHOTpolicy-dao-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building policy-client 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ policy-client ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-clientsrcmain esources
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-clientsrcmain esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ policy-client ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 25 source files to D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-client argetclasses
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ policy-client ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-clientsrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ policy-client ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ policy-client ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ policy-client ---
    [INFO] Building jar: D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-client argetpolicy-client-1.0-SNAPSHOT.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ policy-client ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-client argetpolicy-client-1.0-SNAPSHOT.jar to E:.m2 epositorycomfqgjpolicy-client1.0-SNAPSHOTpolicy-client-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-clientpom.xml to E:.m2 epositorycomfqgjpolicy-client1.0-SNAPSHOTpolicy-client-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building policy-server 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ policy-server ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-serversrcmain esources
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-serversrcmain esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ policy-server ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 9 source files to D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-server argetclasses
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ policy-server ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-serversrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ policy-server ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ policy-server ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ policy-server ---
    [INFO] Building jar: D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-server argetpolicy-server-1.0-SNAPSHOT.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ policy-server ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-server argetpolicy-server-1.0-SNAPSHOT.jar to E:.m2 epositorycomfqgjpolicy-server1.0-SNAPSHOTpolicy-server-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-policypolicy-serverpom.xml to E:.m2 epositorycomfqgjpolicy-server1.0-SNAPSHOTpolicy-server-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building module-manage 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ module-manage ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-managepom.xml to E:.m2 epositorycomfqgjmodule-manage1.0-SNAPSHOTmodule-manage-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building manage-dao 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ manage-dao ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-daosrcmain esources
    [INFO] Copying 20 resources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ manage-dao ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 31 source files to D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-dao argetclasses
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-modules/module-manage/manage-dao/src/main/java/com/fqgj/sentry/manage/dao/impl/McApplicationDaoImpl.java: D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-daosrcmainjavacomfqgjsentrymanagedaoimplMcApplicationDaoImpl.java使用了未经检查或不安全的操作。
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-modules/module-manage/manage-dao/src/main/java/com/fqgj/sentry/manage/dao/impl/McApplicationDaoImpl.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ manage-dao ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-daosrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ manage-dao ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ manage-dao ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ manage-dao ---
    [INFO] Building jar: D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-dao argetmanage-dao.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ manage-dao ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-dao argetmanage-dao.jar to E:.m2 epositorycomfqgjmanage-dao1.0-SNAPSHOTmanage-dao-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-daopom.xml to E:.m2 epositorycomfqgjmanage-dao1.0-SNAPSHOTmanage-dao-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building manage-client 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ manage-client ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-clientsrcmain esources
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-clientsrcmain esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ manage-client ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 11 source files to D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-client argetclasses
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ manage-client ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-clientsrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ manage-client ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ manage-client ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ manage-client ---
    [INFO] Building jar: D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-client argetmanage-client-1.0-SNAPSHOT.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ manage-client ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-client argetmanage-client-1.0-SNAPSHOT.jar to E:.m2 epositorycomfqgjmanage-client1.0-SNAPSHOTmanage-client-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-clientpom.xml to E:.m2 epositorycomfqgjmanage-client1.0-SNAPSHOTmanage-client-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building manage-server 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ manage-server ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-serversrcmain esources
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-serversrcmain esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ manage-server ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 11 source files to D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-server argetclasses
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ manage-server ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-serversrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ manage-server ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ manage-server ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ manage-server ---
    [INFO] Building jar: D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-server argetmanage-server-1.0-SNAPSHOT.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ manage-server ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-server argetmanage-server-1.0-SNAPSHOT.jar to E:.m2 epositorycomfqgjmanage-server1.0-SNAPSHOTmanage-server-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrysentry-modulesmodule-managemanage-serverpom.xml to E:.m2 epositorycomfqgjmanage-server1.0-SNAPSHOTmanage-server-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building sentry-admin 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ sentry-admin ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-adminpom.xml to E:.m2 epositorycomfqgjsentry-admin1.0-SNAPSHOTsentry-admin-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building admin-rest 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ admin-rest ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 1 resource
    [INFO] Copying 4 resources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ admin-rest ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 100 source files to D:IdeaProjects isk-sentrysentry-adminadmin-rest argetclasses
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-admin/admin-rest/src/main/java/com/fqgj/sentry/biz/pc/PolicySetBusiness.java: 某些输入文件使用了未经检查或不安全的操作。
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-admin/admin-rest/src/main/java/com/fqgj/sentry/biz/pc/PolicySetBusiness.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ admin-rest ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-adminadmin-restsrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ admin-rest ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 12 source files to D:IdeaProjects isk-sentrysentry-adminadmin-rest arget est-classes
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-admin/admin-rest/src/test/java/com/fqgj/sentry/controller/mc/RestApplicationTest.java: 某些输入文件使用了未经检查或不安全的操作。
    [WARNING] /D:/IdeaProjects/risk-sentry/sentry-admin/admin-rest/src/test/java/com/fqgj/sentry/controller/mc/RestApplicationTest.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ admin-rest ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ admin-rest ---
    [INFO] Building jar: D:IdeaProjects isk-sentrysentry-adminadmin-rest arget isk-admin.jar
    [INFO]
    [INFO] --- spring-boot-maven-plugin:1.5.4.RELEASE:repackage (default) @ admin-rest ---
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ admin-rest ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-adminadmin-rest arget isk-admin.jar to E:.m2 epositorycomfqgjadmin-rest1.0-SNAPSHOTadmin-rest-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrysentry-adminadmin-restpom.xml to E:.m2 epositorycomfqgjadmin-rest1.0-SNAPSHOTadmin-rest-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building sentry-api 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ sentry-api ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-apipom.xml to E:.m2 epositorycomfqgjsentry-api1.0-SNAPSHOTsentry-api-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building api-rest 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ api-rest ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-apiapi-restsrcmain esources
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-apiapi-restsrcmain esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ api-rest ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ api-rest ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-apiapi-restsrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ api-rest ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ api-rest ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ api-rest ---
    [WARNING] JAR will be empty - no content was marked for inclusion!
    [INFO] Building jar: D:IdeaProjects isk-sentrysentry-apiapi-rest argetapi-rest-1.0-SNAPSHOT.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ api-rest ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-apiapi-rest argetapi-rest-1.0-SNAPSHOT.jar to E:.m2 epositorycomfqgjapi-rest1.0-SNAPSHOTapi-rest-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrysentry-apiapi-restpom.xml to E:.m2 epositorycomfqgjapi-rest1.0-SNAPSHOTapi-rest-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building api-biz 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ api-biz ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-apiapi-bizsrcmain esources
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-apiapi-bizsrcmain esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ api-biz ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ api-biz ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrysentry-apiapi-bizsrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ api-biz ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ api-biz ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ api-biz ---
    [WARNING] JAR will be empty - no content was marked for inclusion!
    [INFO] Building jar: D:IdeaProjects isk-sentrysentry-apiapi-biz argetapi-biz-1.0-SNAPSHOT.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ api-biz ---
    [INFO] Installing D:IdeaProjects isk-sentrysentry-apiapi-biz argetapi-biz-1.0-SNAPSHOT.jar to E:.m2 epositorycomfqgjapi-biz1.0-SNAPSHOTapi-biz-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrysentry-apiapi-bizpom.xml to E:.m2 epositorycomfqgjapi-biz1.0-SNAPSHOTapi-biz-1.0-SNAPSHOT.pom
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building policy-engine 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ policy-engine ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 0 resource
    [INFO] Copying 5 resources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ policy-engine ---
    [INFO] Changes detected - recompiling the module!
    [INFO] Compiling 27 source files to D:IdeaProjects isk-sentrypolicy-engine argetclasses
    [WARNING] /D:/IdeaProjects/risk-sentry/policy-engine/src/main/java/com/fqgj/sentry/policy/engine/resolver/Parser.java: 某些输入文件使用了未经检查或不安全的操作。
    [WARNING] /D:/IdeaProjects/risk-sentry/policy-engine/src/main/java/com/fqgj/sentry/policy/engine/resolver/Parser.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ policy-engine ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory D:IdeaProjects isk-sentrypolicy-enginesrc est esources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ policy-engine ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ policy-engine ---
    [INFO] Tests are skipped.
    [INFO]
    [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ policy-engine ---
    [INFO] Building jar: D:IdeaProjects isk-sentrypolicy-engine argetpolicy-engine-1.0-SNAPSHOT.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ policy-engine ---
    [INFO] Installing D:IdeaProjects isk-sentrypolicy-engine argetpolicy-engine-1.0-SNAPSHOT.jar to E:.m2 epositorycomfqgjpolicy-engine1.0-SNAPSHOTpolicy-engine-1.0-SNAPSHOT.jar
    [INFO] Installing D:IdeaProjects isk-sentrypolicy-enginepom.xml to E:.m2 epositorycomfqgjpolicy-engine1.0-SNAPSHOTpolicy-engine-1.0-SNAPSHOT.pom
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] risk-sentry ........................................ SUCCESS [ 1.375 s]
    [INFO] sentry-common ...................................... SUCCESS [ 13.107 s]
    [INFO] sentry-infras ...................................... SUCCESS [ 0.972 s]
    [INFO] sentry-modules ..................................... SUCCESS [ 0.090 s]
    [INFO] module-policy ...................................... SUCCESS [ 0.080 s]
    [INFO] policy-dao ......................................... SUCCESS [ 3.781 s]
    [INFO] policy-client ...................................... SUCCESS [ 2.739 s]
    [INFO] policy-server ...................................... SUCCESS [ 3.163 s]
    [INFO] module-manage ...................................... SUCCESS [ 0.031 s]
    [INFO] manage-dao ......................................... SUCCESS [ 2.780 s]
    [INFO] manage-client ...................................... SUCCESS [ 1.681 s]
    [INFO] manage-server ...................................... SUCCESS [ 2.022 s]
    [INFO] sentry-admin ....................................... SUCCESS [ 0.031 s]
    [INFO] admin-rest ......................................... SUCCESS [ 35.417 s]
    [INFO] sentry-api ......................................... SUCCESS [ 0.044 s]
    [INFO] api-rest ........................................... SUCCESS [ 1.838 s]
    [INFO] api-biz ............................................ SUCCESS [ 0.907 s]
    [INFO] policy-engine ...................................... SUCCESS [ 7.153 s]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 01:20 min
    [INFO] Finished at: 2017-08-12T16:42:56+08:00
    [INFO] Final Memory: 78M/379M
    [INFO] ------------------------------------------------------------------------

    Process finished with exit code 0

  • 相关阅读:
    python之使用openpyxl从excel读取测试数据004
    python之编写HttpRequest工具类003
    python之cookies获取002
    OJ练习9——T20 valid parentheses
    OJ练习8——T19 remove nth node
    OJ练习7——T14 Longest Common Prefix
    OJ练习6——T8
    OJ练习5——T6
    OJ练习4——T7
    九度OJ-1351
  • 原文地址:https://www.cnblogs.com/zzzz76/p/7350777.html
Copyright © 2020-2023  润新知