Issue Details (XML | Word | Printable)

Key: MNG-3846
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Benjamin Bentmann
Reporter: Benjamin Bentmann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 2 & 3

[regression] Inherited URLs are not automatically extended with the child's artifactId

Created: 15/Nov/08 07:58 AM   Updated: Yesterday 09:44 AM   Resolved: 15/Nov/08 04:36 PM
Component/s: Inheritance and Interpolation
Affects Version/s: 3.0-alpha-1
Fix Version/s: 3.0-alpha-1

Time Tracking:
Not Specified

Issue Links:
Related
 

Complexity: Intermediate


 Description  « Hide

${project.url} is not extended.



Benjamin Bentmann added a comment - 15/Nov/08 04:36 PM

Fixed in r717941.


Joerg Schaible added a comment - 17/Nov/08 03:49 AM

Please review this change also in the light of discussions for XSTR-2290, XSTR-3244 and related. It is far from clear whether appending the artifactId is a proper solution in case of an URL ending with a slash nor in case of all kind of URLs (especially the SCM ones).


Benjamin Bentmann added a comment - 17/Nov/08 10:38 AM

I'm +1 on making the automatic adjusting of inherited URLs configurable (by means of some new POM element, the erroneously stated but not implemented convention with the traling slash is obscure to not say highly consfusing/suprising considering that the difference between "www.foo.org/" and "www.foo.org" in every day web browsing is usually irrelevant).

However, I am not aware of any concrete plans to change the existing behavior and indeed the code in trunk performed this URL adjustment for (almost all) affected URLs. I merely restored full backward-compat with 2.x.