Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
Sometimes it makes sense for a link to be absolute, even if it could be expressed as a relative link.
For example, Apache Commons has many components, for example Math.
When shipping documentation with the Math release, it would be nice if the banner link for Apache Commons referenced http://www.apache.commons/ rather than ../ which is what is currently generated.
There does not seem to be any way to stop Maven from relativising the href in this case.
Note: the href is relativised before it is even passed to the VM template.
There needs to be a standard way to prevent such absolute URLs from being relativised.
Note that this needs to be done on a per link basis - e.g. in the case of Math, the banner link to Math itself should remain relative.
Attachments
Issue Links
- duplicates
-
MSITE-159 Absolute URI rendered as relative URI if absolute URI related to domain of POM URI
- Closed