summaryrefslogtreecommitdiffstats
path: root/resources/pom.xml
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2022-09-16 20:06:13 +0100
committerliamfallon <liam.fallon@est.tech>2022-09-16 20:06:17 +0100
commit7c5702fdc7e93ea5031834cc6924a2d85c520a14 (patch)
tree7a7f010d9376d06485289891829a7e4711ec9355 /resources/pom.xml
parent8dde27bf817e1822e3eb2a192e04cef05e6223d1 (diff)
Fix minor warnings in code
Issue-ID: POLICY-4045 Change-Id: I34d596517bd84accd8916973b93d90c159460a5e Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'resources/pom.xml')
-rw-r--r--resources/pom.xml49
1 files changed, 47 insertions, 2 deletions
diff --git a/resources/pom.xml b/resources/pom.xml
index 4ee50911..3c89b407 100644
--- a/resources/pom.xml
+++ b/resources/pom.xml
@@ -16,8 +16,10 @@
============LICENSE_END=========================================================
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+>
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -29,4 +31,47 @@
<artifactId>policy-parent-resources</artifactId>
<description>Resources used in builds</description>
<packaging>jar</packaging>
+
+ <profiles>
+ <profile>
+ <id>m2e</id>
+ <!-- This profile is only active when the property "m2e.version" is set,
+ which is the case when building in Eclipse with m2e. -->
+ <activation>
+ <property>
+ <name>m2e.version</name>
+ </property>
+ </activation>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <versionRange>2.17,)</versionRange>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
+ </profiles>
</project>