2

这是我项目中的一个代表性示例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.

有些行以“<<<”为前缀和后缀,有些带有“>>>”,有些带有“---”。他们的意思是什么?

4

1 回答 1

3

---介绍 Maven 插件目标的执行,但以下内容除外。

>>>介绍了一个 Maven 插件目标的执行,该目标分叉了自己的生命周期。

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

于 2015-04-03T19:38:32.573 回答