Hi,

In the Clover plugin I modify the project.build.sourceDirectory value (in
the generate-sources phase). This is because I want any subsequent plugin to
use the directory where clover has generated the clovered source files.

For example, I would expect the following to print the new sourceDirectory
value:

      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-classes</phase>
            <configuration>
              <tasks>
                <echo message="${project.build.sourceDirectory}"/>
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

But it prints the original value (src/main/java).

Does the problem occur because of the <execution>? Doesn't executions
inherit their default configurations from the executing lifecycle?

Or it the problem elsewhere?

Thanks
-Vincent


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

Reply via email to