updated to Maven v3.9.0

This commit is contained in:
Brian Long 2023-03-04 16:03:05 -05:00
parent 0af5425292
commit 434045f5d1
5 changed files with 6 additions and 13 deletions

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
@ -42,7 +43,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.version>3.6.3</maven.version>
<maven.version>3.9.0</maven.version>
</properties>
<dependencies>
@ -54,7 +55,7 @@
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>file-management</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
@ -65,7 +66,7 @@
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.6.0</version>
<version>3.7.1</version>
<scope>provided</scope>
</dependency>
<dependency>

View File

@ -16,8 +16,6 @@ package com.inteligr8.maven.regex;
import java.util.Properties;
import javax.annotation.OverridingMethodsMustInvokeSuper;
import org.apache.maven.execution.MavenSession;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
@ -63,17 +61,14 @@ public abstract class AbstractRegexMojo extends AbstractMojo {
protected abstract void go() throws MojoExecutionException, MojoFailureException;
@OverridingMethodsMustInvokeSuper
protected void validateParamsPreNormalization() throws MojoFailureException {
this.getLog().debug("Validating parameters before their normalization");
}
@OverridingMethodsMustInvokeSuper
protected void normalizeParameters() throws MojoFailureException {
this.getLog().debug("Normalizing parameters");
}
@OverridingMethodsMustInvokeSuper
protected void validateParamsPostNormalization() throws MojoFailureException {
this.getLog().debug("Validating parameters after their normalization");
}

View File

@ -53,7 +53,7 @@ public class MatchFileContentMojo extends AbstractMatchMojo {
}
private boolean matchesContentInFileSet() throws MojoExecutionException {
FileSetManager fsman = new FileSetManager(this.getLog());
FileSetManager fsman = new FileSetManager();
Path basepath = this.project.getBasedir().toPath();
try {

View File

@ -47,7 +47,7 @@ public class ReplaceFileContentMojo extends AbstractReplaceMojo {
private boolean replaceContentInFileSet() throws MojoExecutionException {
boolean didReplace = false;
FileSetManager fsman = new FileSetManager(this.getLog());
FileSetManager fsman = new FileSetManager();
Path basepath = this.project.getBasedir().toPath();
try {

View File

@ -23,8 +23,6 @@ import java.nio.charset.CharsetDecoder;
import java.util.HashSet;
import java.util.Set;
import javax.annotation.OverridingMethodsMustInvokeSuper;
public class DelimitedReadableByteChannel implements ReadableByteChannel {
private final CharBuffer buffer;
@ -50,7 +48,6 @@ public class DelimitedReadableByteChannel implements ReadableByteChannel {
}
@Override
@OverridingMethodsMustInvokeSuper
public void close() throws IOException {
this.rbchannel.close();
}