You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michal Kroliczek (JIRA)" <ji...@codehaus.org> on 2012/10/09 10:15:36 UTC
[jira] (MDEP-382) copy-dependencies - includeScope deos not work
Michal Kroliczek created MDEP-382:
-------------------------------------
Summary: copy-dependencies - includeScope deos not work
Key: MDEP-382
URL: https://jira.codehaus.org/browse/MDEP-382
Project: Maven 2.x Dependency Plugin
Issue Type: Bug
Components: copy-dependencies
Affects Versions: 2.5.1
Environment: java 5, windows
Reporter: Michal Kroliczek
Hello
i try to copy only dependencies with scope compile so I used
<includeScope>compile</includeScope> in my plugin configuration. Unfortunately dependencies with scope provided are copied too. When i change property to:
<excludeScopte>provided</excludeScopte> it works fine and provided dependencies are omitted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MDEP-382) copy-dependencies - includeScope deos not work
Posted by "Michal Kroliczek (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MDEP-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Kroliczek closed MDEP-382.
---------------------------------
Resolution: Won't Fix
ok i read some other issues about how scopes are seen by maven (not like pom) and just used runtime scope - it is so confusing...
> copy-dependencies - includeScope deos not work
> -----------------------------------------------
>
> Key: MDEP-382
> URL: https://jira.codehaus.org/browse/MDEP-382
> Project: Maven 2.x Dependency Plugin
> Issue Type: Bug
> Components: copy-dependencies
> Affects Versions: 2.5.1
> Environment: java 5, windows
> Reporter: Michal Kroliczek
>
> Hello
> i try to copy only dependencies with scope compile so I used
> <includeScope>compile</includeScope> in my plugin configuration. Unfortunately dependencies with scope provided are copied too. When i change property to:
> <excludeScopte>provided</excludeScopte> it works fine and provided dependencies are omitted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira