You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Benson Margulies <bi...@gmail.com> on 2011/04/23 21:11:50 UTC

What property references can go into lifecycle.xml

Expanding on a previous message:

Consider the lifecycle def below.

What if I added to the test configuration something like:

   <systemPropertyVariables><someVar>${someVal}</someVar></systemPropertyValues>

if a mojo uses @execute to run this lifecycle, is there any way for it
to push a value into 'someVal'?


<lifecycles>
  <lifecycle>
    <id>cobertura</id>
    <phases>
      <phase>
        <id>process-classes</id>
        <executions>
          <execution>
            <goals>
              <goal>instrument</goal>
            </goals>
          </execution>
        </executions>
      </phase>
      <phase>
        <id>test</id>
        <configuration>
          <classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory>
          <testFailureIgnore>true</testFailureIgnore>
          <forkMode>once</forkMode>
        </configuration>
      </phase>
    </phases>
  </lifecycle>
</lifecycles>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org