Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0-alpha-1
-
None
Description
Input POM:
<build> <plugins> <plugin> <groupId>org.apache.maven.its.plugins</groupId> <artifactId>maven-it-plugin-log-file</artifactId> <version>2.1-SNAPSHOT</version> <configuration> <logFile>target/exec.log</logFile> <string>exec-/string> </configuration> <executions> <execution> <id>exec-1</id> <phase>validate</phase> <goals> <goal>log-string</goal> </goals> </execution> <execution> <!-- NOTE: <id> deliberately omitted here! --> <phase>validate</phase> <goals> <goal>log-string</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
Effective POM:
<build> <plugins> <plugin> <groupId>org.apache.maven.its.plugins</groupId> <artifactId>maven-it-plugin-log-file</artifactId> <version>2.1-SNAPSHOT</version> <configuration> <logFile>target/exec.log</logFile> <string>exec</string> </configuration> <executions> <execution> <id>exec-1</id> <phase>validate</phase> <goals> <goal>log-string</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
Note that the execution without <id> is missing.