detectLink fails if dependency's POM is not interpolated
--------------------------------------------------------

                 Key: MJAVADOC-309
                 URL: http://jira.codehaus.org/browse/MJAVADOC-309
             Project: Maven 2.x Javadoc Plugin
          Issue Type: Bug
    Affects Versions: 2.7
            Reporter: Michael Osipov


Recently while generating my site I saw this in my output:

{noformat}
[ERROR] Malformed link: 
http://commons.apache.org/${pom.artifactId.substring(8)}/apidocs/package-list. 
Ignored it.
{noformat}

I checked the deps pom: commons config 1.6
{noformat}
<url>http://commons.apache.org/${pom.artifactId.substring(8)}/</url>
{noformat}

Running help:effetive-pom on this project interpolates the URL correctly.

So JavaDocs genereation should use effective POMs before extracting information.

-- 
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

        

Reply via email to