[ 
https://jira.codehaus.org/browse/MASSEMBLY-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Rosenvold closed MASSEMBLY-324.
----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.5.2)
                   2.2.1
         Assignee: Kristian Rosenvold

I was able to reproduce this with the mentioned versions, and this is fixed 
with 2.2.1. Testcase is committed under bugs/massembly-324

> DependencySet scope runtime includes jars that are scope provided
> -----------------------------------------------------------------
>
>                 Key: MASSEMBLY-324
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-324
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: dependencySet
>    Affects Versions: 2.2-beta-2
>            Reporter: Michael
>            Assignee: Kristian Rosenvold
>             Fix For: 2.2.1
>
>
> I use some jars in provided scope:
> {code:xml}
>               <dependency>
>                       <groupId>javax.servlet</groupId>
>                       <artifactId>servlet-api</artifactId>
>                       <version>2.5</version>
>                       <scope>provided</scope>
>               </dependency>
> {code}
> in my assembly, I specify scope as runtime:
> {code:xml}
>               <dependencySet>
>                       <outputDirectory>WEB-INF/lib</outputDirectory>
>                       <unpack>false</unpack>
>                       <scope>runtime</scope>
>               </dependencySet>
> {code}
> Yet I still find the servlet-api-2.5.jar in my WAR.  SInce the servlet-api is 
> scope provided, it should be provided by the container and not included in 
> the WAR.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to