Hi

Why is it not possible to put the execution's plugin in more on phase
? You must declare two executions of a plugin with the same
configuration.
For example, you must define the plugin like this :
<project>
  <build>
    <plugins>
      <plugin>
        <groupId>org.example.</groupId>
        <artifactId>example-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-test-resources</phase>
            <goals>
              <goal>execute</goal>
            </goals>
          </execution>
          <execution>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>execute</goal>
            </goals>
          </execution>
        <executions>
      </plugin>
    </plugins>
  </build>
</project>

Why you can't define like this :
<project>
  <build>
    <plugins>
      <plugin>
        <groupId>org.example.</groupId>
        <artifactId>example-plugin</artifactId>
        <executions>
          <execution>
            <phases>
              <phase>process-test-resources</phase>
              <phase>pre-integration-test</phase>
            <phases>
            <goals>
              <goal>execute</goal>
            </goals>
          </execution>
        <executions>
      </plugin>
    </plugins>
  </build>
</project>

I didn't see any issue about this subject.

Thank you for your help.
Thomas Champagne

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to