diff --git a/pom.xml b/pom.xml index 822a9fea..a1d01349 100644 --- a/pom.xml +++ b/pom.xml @@ -23,11 +23,10 @@ under the License. org.apache.maven.extensions maven-extensions - 41 + 43 - org.apache.maven.extensions maven-build-cache-extension 1.2.1-SNAPSHOT jar diff --git a/src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java b/src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java index 11cec501..45d9996c 100644 --- a/src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java +++ b/src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java @@ -141,6 +141,7 @@ public class CacheControllerImpl implements CacheController { private int attachedResourceCounter = 0; + @SuppressWarnings("ParameterNumber") @Inject public CacheControllerImpl( MavenProjectHelper projectHelper, diff --git a/src/main/java/org/apache/maven/buildcache/checksum/MavenProjectInput.java b/src/main/java/org/apache/maven/buildcache/checksum/MavenProjectInput.java index e196eddd..f7e06aea 100644 --- a/src/main/java/org/apache/maven/buildcache/checksum/MavenProjectInput.java +++ b/src/main/java/org/apache/maven/buildcache/checksum/MavenProjectInput.java @@ -693,6 +693,7 @@ public Artifact createPluginArtifact(Plugin plugin) { false); } + @SuppressWarnings("checkstyle:parameternumber") private Artifact createArtifact( String groupId, String artifactId,