[ http://jira.codehaus.org/browse/MNG-415?page=comments#action_39286 ]
     
Brett Porter commented on MNG-415:
----------------------------------

(in future - please don't use jira for design discussions - that's what the dev 
list is for).

to your point, however - making your change:
a) triples what needs to be specified for most compile dependencies - you'd 
also need to specify test, and hope we never add anything else implied from 
compile. This violates the rule we're following of making the defaults work 
most of the time, and the amount of configuration needed minimal.
b) is not actually scope any more. Excluding something from runtime, but 
including it compile assumes something about the end environment, which the 
dependencies should not do - that's the job of the assembling plugin. From a 
pure point of view a compile time dependency is always needed at runtime 
(unless the code is never hit, or the server provides the jar, all of which is 
environmental, not by definition)

So unless there is something else missing, the scope will remain as it is. We 
can't go breaking backwards compatibility unless it is a really serious problem 
that we can't take forward.

If you feel the description of scope in the doc above is unclear, please 
propose alternate wording or point out the sections that don't make sense... 
thanks.


> allow exclusion of certain dependencies from inclusion in an archive
> --------------------------------------------------------------------
>
>          Key: MNG-415
>          URL: http://jira.codehaus.org/browse/MNG-415
>      Project: m2
>         Type: Improvement
>   Components: maven-plugins, maven-archiver
>     Versions: 2.0-alpha-2
>     Reporter: Brett Porter
>      Fix For: 2.0-alpha-3

>
>
> this has been requested for WAR, but it should apply to all archives that 
> include dependencies.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to