You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Paul Benedict <pb...@apache.org> on 2010/08/06 16:38:56 UTC
Should scope names be validated?
I accidentally set a bunch of dependencies to scope "package" rather than
"runtime". A goofy error -- I admit my shame. However, I notice Maven didn't
complain one bit about this. Does anyone think this is worth a JIRA ticket
as a bug or an enhancement?
Paul
Re: Should scope names be validated?
Posted by lukewpatterson <lu...@gmail.com>.
I was wondering the exact same thing just yesterday, I ran into a project
using <scope>complie</scope> for several of its dependencies
--
View this message in context: http://maven.40175.n5.nabble.com/Should-scope-names-be-validated-tp2266705p2266712.html
Sent from the Maven Developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Should scope names be validated?
Posted by Paul Benedict <pb...@apache.org>.
Oops! Thanks :-)
On Fri, Aug 6, 2010 at 10:02 AM, Benjamin Bentmann <
benjamin.bentmann@udo.edu> wrote:
> Paul Benedict wrote:
>
> Cool. Is this really in the beta-3 branch or will it be part of beta-2?
>>
>
> JIRA says fix version is alpha-3.
>
>
>
> Benjamin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Re: Should scope names be validated?
Posted by Benjamin Bentmann <be...@udo.edu>.
Paul Benedict wrote:
> Cool. Is this really in the beta-3 branch or will it be part of beta-2?
JIRA says fix version is alpha-3.
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Should scope names be validated?
Posted by Paul Benedict <pb...@apache.org>.
Cool. Is this really in the beta-3 branch or will it be part of beta-2?
On Fri, Aug 6, 2010 at 9:53 AM, Benjamin Bentmann <benjamin.bentmann@udo.edu
> wrote:
> Paul Benedict wrote:
>
> The ticket doesn't say what 3.0 will be -- a hard error or a soft warning?
>>
>
> It has to remain a warning until extension plugins can contribute to the
> model validation.
>
>
>
> Benjamin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Re: Should scope names be validated?
Posted by Benjamin Bentmann <be...@udo.edu>.
Paul Benedict wrote:
> The ticket doesn't say what 3.0 will be -- a hard error or a soft warning?
It has to remain a warning until extension plugins can contribute to the
model validation.
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Should scope names be validated?
Posted by Paul Benedict <pb...@apache.org>.
Benjamin,
Thanks. I see it is resolved for 3.0-beta-3, but the commit happened in 2009
and then softened to a warning. The ticket doesn't say what 3.0 will be -- a
hard error or a soft warning?
Paul
On Fri, Aug 6, 2010 at 9:42 AM, Benjamin Bentmann <benjamin.bentmann@udo.edu
> wrote:
> Paul Benedict wrote:
>
> I accidentally set a bunch of dependencies to scope "package" rather than
>> "runtime". A goofy error -- I admit my shame. However, I notice Maven
>> didn't
>> complain one bit about this. Does anyone think this is worth a JIRA ticket
>> as a bug or an enhancement?
>>
>
> http://jira.codehaus.org/browse/MNG-3991
>
>
> Benjamin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
Re: Should scope names be validated?
Posted by Benjamin Bentmann <be...@udo.edu>.
Paul Benedict wrote:
> I accidentally set a bunch of dependencies to scope "package" rather than
> "runtime". A goofy error -- I admit my shame. However, I notice Maven didn't
> complain one bit about this. Does anyone think this is worth a JIRA ticket
> as a bug or an enhancement?
http://jira.codehaus.org/browse/MNG-3991
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org