@@ -75,13 +75,8 @@ Using Plugin Tools Java Annotations
7575
7676* POM configuration
7777
78- To be able to use these Java annotations, you need to add some configuration to your plugin POM:
79-
80- * add <<<maven-plugin-annotations>>> dependency, preferably with <<<provided>>> scope,
81-
82- * override Maven core's <<<default-descriptor>>> execution phase to <<<process-classes>>>,
83-
84- []
78+ To be able to use these Java annotations, you need to add to your plugin POM
79+ <<<maven-plugin-annotations>>> dependency, preferably with <<<provided>>> scope.
8580
8681+-----+
8782<project>
@@ -94,7 +89,7 @@ Using Plugin Tools Java Annotations
9489 <groupId>org.apache.maven.plugin-tools</groupId>
9590 <artifactId>maven-plugin-annotations</artifactId>
9691 <version>${project.version}</version>
97- <optional>true</optional > <!-- annotations are not used at runtime because @Retention(value=CLASS), they are needed only to build the plugin -->
92+ <scope>provided</scope > <!-- annotations are not used at runtime because @Retention(value=CLASS), they are needed only to build the plugin -->
9893 </dependency>
9994 </dependencies>
10095 ...
@@ -105,10 +100,6 @@ Using Plugin Tools Java Annotations
105100 <artifactId>maven-plugin-plugin</artifactId>
106101 <version>${project.version}</version>
107102 <executions>
108- <execution>
109- <id>default-descriptor</id>
110- <phase>process-classes</phase>
111- </execution>
112103 <!-- if you want to generate help goal -->
113104 <execution>
114105 <id>help-goal</id>
0 commit comments