maven输出中“<<<<<”,“>>>”和“---”的含义是什么?

时间:2015-04-03 17:15:44

标签: maven maven-3 maven-javadoc-plugin

以下是我的项目mvn install的代表性示例:

[INFO]                                                                       
[INFO] ------------------------------------------------------------------------
[INFO] Building MyProject REST 1.8.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-project-rules) @ myproject-rest ---
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (unpack-shared-resources) @ myproject-rest ---
[INFO] swagger-ui-1.4.1.jar already exists in destination.
[INFO] 
[INFO] >>> maven-javadoc-plugin:2.9.1:javadoc (generate-service-docs) @ myproject-rest >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-project-rules) @ myproject-rest ---
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (unpack-shared-resources) @ myproject-rest ---
[INFO] swagger-ui-1.4.1.jar already exists in destination.
[INFO] 
[INFO] <<< maven-javadoc-plugin:2.9.1:javadoc (generate-service-docs) @ myproject-rest <<<
[INFO] 
[INFO] --- maven-javadoc-plugin:2.9.1:javadoc (generate-service-docs) @ myproject-rest ---
[INFO] Skipping javadoc generation
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ myproject-rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ myproject-rest ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ myproject-rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ myproject-rest ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ myproject-rest ---
[INFO] Tests are skipped.

某些行带有前缀,后缀为“&lt;&lt;&lt;&lt;”,有些带有“&gt;&gt;&gt;”,有些带有“---”。他们是什么意思?

1 个答案:

答案 0 :(得分:3)

---介绍了Maven插件目标的执行情况,但以下情况除外。

>>>引入了Maven插件目标的执行,该目标分配了自己的生命周期。

<<<标志着分叉生命周期的结束。