[ http://jira.codehaus.org/browse/MLINKCHECK-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236945#action_236945 ]
Lukas Theussl commented on MLINKCHECK-5: ---------------------------------------- If you want to exclude apidocs from being link-checked, you should use the excludedPages parameter, but this only works with latest snapshot of the plugin, see MLINKCHECK-4. For the excludedLink pattern you should probably use {noformat} <excludedLink>**/apidocs/**</excludedLink> {noformat} ie double asteriscs. AFAICT the baseURL parameter is working fine. > baseURL parameter does not work fine ??? > ---------------------------------------- > > Key: MLINKCHECK-5 > URL: http://jira.codehaus.org/browse/MLINKCHECK-5 > Project: Maven 2.x Linkcheck Plugin > Issue Type: Bug > Affects Versions: 1.0.1 > Environment: linux, continuum, maven-2.2.1 > Reporter: ol > > I configure the plugin like the following: > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-linkcheck-plugin</artifactId> > <version>1.0.1</version> > <configuration> > <forceSite>false</forceSite> > <offline>false</offline> > <baseURL>http://myserver/${groupId}/${artifactId}</baseURL> > <excludedLinks> > <excludedLink>**/apidocs/*</excludedLink> > <excludedLink>**/cobertura/*</excludedLink> > <excludedLink>**/testapidocs/*</excludedLink> > <excludedLink>**/xref/*</excludedLink> > <excludedLink>**/xref-test/*</excludedLink> > </excludedLinks> > </configuration> > </plugin> > where the baseURL is the place where the site is deployed. > Unfortunately, the report gives errors like that : > pmd.html > - ../index.html does not exists (but the parent site is published at > http://myserver/${groupId}) > - ./css/print.css > - project-info.html > aso ... total of +7000 errors in my documentation site. > What's wrong with my configuration ?? > I can see for example in the linkcheck.xml file this line : > > <absolutePath>/data/continuum/1.3.4/9091/data/working-directory/12/target/site/pmd.html</absolutePath> > Is it normal ?? > Thanks in advance ! -- 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