As far as not including optional/scope: The way I formulated it, no they
aren't included. So? Why should they be: those aren't attributes of the
resource itself, but in how it is used. What's wrong with using the existing
way of configuring those? But if they need to be included, then include them
as URI parameters.

As far as "unusual" artifact or group ids: don't allow them. Nobody can
reasonably complain about having to follow the constraints imposed by the
URI format. Convention over configuration requires, benefits from, and
improves with rigid conventions being enforced. Though it's hard for me to
envision what exactly is being given up without an example. Are people using
"/" or " " in their Ids? If so, will anyone shed a tear if this is
disallowed? Or allow it the way the internet does: %20 for space. 

And I'd think preventing through convention the problems you describe Nexus
is experiencing would be another added benefit here that you would support.


BRIAN FOX-5 wrote:
> 
> The problem with this is two-fold actually,
> The url representation currently doesn't encapsulate the other parts of
> the
> dependency declaration like optional or scope. Further, it is difficult to
> deterministically reverse a url like that back to the GAV components... we
> struggle with this often in Nexus when people have unusual artifact or
> group
> ids that make it hard for example to separate the group from the artifact,
> or the version from the classifier.
> 
> On Wed, May 27, 2009 at 2:06 PM, Jorg Heymans
> <jorg.heym...@gmail.com>wrote:
> 
>> On Wed, May 27, 2009 at 3:55 PM, Christian Edward Gruber
>> <christianedwardgru...@gmail.com> wrote:
>>
>> > Anyway, I'm +1 on this.  It is clear, unambiguous, and terse.  Those
>> work
>> > for me.
>>
>> My thoughts exactly !
>>
>> Jorg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>> For additional commands, e-mail: dev-h...@maven.apache.org
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Idea%3A-maven-uri%27s-tp23701309p23763577.html
Sent from the Maven Developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to