Hi,
you could define a profile [1] in your pom.xml file.

<profiles>
  <profile>
    <activation>
      <property>
        <name>environment</name>
        <value>integration-tests</value>
      </property>
    </activation>
    <build>
      <plugins>
        <plugin>
          groupId>com.thecompany</groupId>
          <artifactId>the-plugin</artifactId>
          <executions>
            <execution>
              <phase>deploy</phase>
              <goals>
                <goal>the-goal</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </build>
  </profile>
</profiles>

You can then use the following command on your "special" machine with the 
license:
mvn clean deploy -Denvironment=integration-tests

Hope this helps.

Cheers, michael

[1] http://maven.apache.org/guides/introduction/introduction-to-profiles.html


Mick Knutson schrieb:
I have a plugin I purchased that needs to be run each time the integration
build server runs. This plugin is only available on 1 machine, not every
machine for licensing restrictions.
But it is run as part of the whole build, not individually as a task.

So how do I configure my pom.xml to have just this one machine run this, and
not the other developers in the project?



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

Reply via email to