[
http://jira.codehaus.org/browse/MLINKCHECK-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237506#action_237506
]
Lukas Theussl commented on MLINKCHECK-8:
----------------------------------------
Confirmed. It seems to be a problem with the link pattern matching inside
linkcheck as it works if you only put absolute URLs inside {{<excludedLink>}}.
> Adding configuration for excludeLinks suppresses warnings
> ---------------------------------------------------------
>
> Key: MLINKCHECK-8
> URL: http://jira.codehaus.org/browse/MLINKCHECK-8
> Project: Maven 2.x Linkcheck Plugin
> Issue Type: Bug
> Affects Versions: 1.0.1
> Reporter: Dennis Lundberg
>
> Here's the configuration I have:
> {code}
> <profiles>
> <profile>
> <id>linkcheck</id>
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-linkcheck-plugin</artifactId>
> <version>1.0.1</version>
> <configuration>
> <!-- Cannot use this, because it suppresses any warnings
> <excludedLinks>
> <excludedLink>../../../internt*</excludedLink>
> <excludedLink>../../../../internt*</excludedLink>
> </excludedLinks>
> -->
> <!-- Show warnings for redirects -->
> <httpFollowRedirect>false</httpFollowRedirect>
> </configuration>
> </plugin>
> </plugins>
> </reporting>
> </profile>
> </profiles>
> {code}
> If I uncomment the <excludeLinks> configuration I don't get any warnings
> about redirects in the report. If I leave the configuration inside a comment
> I get the expected warnings.
> An example of a URL that produces a redirect warning is http://java.sun.com/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira