From 9d8a2dd0a53a2db614f9af75146f07e2d101cdfc Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 25 Jul 2015 12:56:08 +0200 Subject: [PATCH] Use github page --- .../java/net/sourceforge/pmd/AbstractRuleSetFactoryTest.java | 2 +- pom.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pmd-test/src/main/java/net/sourceforge/pmd/AbstractRuleSetFactoryTest.java b/pmd-test/src/main/java/net/sourceforge/pmd/AbstractRuleSetFactoryTest.java index 2cdcccfdc4..a7883a3570 100644 --- a/pmd-test/src/main/java/net/sourceforge/pmd/AbstractRuleSetFactoryTest.java +++ b/pmd-test/src/main/java/net/sourceforge/pmd/AbstractRuleSetFactoryTest.java @@ -115,7 +115,7 @@ public abstract class AbstractRuleSetFactoryTest { messages += "Rule " + fileName + "/" + rule.getName() + " is missing 'externalInfoURL' attribute" + PMD.EOL; } else { - String expectedExternalInfoURL = "http://pmd.sourceforge.net/.+/rules/" + String expectedExternalInfoURL = "https?://pmd.(sourceforge.net|github.io)/.+/rules/" + fileName.replaceAll("rulesets/", "").replaceAll(".xml", "") + ".html#" + rule.getName(); if (rule.getExternalInfoUrl() == null || !rule.getExternalInfoUrl().matches(expectedExternalInfoURL)) { diff --git a/pom.xml b/pom.xml index fd6837f9ae..d30cc5468e 100644 --- a/pom.xml +++ b/pom.xml @@ -736,7 +736,7 @@ pmd-release - http://pmd.sourceforge.net/pmd-${project.version}/${project.artifactId} + https://pmd.github.io/pmd-${project.version}/${project.artifactId} @@ -754,7 +754,7 @@ - http://pmd.sourceforge.net/pmd-${project.version}/${project.artifactId} + https://pmd.github.io/pmd-${project.version}/${project.artifactId}