This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch ssl in repository https://gitbox.apache.org/repos/asf/maven-jarsigner-plugin.git
commit 9226019917679123a221d540e3fe1dc260849df0 Author: Sylwester Lachiewicz <slachiew...@apache.org> AuthorDate: Sun Jan 19 12:18:03 2020 +0100 Update links to https versions --- pom.xml | 2 +- src/it/archive-dir/pom.xml | 2 +- src/it/attachment-selection/pom.xml | 2 +- src/it/basic/pom.xml | 2 +- src/it/resign/pom.xml | 2 +- src/it/spacy path/pom.xml | 2 +- src/it/type-detection/pom.xml | 2 +- src/it/unsign/pom.xml | 2 +- src/it/verify-fail-if-not-signed/pom.xml | 2 +- src/it/verify-fail/pom.xml | 2 +- .../plugins/jarsigner/AbstractJarsignerMojo.java | 19 +++++++++---------- .../maven/plugins/jarsigner/JarsignerSignMojo.java | 11 +++++------ .../maven/plugins/jarsigner/JarsignerVerifyMojo.java | 3 +-- src/site/apt/index.apt.vm | 2 +- src/site/apt/usage.apt.vm | 2 +- src/site/fml/faq.fml | 4 ++-- src/site/site.xml | 4 ++-- src/site/xdoc/download.xml.vm | 8 ++++---- 18 files changed, 35 insertions(+), 38 deletions(-) diff --git a/pom.xml b/pom.xml index 2cfc039..c1cc725 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ specific language governing permissions and limitations under the License. --> -<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> diff --git a/src/it/archive-dir/pom.xml b/src/it/archive-dir/pom.xml index cf8b483..bad4a15 100644 --- a/src/it/archive-dir/pom.xml +++ b/src/it/archive-dir/pom.xml @@ -19,7 +19,7 @@ specific language governing permissions and limitations under the License. --> -<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.jarsigner</groupId> diff --git a/src/it/attachment-selection/pom.xml b/src/it/attachment-selection/pom.xml index a5bf781..38c93f7 100644 --- a/src/it/attachment-selection/pom.xml +++ b/src/it/attachment-selection/pom.xml @@ -19,7 +19,7 @@ specific language governing permissions and limitations under the License. --> -<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.jarsigner</groupId> diff --git a/src/it/basic/pom.xml b/src/it/basic/pom.xml index c452518..c996a3f 100644 --- a/src/it/basic/pom.xml +++ b/src/it/basic/pom.xml @@ -19,7 +19,7 @@ specific language governing permissions and limitations under the License. --> -<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.jarsigner</groupId> diff --git a/src/it/resign/pom.xml b/src/it/resign/pom.xml index cd2aa78..b524245 100644 --- a/src/it/resign/pom.xml +++ b/src/it/resign/pom.xml @@ -18,7 +18,7 @@ specific language governing permissions and limitations under the License. --> -<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.jarsigner</groupId> diff --git a/src/it/spacy path/pom.xml b/src/it/spacy path/pom.xml index 0efe676..efed913 100644 --- a/src/it/spacy path/pom.xml +++ b/src/it/spacy path/pom.xml @@ -19,7 +19,7 @@ specific language governing permissions and limitations under the License. --> -<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.jarsigner</groupId> diff --git a/src/it/type-detection/pom.xml b/src/it/type-detection/pom.xml index 4bdb4aa..59f7a9b 100644 --- a/src/it/type-detection/pom.xml +++ b/src/it/type-detection/pom.xml @@ -19,7 +19,7 @@ specific language governing permissions and limitations under the License. --> -<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.jarsigner</groupId> diff --git a/src/it/unsign/pom.xml b/src/it/unsign/pom.xml index 3ca36f7..278899a 100644 --- a/src/it/unsign/pom.xml +++ b/src/it/unsign/pom.xml @@ -19,7 +19,7 @@ specific language governing permissions and limitations under the License. --> -<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.jarsigner</groupId> diff --git a/src/it/verify-fail-if-not-signed/pom.xml b/src/it/verify-fail-if-not-signed/pom.xml index 6d2822c..5e314fe 100644 --- a/src/it/verify-fail-if-not-signed/pom.xml +++ b/src/it/verify-fail-if-not-signed/pom.xml @@ -19,7 +19,7 @@ specific language governing permissions and limitations under the License. --> -<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.jarsigner</groupId> diff --git a/src/it/verify-fail/pom.xml b/src/it/verify-fail/pom.xml index d03234a..23541cc 100644 --- a/src/it/verify-fail/pom.xml +++ b/src/it/verify-fail/pom.xml @@ -19,7 +19,7 @@ specific language governing permissions and limitations under the License. --> -<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.maven.its.jarsigner</groupId> diff --git a/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java b/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java index fd1bd52..92d3a8f 100644 --- a/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java +++ b/src/main/java/org/apache/maven/plugins/jarsigner/AbstractJarsignerMojo.java @@ -55,63 +55,62 @@ import org.apache.maven.shared.utils.ReaderFactory; * Maven Jarsigner Plugin base class. * * @author <a href="c...@schulte.it">Christian Schulte</a> - * @version $Id$ */ public abstract class AbstractJarsignerMojo extends AbstractMojo { /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. */ @Parameter( property = "jarsigner.verbose", defaultValue = "false" ) private boolean verbose; /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. */ @Parameter( property = "jarsigner.keystore" ) private String keystore; /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. */ @Parameter( property = "jarsigner.storetype" ) private String storetype; /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. */ @Parameter( property = "jarsigner.storepass" ) private String storepass; /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. */ @Parameter( property = "jarsigner.providerName" ) private String providerName; /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. */ @Parameter( property = "jarsigner.providerClass" ) private String providerClass; /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. */ @Parameter( property = "jarsigner.providerArg" ) private String providerArg; /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. */ @Parameter( property = "jarsigner.alias" ) private String alias; /** * The maximum memory available to the JAR signer, e.g. <code>256M</code>. See <a - * href="http://java.sun.com/javase/6/docs/technotes/tools/windows/java.html#Xms">-Xmx</a> for more details. + * href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/java.html#Xms">-Xmx</a> for more details. */ @Parameter( property = "jarsigner.maxMemory" ) private String maxMemory; diff --git a/src/main/java/org/apache/maven/plugins/jarsigner/JarsignerSignMojo.java b/src/main/java/org/apache/maven/plugins/jarsigner/JarsignerSignMojo.java index 8acdec7..0d61997 100644 --- a/src/main/java/org/apache/maven/plugins/jarsigner/JarsignerSignMojo.java +++ b/src/main/java/org/apache/maven/plugins/jarsigner/JarsignerSignMojo.java @@ -36,7 +36,6 @@ import java.io.IOException; * Signs a project artifact and attachments using jarsigner. * * @author <a href="c...@schulte.it">Christian Schulte</a> - * @version $Id$ * @since 1.0 */ @Mojo( name = "sign", defaultPhase = LifecyclePhase.PACKAGE ) @@ -45,13 +44,13 @@ public class JarsignerSignMojo { /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. */ @Parameter( property = "jarsigner.keypass" ) private String keypass; /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. */ @Parameter( property = "jarsigner.sigfile" ) private String sigfile; @@ -66,7 +65,7 @@ public class JarsignerSignMojo private boolean removeExistingSignatures; /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. * * @since 1.3 */ @@ -74,7 +73,7 @@ public class JarsignerSignMojo private String tsa; /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. * * @since 1.3 */ @@ -84,7 +83,7 @@ public class JarsignerSignMojo /** * Location of the extra certchain file. * See - * <a href="http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options"> + * <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options"> * Java SE 7 documentation * </a> * for more info. diff --git a/src/main/java/org/apache/maven/plugins/jarsigner/JarsignerVerifyMojo.java b/src/main/java/org/apache/maven/plugins/jarsigner/JarsignerVerifyMojo.java index 97e9099..896f713 100644 --- a/src/main/java/org/apache/maven/plugins/jarsigner/JarsignerVerifyMojo.java +++ b/src/main/java/org/apache/maven/plugins/jarsigner/JarsignerVerifyMojo.java @@ -34,7 +34,6 @@ import java.io.IOException; * Checks the signatures of a project artifact and attachments using jarsigner. * * @author <a href="c...@schulte.it">Christian Schulte</a> - * @version $Id$ * @since 1.0 */ @Mojo( name = "verify", defaultPhase = LifecyclePhase.VERIFY ) @@ -43,7 +42,7 @@ public class JarsignerVerifyMojo { /** - * See <a href="http://java.sun.com/javase/6/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. + * See <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#Options">options</a>. */ @Parameter( property = "jarsigner.certs", defaultValue = "false" ) private boolean certs; diff --git a/src/site/apt/index.apt.vm b/src/site/apt/index.apt.vm index e1c7d3b..9542875 100644 --- a/src/site/apt/index.apt.vm +++ b/src/site/apt/index.apt.vm @@ -56,7 +56,7 @@ ${project.name} entire debug logs, POMs or most preferably little demo projects attached to the issue are very much appreciated. Of course, patches are welcome, too. Contributors can check out the project from our {{{./source-repository.html}source repository}} and will find supplementary information in the - {{{http://maven.apache.org/guides/development/guide-helping.html}guide to helping with Maven}}. + {{{https://maven.apache.org/guides/development/guide-helping.html}guide to helping with Maven}}. * Examples diff --git a/src/site/apt/usage.apt.vm b/src/site/apt/usage.apt.vm index 2b3902e..f3acbc3 100644 --- a/src/site/apt/usage.apt.vm +++ b/src/site/apt/usage.apt.vm @@ -71,7 +71,7 @@ Usage <<Since version 1.3>> you can encrypt <<<keypass>>> and <<<storepass>>> using the maven encryption mechanism. - See {{{Maven encryption guide}http://maven.apache.org/guides/mini/guide-encryption.html}}. + See {{{Maven encryption guide}https://maven.apache.org/guides/mini/guide-encryption.html}}. * Verifying the signature of a project artifact and attachments diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml index ac59915..88ae498 100644 --- a/src/site/fml/faq.fml +++ b/src/site/fml/faq.fml @@ -22,7 +22,7 @@ under the License. <faqs xmlns="http://maven.apache.org/FML/1.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 http://maven.apache.org/xsd/fml-1.0.1.xsd" + xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 https://maven.apache.org/xsd/fml-1.0.1.xsd" id="FAQ" title="Frequently Asked Questions"> <part id="General"> <faq id="about"> @@ -30,7 +30,7 @@ under the License. <answer> <p> You can read more about this tool in the offical guide: - <a href="http://java.sun.com/javase/6/docs/technotes/tools/solaris/jarsigner.html">jarsigner - JAR Signing and Verification Tool</a>. + <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/solaris/jarsigner.html">jarsigner - JAR Signing and Verification Tool</a>. </p> </answer> </faq> diff --git a/src/site/site.xml b/src/site/site.xml index f204e13..124d702 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -21,7 +21,7 @@ under the License. <project xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"> + xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 https://maven.apache.org/xsd/decoration-1.0.0.xsd"> <body> <menu name="Overview"> <item name="Introduction" href="index.html"/> @@ -29,7 +29,7 @@ under the License. <item name="Usage" href="usage.html"/> <item name="FAQ" href="faq.html"/> <!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 --> - <item name="License" href="http://www.apache.org/licenses/"/> + <item name="License" href="https://www.apache.org/licenses/"/> <item name="Download" href="download.html"/> </menu> <menu name="Examples"> diff --git a/src/site/xdoc/download.xml.vm b/src/site/xdoc/download.xml.vm index 3f71035..f1cd28e 100644 --- a/src/site/xdoc/download.xml.vm +++ b/src/site/xdoc/download.xml.vm @@ -33,11 +33,11 @@ under the License. hours to reach all mirrors.<p/> <p>In order to guard against corrupted downloads/installations, it is highly recommended to - <a href="http://www.apache.org/dev/release-signing#verifying-signature">verify the signature</a> + <a href="https://www.apache.org/dev/release-signing#verifying-signature">verify the signature</a> of the release bundles against the public <a href="https://www.apache.org/dist/maven/KEYS">KEYS</a> used by the Apache Maven developers.</p> - <p>${project.name} is distributed under the <a href="http://www.apache.org/licenses/">Apache License, version 2.0</a>.</p> + <p>${project.name} is distributed under the <a href="https://www.apache.org/licenses/">Apache License, version 2.0</a>.</p> <p></p>We <b>strongly</b> encourage our users to configure a Maven repository mirror closer to their location, please read <a href="/guides/mini/guide-mirror-settings.html">How to Use Mirrors for Repositories</a>.</p> @@ -85,7 +85,7 @@ under the License. <p> You may also consult the - <a href="http://www.apache.org/mirrors/">complete list of + <a href="https://www.apache.org/mirrors/">complete list of mirrors.</a> </p> @@ -117,7 +117,7 @@ under the License. <subsection name="Previous Versions"> - <p>Older non-recommended releases can be found on our <a href="http://archive.apache.org/dist/maven/plugins/">archive site</a>.</p> + <p>Older non-recommended releases can be found on our <a href="https://archive.apache.org/dist/maven/plugins/">archive site</a>.</p> </subsection> </section>