|
Properties should be defined for versions used in the profiles and dependency sections.
For example:
<plugin>
<!-- we need to disable version checking for RHQ client, so we can
run against various RHQ and JBoss ON versions -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.14</version>
<configuration>
<systemPropertyVariables>
<rhq.client.version-check>false</rhq.client.version-check>
</systemPropertyVariables>
</configuration>
</plugin>
Should be:
<plugin>
<!-- we need to disable version checking for RHQ client, so we can
run against various RHQ and JBoss ON versions -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>$
{version.surefire.plugin}
</version>
<configuration>
<systemPropertyVariables>
<rhq.client.version-check>false</rhq.client.version-check>
</systemPropertyVariables>
</configuration>
</plugin>
Where the property is defined as:
<version.surefire.plugin>2.10</version.surefire.plugin>
|