|
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> *
|
@@ -228,7 +227,7 @@ public abstract class AbstractFixJavadocMojo extends AbstractMojo {
|
228 | 227 |
|
229 | 228 | /**
|
230 | 229 | * Version to compare the current code against using the
|
231 |
| - * <a href="http://mojo.codehaus.org/clirr-maven-plugin/">Clirr Maven Plugin</a>. |
| 230 | + * <a href="https://www.mojohaus.org/clirr-maven-plugin/">Clirr Maven Plugin</a>. |
232 | 231 | * <br/>
|
233 | 232 | * See <a href="#defaultSince">defaultSince</a>.
|
234 | 233 | */
|
@@ -632,17 +631,13 @@ private void executeClirr() throws MavenInvocationException {
|
632 | 631 |
|
633 | 632 | String clirrGoal = getFullClirrGoal();
|
634 | 633 |
|
635 |
| - // http://mojo.codehaus.org/clirr-maven-plugin/check-mojo.html |
| 634 | + // https://www.mojohaus.org/clirr-maven-plugin/check-mojo.html |
636 | 635 | File clirrTextOutputFile = FileUtils.createTempFile(
|
637 | 636 | "clirr", ".txt", new File(project.getBuild().getDirectory()));
|
638 | 637 | Properties properties = new Properties();
|
639 | 638 | properties.put("textOutputFile", clirrTextOutputFile.getAbsolutePath());
|
640 | 639 | properties.put("comparisonVersion", comparisonVersion);
|
641 | 640 | properties.put("failOnError", "false");
|
642 |
| - if (JavaVersion.JAVA_SPECIFICATION_VERSION.isBefore("8")) { |
643 |
| - // ensure that Java7 picks up TLSv1.2 when connecting with Central |
644 |
| - properties.put("https.protocols", "TLSv1.2"); |
645 |
| - } |
646 | 641 |
|
647 | 642 | File invokerDir = new File(project.getBuild().getDirectory(), "invoker");
|
648 | 643 | invokerDir.mkdirs();
|
@@ -724,7 +719,7 @@ private void parseClirrTextOutputFile(File clirrTextOutputFile) throws IOExcepti
|
724 | 719 | continue;
|
725 | 720 | }
|
726 | 721 |
|
727 |
| - // http://clirr.sourceforge.net/clirr-core/exegesis.html |
| 722 | + // https://clirr.sourceforge.net/clirr-core/exegesis.html |
728 | 723 | // 7011 - Method Added
|
729 | 724 | // 7012 - Method Added to Interface
|
730 | 725 | // 8000 - Class Added
|
|
0 commit comments