下面为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 Files\Java\jdk1.8.0_131\bin\java" -Dmaven.multiModuleProjectDirectory=D:\IdeaProjects\risk-sentry -Dmaven.home=D:\maven\apache-maven-3.5.0 -Dclassworlds.conf=D:\maven\apache-maven-3.5.0\bin\m2.conf "-javaagent:D:\Program Files\JetBrains\IntelliJ IDEA 2017.1.4\lib\idea_rt.jar=55640:D:\Program Files\JetBrains\IntelliJ IDEA 2017.1.4\bin" -Dfile.encoding=UTF-8 -classpath D:\maven\apache-maven-3.5.0\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2017.1.4 -s D:\maven\apache-maven-3.5.0\conf\fqgj\settings.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\risk-sentry\pom.xml to E:\.m2\repository\com\fqgj\risk-sentry\1.0-SNAPSHOT\risk-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\risk-sentry\sentry-common\src\main\resources
[INFO] skip non existing resourceDirectory D:\IdeaProjects\risk-sentry\sentry-common\src\main\resources
[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\risk-sentry\sentry-common\target\classes
[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\risk-sentry\sentry-common\src\test\resources
[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\risk-sentry\sentry-common\target\sentry-common-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ sentry-common ---
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-common\target\sentry-common-1.0-SNAPSHOT.jar to E:\.m2\repository\com\fqgj\sentry-common\1.0-SNAPSHOT\sentry-common-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-common\pom.xml to E:\.m2\repository\com\fqgj\sentry-common\1.0-SNAPSHOT\sentry-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\risk-sentry\sentry-infras\src\main\resources
[INFO] skip non existing resourceDirectory D:\IdeaProjects\risk-sentry\sentry-infras\src\main\resources
[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\risk-sentry\sentry-infras\src\test\resources
[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\risk-sentry\sentry-infras\target\sentry-infras-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ sentry-infras ---
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-infras\target\sentry-infras-1.0-SNAPSHOT.jar to E:\.m2\repository\com\fqgj\sentry-infras\1.0-SNAPSHOT\sentry-infras-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-infras\pom.xml to E:\.m2\repository\com\fqgj\sentry-infras\1.0-SNAPSHOT\sentry-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\risk-sentry\sentry-modules\pom.xml to E:\.m2\repository\com\fqgj\sentry-modules\1.0-SNAPSHOT\sentry-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\risk-sentry\sentry-modules\module-policy\pom.xml to E:\.m2\repository\com\fqgj\module-policy\1.0-SNAPSHOT\module-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\risk-sentry\sentry-modules\module-policy\policy-dao\src\main\resources
[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\risk-sentry\sentry-modules\module-policy\policy-dao\target\classes
[WARNING] /D:/IdeaProjects/risk-sentry/sentry-modules/module-policy/policy-dao/src/main/java/com/fqgj/sentry/policy/dao/impl/PcRuleDaoImpl.java: D:\IdeaProjects\risk-sentry\sentry-modules\module-policy\policy-dao\src\main\java\com\fqgj\sentry\policy\dao\impl\PcRuleDaoImpl.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\risk-sentry\sentry-modules\module-policy\policy-dao\src\test\resources
[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\risk-sentry\sentry-modules\module-policy\policy-dao\target\policy-dao-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ policy-dao ---
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-policy\policy-dao\target\policy-dao-1.0-SNAPSHOT.jar to E:\.m2\repository\com\fqgj\policy-dao\1.0-SNAPSHOT\policy-dao-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-policy\policy-dao\pom.xml to E:\.m2\repository\com\fqgj\policy-dao\1.0-SNAPSHOT\policy-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\risk-sentry\sentry-modules\module-policy\policy-client\src\main\resources
[INFO] skip non existing resourceDirectory D:\IdeaProjects\risk-sentry\sentry-modules\module-policy\policy-client\src\main\resources
[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\risk-sentry\sentry-modules\module-policy\policy-client\target\classes
[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\risk-sentry\sentry-modules\module-policy\policy-client\src\test\resources
[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\risk-sentry\sentry-modules\module-policy\policy-client\target\policy-client-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ policy-client ---
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-policy\policy-client\target\policy-client-1.0-SNAPSHOT.jar to E:\.m2\repository\com\fqgj\policy-client\1.0-SNAPSHOT\policy-client-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-policy\policy-client\pom.xml to E:\.m2\repository\com\fqgj\policy-client\1.0-SNAPSHOT\policy-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\risk-sentry\sentry-modules\module-policy\policy-server\src\main\resources
[INFO] skip non existing resourceDirectory D:\IdeaProjects\risk-sentry\sentry-modules\module-policy\policy-server\src\main\resources
[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\risk-sentry\sentry-modules\module-policy\policy-server\target\classes
[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\risk-sentry\sentry-modules\module-policy\policy-server\src\test\resources
[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\risk-sentry\sentry-modules\module-policy\policy-server\target\policy-server-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ policy-server ---
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-policy\policy-server\target\policy-server-1.0-SNAPSHOT.jar to E:\.m2\repository\com\fqgj\policy-server\1.0-SNAPSHOT\policy-server-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-policy\policy-server\pom.xml to E:\.m2\repository\com\fqgj\policy-server\1.0-SNAPSHOT\policy-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\risk-sentry\sentry-modules\module-manage\pom.xml to E:\.m2\repository\com\fqgj\module-manage\1.0-SNAPSHOT\module-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\risk-sentry\sentry-modules\module-manage\manage-dao\src\main\resources
[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\risk-sentry\sentry-modules\module-manage\manage-dao\target\classes
[WARNING] /D:/IdeaProjects/risk-sentry/sentry-modules/module-manage/manage-dao/src/main/java/com/fqgj/sentry/manage/dao/impl/McApplicationDaoImpl.java: D:\IdeaProjects\risk-sentry\sentry-modules\module-manage\manage-dao\src\main\java\com\fqgj\sentry\manage\dao\impl\McApplicationDaoImpl.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\risk-sentry\sentry-modules\module-manage\manage-dao\src\test\resources
[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\risk-sentry\sentry-modules\module-manage\manage-dao\target\manage-dao.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ manage-dao ---
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-manage\manage-dao\target\manage-dao.jar to E:\.m2\repository\com\fqgj\manage-dao\1.0-SNAPSHOT\manage-dao-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-manage\manage-dao\pom.xml to E:\.m2\repository\com\fqgj\manage-dao\1.0-SNAPSHOT\manage-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\risk-sentry\sentry-modules\module-manage\manage-client\src\main\resources
[INFO] skip non existing resourceDirectory D:\IdeaProjects\risk-sentry\sentry-modules\module-manage\manage-client\src\main\resources
[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\risk-sentry\sentry-modules\module-manage\manage-client\target\classes
[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\risk-sentry\sentry-modules\module-manage\manage-client\src\test\resources
[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\risk-sentry\sentry-modules\module-manage\manage-client\target\manage-client-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ manage-client ---
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-manage\manage-client\target\manage-client-1.0-SNAPSHOT.jar to E:\.m2\repository\com\fqgj\manage-client\1.0-SNAPSHOT\manage-client-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-manage\manage-client\pom.xml to E:\.m2\repository\com\fqgj\manage-client\1.0-SNAPSHOT\manage-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\risk-sentry\sentry-modules\module-manage\manage-server\src\main\resources
[INFO] skip non existing resourceDirectory D:\IdeaProjects\risk-sentry\sentry-modules\module-manage\manage-server\src\main\resources
[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\risk-sentry\sentry-modules\module-manage\manage-server\target\classes
[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\risk-sentry\sentry-modules\module-manage\manage-server\src\test\resources
[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\risk-sentry\sentry-modules\module-manage\manage-server\target\manage-server-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ manage-server ---
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-manage\manage-server\target\manage-server-1.0-SNAPSHOT.jar to E:\.m2\repository\com\fqgj\manage-server\1.0-SNAPSHOT\manage-server-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-modules\module-manage\manage-server\pom.xml to E:\.m2\repository\com\fqgj\manage-server\1.0-SNAPSHOT\manage-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\risk-sentry\sentry-admin\pom.xml to E:\.m2\repository\com\fqgj\sentry-admin\1.0-SNAPSHOT\sentry-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\risk-sentry\sentry-admin\admin-rest\target\classes
[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\risk-sentry\sentry-admin\admin-rest\src\test\resources
[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\risk-sentry\sentry-admin\admin-rest\target\test-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\risk-sentry\sentry-admin\admin-rest\target\risk-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\risk-sentry\sentry-admin\admin-rest\target\risk-admin.jar to E:\.m2\repository\com\fqgj\admin-rest\1.0-SNAPSHOT\admin-rest-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-admin\admin-rest\pom.xml to E:\.m2\repository\com\fqgj\admin-rest\1.0-SNAPSHOT\admin-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\risk-sentry\sentry-api\pom.xml to E:\.m2\repository\com\fqgj\sentry-api\1.0-SNAPSHOT\sentry-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\risk-sentry\sentry-api\api-rest\src\main\resources
[INFO] skip non existing resourceDirectory D:\IdeaProjects\risk-sentry\sentry-api\api-rest\src\main\resources
[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\risk-sentry\sentry-api\api-rest\src\test\resources
[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\risk-sentry\sentry-api\api-rest\target\api-rest-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ api-rest ---
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-api\api-rest\target\api-rest-1.0-SNAPSHOT.jar to E:\.m2\repository\com\fqgj\api-rest\1.0-SNAPSHOT\api-rest-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-api\api-rest\pom.xml to E:\.m2\repository\com\fqgj\api-rest\1.0-SNAPSHOT\api-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\risk-sentry\sentry-api\api-biz\src\main\resources
[INFO] skip non existing resourceDirectory D:\IdeaProjects\risk-sentry\sentry-api\api-biz\src\main\resources
[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\risk-sentry\sentry-api\api-biz\src\test\resources
[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\risk-sentry\sentry-api\api-biz\target\api-biz-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ api-biz ---
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-api\api-biz\target\api-biz-1.0-SNAPSHOT.jar to E:\.m2\repository\com\fqgj\api-biz\1.0-SNAPSHOT\api-biz-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\sentry-api\api-biz\pom.xml to E:\.m2\repository\com\fqgj\api-biz\1.0-SNAPSHOT\api-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\risk-sentry\policy-engine\target\classes
[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\risk-sentry\policy-engine\src\test\resources
[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\risk-sentry\policy-engine\target\policy-engine-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ policy-engine ---
[INFO] Installing D:\IdeaProjects\risk-sentry\policy-engine\target\policy-engine-1.0-SNAPSHOT.jar to E:\.m2\repository\com\fqgj\policy-engine\1.0-SNAPSHOT\policy-engine-1.0-SNAPSHOT.jar
[INFO] Installing D:\IdeaProjects\risk-sentry\policy-engine\pom.xml to E:\.m2\repository\com\fqgj\policy-engine\1.0-SNAPSHOT\policy-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

利用maven进行项目管理的更多相关文章

  1. 利用Maven把项目生成jar包供其他项目使用

    每当搭建框架时,第一步就是为系统整理一个接一个的jar包.用多了就开始深思,如何把自己的项目也整成jar包,供他人使用呢? 近期一直在看徐晓斌所著:<Maven实战>.因自己学识不够,只是 ...

  2. 利用Maven打包时,如何包含更多的资源文件

    首先,来看下MAVENx项目标准的目录结构: 一般情况下,我们用到的资源文件(各种xml,properites,xsd文件等)都放在src/main/resources下面,利用maven打包时,ma ...

  3. 利用Maven管理工程项目本地启动报错及解决方案

    目前利用Maven工具来构建自己的项目已比较常见.今天主要不是介绍Maven工具,而是当你本地启动这样的服务时,如果遇到报错,该如何解决?下面只是参考的解决方案,具体的解法还是得看log的信息. 1. ...

  4. 利用maven的filter和profile实现不同环境使用不同的配制

    在我们平常的java开发中,会经常使用到很多配制文件(xxx.properties,xxx.xml),而当我们在本地开发(dev),测试环境测试(test),线上生产使用(product)时,需要不停 ...

  5. 利用maven的resources、filter和profile实现不同环境使用不同配置文件

    基本概念说明(resources.filter和profile): 1.profiles定义了各个环境的变量id 2.filters中定义了变量配置文件的地址,其中地址中的环境变量就是上面profil ...

  6. Maven java项目管理工具

    Maven java项目管理工具 1.安装maven 下载最新的maven 下载地址 http://maven.apache.org/download.cgi 传到要安装的目录 例如/opt/下 # ...

  7. Maven使用-利用Maven引入相关包(Struts2)

    根据上一篇的项目搭建,接下来引入需要使用Struts2相关包 1,如何利用maven往项目中引入包? maven就像一个导包助手一样,让它知道去哪里拿什么,他就会自动完成需要的包的搬运工作. (1), ...

  8. 利用maven install jar到项目当中

    接着上面利用maven打好的jar包.把刚刚打好的包放入其他项目当中怎么办? 只需要在相同的目录下执行mvn install,maven会自动把jar放到本地仓库中. 这样,原先maven项目中缺少依 ...

  9. 关于利用maven搭建ssm的博客,我们一起来探讨下问的最多的问题

    前言 开心一刻 有个同学去非洲援建,刚到工地接待他的施工员是个黑人,他就用英语跟人家交流,黑人没做声. 然后他又用法语,黑人还是没说话. 然后他用手去比划.黑人终于开口了:瞎比划嘎哈,整个工地都中国人 ...

随机推荐

  1. STM32之定时器输入捕获

    1.输入捕获模式可以用来测量脉冲宽度或者测量频率.STM32的定时器,除了TIM6和TIM7,其他定时器都有输入捕获功能.STM32的输入捕获,简单的说就是通过检测TIMx_CHx上的边沿信号,在边沿 ...

  2. vsCode中误删了文件,教你怎么恢复

      不要慌!下面开始帮你找到,很简单!

  3. 团体队列 UVA540 Team Queue

    题目描述 有t个团队的人正在排一个长队.每次新来一个人时,如果他有队友在排队,那么新人会插队到最后一个队友的身后.如果没有任何一个队友排队,则他会被排到长队的队尾. 输入每个团队中所有队员的编号,要求 ...

  4. lower_case_table_name

    linux上是区分表名大小写的,但是可以通过 my.cnf文件中设置不区分! 1.找到my.cnf文件的所在地. find / -name my.cnf 找到这个文件的位置.我服务器上的位置是 /us ...

  5. PHP环境配置:Windows7+IIS7+PHP+MySQL - 适用于(2008 R2 / 8 / 10)

    配置需求 操作系统:Windows7(x32/x64), windows2008 IIS版本:7.0 PHP版本:7.0.6 及以上 MySQL版本:5.7.12 及以上 第一步:安装 IIS 注意: ...

  6. Flask的request和session是从哪里来的?

    因为之前一直在项目中使用django, 所以在学习Flask的过程中, 难免对吧django和Flask进行对比, 这一次我发现Flask中的request和session并没有想象的那么简单, 所以 ...

  7. Leecode刷题之旅-C语言/python-349两个数组的交集

    /* * @lc app=leetcode.cn id=349 lang=c * * [349] 两个数组的交集 * * https://leetcode-cn.com/problems/inters ...

  8. for循环删除列表中元素遇到的漏删的问题(python)

    问题描述:python中通过for循环来删除列表中的两个相邻的元素,存在漏删的问题 比如说下面的例子,准备删掉2和3,但是结果是2删掉了,3没删掉 是因为把2删掉后3的下标就变成了1,但是原本下标为1 ...

  9. Cmake3.6.1 下载

    下载地址:https://github.com/Kitware/CMake/releases?after=v3.6.2

  10. 【blockly教程】第六章 Blockly的进阶

    6.1 模块化程序设计  一个较大的程序一般应分为若干个程序模块,每一个模块用来实现一个特定的功能.所有的高级语言中都有子程序这个概念,用子程序实现模块的功能.比如在C语言中,子程序的作用是由函数完成 ...