diff options
author | liamfallon <liam.fallon@est.tech> | 2022-09-16 20:06:13 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2022-09-16 20:06:17 +0100 |
commit | 7c5702fdc7e93ea5031834cc6924a2d85c520a14 (patch) | |
tree | 7a7f010d9376d06485289891829a7e4711ec9355 | |
parent | 8dde27bf817e1822e3eb2a192e04cef05e6223d1 (diff) |
Fix minor warnings in code
Issue-ID: POLICY-4045
Change-Id: I34d596517bd84accd8916973b93d90c159460a5e
Signed-off-by: liamfallon <liam.fallon@est.tech>
-rw-r--r-- | integration/pom.xml | 16 | ||||
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | resources/pom.xml | 49 |
3 files changed, 63 insertions, 4 deletions
diff --git a/integration/pom.xml b/integration/pom.xml index 5df4aae7..ecbb83f9 100644 --- a/integration/pom.xml +++ b/integration/pom.xml @@ -36,7 +36,7 @@ <properties> <java.version>11</java.version> - <!-- NOTE: For RELEASE/SNAPSHOT always set to the project version --> + <!-- Note Well: For RELEASE/SNAPSHOT always set to the project version --> <version.parent.resources>3.5.3</version.parent.resources> <version.logback>1.2.11</version.logback> <version.dmaap>1.1.12</version.dmaap> @@ -990,6 +990,20 @@ </pluginExecution> <pluginExecution> <pluginExecutionFilter> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-remote-resources-plugin</artifactId> + <versionRange>3.0.0,)</versionRange> + <goals> + <goal>bundle</goal> + <goal>process</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <versionRange>[0.7.1.201405082137,)</versionRange> @@ -52,7 +52,7 @@ Be sure to override ${project.parent.basedir} in order to find the XML file - mvn formatter:format spotless:apply process-sources -Dproject.parent.basedir=TODO + mvn formatter:format spotless:apply process-sources -Dproject.parent.basedir=<basedir> --> <plugin> <groupId>net.revelc.code.formatter</groupId> 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> |