maven 输出中的“<<<”、“>>>”和“---”是什么意思?
What is the meaning of "<<<", ">>>", and "---" in maven output?
这是我的项目 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.
有些行的前缀和后缀是“<<<”,有些是“>>>”,有些是“---”。它们是什么意思?
---
介绍 Maven 插件目标的执行,但以下情况除外。
>>>
介绍了分叉其自身生命周期的 Maven 插件目标的执行。
<<<
标志着分叉生命周期的结束。
这是我的项目 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.
有些行的前缀和后缀是“<<<”,有些是“>>>”,有些是“---”。它们是什么意思?
---
介绍 Maven 插件目标的执行,但以下情况除外。
>>>
介绍了分叉其自身生命周期的 Maven 插件目标的执行。
<<<
标志着分叉生命周期的结束。