[ 
https://issues.apache.org/jira/browse/MDEP-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903650#comment-17903650
 ] 

Elliotte Rusty Harold commented on MDEP-950:
--------------------------------------------

includeScope=runtime include scope gives runtime and compile dependencies
includeScope=compile gives compile, provided, and system dependencies

I think you're asking for something that gives compile and only compile 
dependencies without runtime dependencies. I'm not sure why you'd want that 
though.

> 'copy dependency' feature doesn't allow for packaging only the dependencies 
> required during the compile phase.
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: MDEP-950
>                 URL: https://issues.apache.org/jira/browse/MDEP-950
>             Project: Maven Dependency Plugin
>          Issue Type: New Feature
>          Components: copy-dependencies
>            Reporter: Calvin Kirs
>            Priority: Minor
>
> I've been using the Maven dependency plugin to package my binary application, 
> but ensuring it includes only the compile-phase dependencies has been a 
> challenge. I've reviewed the documentation[1], but it doesn't meet my needs. 
> I'm struggling with the context behind this design decision, and why it was 
> initially set up this way. Of course, if there are alternative approaches 
> that require additional development, I'm willing to contribute.
>  
> https://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#includescope



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to