-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
the sample pom is like this
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
<executions>
<execution>
<id>validate-sortpom-sort</id>
<phase>validate</phase>
<goals>
<goal>sort</goal>
</goals>
</execution>
<execution>
<id>verify-sortpom-sort</id>
<phase>verify</phase>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>The output is is not right.
The second validate should be verify.
[INFO] --- buildplan:2.2.2:list (default-cli) @ ---
...
--------------------------------------------------------------------------------------------------
PHASE | PLUGIN | VERSION | GOAL | EXECUTION ID
--------------------------------------------------------------------------------------------------
validate | sortpom-maven-plugin | 3.0.1 | sort | validate-sortpom-sort
...
validate | sortpom-maven-plugin | 3.0.1 | verify | verify-sortpom-sort
...The plugin got the defaultPhase in plugin, not the binding-phase in POM.
run list-phase shows as bellow which I think is correct:
[INFO] --- buildplan:2.2.2:list-phase (default-cli) @ ... ---
validate ------------------------------------------------------------------
+ sortpom-maven-plugin | sort | validate-sortpom-sort
.......
verify --------------------------------------------------------------------
+ sortpom-maven-plugin | verify | verify-sortpom-sortReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels