Check Name | Severity | Class |
---|---|---|
AntExecInPomCheck | ERROR | com.sap.ldi.metaqcheck.checks.AntExecInPomCheck |
DirectSnapshotUsageCheck | ERROR | com.sap.ldi.metaqcheck.checks.DirectSnapshotUsageCheck |
GroupIDVersionCheck | ERROR | com.sap.ldi.metaqcheck.checks.GroupIDVersionCheck |
IgnoreTychoRepositoriesCheck | ERROR | com.sap.ldi.metaqcheck.checks.IgnoreTychoRepositoriesCheck |
MavenMetaVersionCheck | ERROR | com.sap.ldi.metaqcheck.checks.MavenMetaVersionCheck |
P2TargetConfigurationCheck | ERROR | com.sap.ldi.metaqcheck.checks.P2TargetConfigurationCheck |
PluginWithoutExplicitVersionCheck | ERROR | com.sap.ldi.metaqcheck.checks.PluginWithoutExplicitVersionCheck |
PomRepositoriesCheck | ERROR | com.sap.ldi.metaqcheck.checks.PomRepositoriesCheck |
TychoTargetPlatformCheck | ERROR | com.sap.ldi.metaqcheck.checks.TychoTargetPlatformCheck |
Checks if the project uses the "maven-antrun-plugin" and if the Ant fragment contains <exec> or <java> elements.
If the tasks have failonerror=true or a resultproperty set this check will not report a violation. If you configure
the check with <strict>true<strict> then any <java> or <exec> will be reported.
Usage of those tasks may lead to unexpected results if errors are not handled correctly.
Checks if projects within the reactor have references to "SNAPSHOT" versions of artifacts that are not part of the reactor build.
The check supports the configuration option checkForLocalSnapshots. By default the check will not check if the reactor itself contains
SNAPSHOT version. If this option is set to "true" the check will also report SNAPSHOT versions within the reactor as violations.
Checks if the project's groupId or version matches one of the given groupId or version patterns. You must specify at least one valid pattern (regular expression):
<check severity="WARNING" class="com.sap.ldi.metaqcheck.checks.GroupIdVersionCheck">
<param type="map" key="validGroupIds">
<param type="list" key="groupIdPattern">
<value>^com\.sap\..+$</value>
</param>
</param>
<param type=\"map\" key=\"validVersions\">
<param type=\"list\" key=\"versionPattern\">
<value>^.+(-|\.)sap-\d\d$</value>
</param>
</param>
</check>
Checks that ignoreTychoRepositories is defined as true for tycho builds.
Checks if pom.xml files contain only allowed repositories in the <repositories> and <pluginRepositories> lists. Respects active profiles.
Example:
<check severity="ERROR"
class="com.sap.ldi.metaqcheck.checks.PomRepositoriesCheck">
<validRepositories>
<validRepository>
<urlprefix>http://nexus:8081/nexus/content/repositories/build.milestones.unzip/</urlprefix>
<layout>p2</layout>
</validRepository>
</validRepositories>
</check>
Checks if the pom.xml contains references to artifacts using the RELEASE, SNAPSHOT or LATEST "meta-version" identifiers.
Checks if target files in configured target projects contain only allowed URLs to p2 repositories. (Tycho and target-platform-configuration
plugins must be configured with a p2 resolver is configured) Allowed URLs are identified by prefixes, which are configured in configuration file. Each prefix must end with a "/".
Example:
<check severity="ERROR"
class="com.sap.ldi.metaqcheck.checks.P2TargetConfigurationCheck">
<param type="map" key="validRepositories">
<param type="list" key="urlprefix">
<value>http://nexus:8081/nexus/content/repositories/build.milestones.unzip/</value>
<value>http://nexus:8081/nexus/content/repositories/build.releases.unzip/</value>
</param>
</param>
</check>
Checks that all plugins in the pom.xml either have an explicit version or that a version for the plugin is defined in a
pluginManagement section in any parent pom.
Checks if command line parameter tycho.targetPlatform is specified.