You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2011/02/21 12:30:22 UTC
[jira] Created: (MJAVADOC-309) detectLink fails if dependency's POM
is not interpolated
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
[jira] (MJAVADOC-309) detectLink fails if dependency's POM is not
interpolated
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MJAVADOC-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy closed MJAVADOC-309.
----------------------------------
Resolution: Not A Bug
Assignee: Herve Boutemy
I just checked on commons-io:commons-io:1.0 with Maven 3.0.4 and 2.2.1
help:effective-pom isn't able to interpolate this ${pom.artifactId.substring(8)} expression
then of course the javadoc plugin can't do anything more
AFAIK, commons stopped these unsupported/not working expressions in their urls
> detectLink fails if dependency's POM is not interpolated
> --------------------------------------------------------
>
> Key: MJAVADOC-309
> URL: https://jira.codehaus.org/browse/MJAVADOC-309
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.7
> Reporter: Michael Osipov
> Assignee: Herve Boutemy
>
> 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, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira