|
79 | 79 | import org.apache.maven.settings.Settings;
|
80 | 80 | import org.apache.maven.shared.invoker.MavenInvocationException;
|
81 | 81 | import org.codehaus.plexus.components.interactivity.InputHandler;
|
82 |
| -import org.codehaus.plexus.languages.java.version.JavaVersion; |
83 | 82 | import org.codehaus.plexus.util.FileUtils;
|
84 | 83 | import org.codehaus.plexus.util.ReaderFactory;
|
85 | 84 | import org.codehaus.plexus.util.StringUtils;
|
@@ -193,9 +192,9 @@ public abstract class AbstractFixJavadocMojo extends AbstractMojo {
|
193 | 192 | private static final String CLIRR_MAVEN_PLUGIN_ARTIFACTID = "clirr-maven-plugin";
|
194 | 193 |
|
195 | 194 | /**
|
196 |
| - * The latest Clirr Maven plugin version <code>2.2.2</code> * |
| 195 | + * The latest Clirr Maven plugin version <code>2.8</code> * |
197 | 196 | */
|
198 |
| - private static final String CLIRR_MAVEN_PLUGIN_VERSION = "2.2.2"; |
| 197 | + private static final String CLIRR_MAVEN_PLUGIN_VERSION = "2.8"; |
199 | 198 |
|
200 | 199 | /**
|
201 | 200 | * The Clirr Maven plugin goal <code>check</code> *
|
@@ -223,7 +222,7 @@ public abstract class AbstractFixJavadocMojo extends AbstractMojo {
|
223 | 222 |
|
224 | 223 | /**
|
225 | 224 | * Version to compare the current code against using the
|
226 |
| - * <a href="http://mojo.codehaus.org/clirr-maven-plugin/">Clirr Maven Plugin</a>. |
| 225 | + * <a href="https://www.mojohaus.org/clirr-maven-plugin/">Clirr Maven Plugin</a>. |
227 | 226 | * <br/>
|
228 | 227 | * See <a href="#defaultSince">defaultSince</a>.
|
229 | 228 | */
|
@@ -623,17 +622,14 @@ private void executeClirr() throws MavenInvocationException {
|
623 | 622 |
|
624 | 623 | String clirrGoal = getFullClirrGoal();
|
625 | 624 |
|
626 |
| - // http://mojo.codehaus.org/clirr-maven-plugin/check-mojo.html |
| 625 | + // https://www.mojohaus.org/clirr-maven-plugin/check-mojo.html |
627 | 626 | File clirrTextOutputFile = FileUtils.createTempFile(
|
628 | 627 | "clirr", ".txt", new File(project.getBuild().getDirectory()));
|
629 | 628 | Properties properties = new Properties();
|
630 | 629 | properties.put("textOutputFile", clirrTextOutputFile.getAbsolutePath());
|
631 | 630 | properties.put("comparisonVersion", comparisonVersion);
|
632 | 631 | properties.put("failOnError", "false");
|
633 |
| - if (JavaVersion.JAVA_SPECIFICATION_VERSION.isBefore("8")) { |
634 |
| - // ensure that Java7 picks up TLSv1.2 when connecting with Central |
635 |
| - properties.put("https.protocols", "TLSv1.2"); |
636 |
| - } |
| 632 | + properties.put("minSeverity", "info"); |
637 | 633 |
|
638 | 634 | File invokerDir = new File(project.getBuild().getDirectory(), "invoker");
|
639 | 635 | invokerDir.mkdirs();
|
@@ -715,7 +711,7 @@ private void parseClirrTextOutputFile(File clirrTextOutputFile) throws IOExcepti
|
715 | 711 | continue;
|
716 | 712 | }
|
717 | 713 |
|
718 |
| - // http://clirr.sourceforge.net/clirr-core/exegesis.html |
| 714 | + // https://clirr.sourceforge.net/clirr-core/exegesis.html |
719 | 715 | // 7011 - Method Added
|
720 | 716 | // 7012 - Method Added to Interface
|
721 | 717 | // 8000 - Class Added
|
|
0 commit comments