[jira] [Commented] (MSHADE-181) Allow including dependencies of scope:provided

2015-06-09 Thread Matthias Stevens (JIRA)

[ 
https://issues.apache.org/jira/browse/MSHADE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578679#comment-14578679
 ] 

Matthias Stevens commented on MSHADE-181:
-

To be perfectly honest, I don't remember. It's been too long :-).
I'll try to find some time to dig into this again so I can answer your question.

  Allow including dependencies of scope:provided
 ---

 Key: MSHADE-181
 URL: https://issues.apache.org/jira/browse/MSHADE-181
 Project: Maven Shade Plugin
  Issue Type: Wish
Affects Versions: 2.3
Reporter: Matthias Stevens
 Fix For: waiting-for-feedback


 I have a project for which I'd like to create a shaded jar.
 It has a bunch of dependencies in scope:provided, because they really are, in 
 the normal use-case of this artifact; it's meant to be deployed as a plugin 
 in another app, so, for example, {{myapp-api}} really is provided.
 The project's assembly depends on these deps to be scope:provided (so they're 
 not included in the assembly)
 If a webapp project is made and depends on this project, the scope:provided 
 also helps avoiding duplicated dependencies in some cases.
 .. but yes, this project now also needs a standalone/executable jar; some of 
 the provided dependencies are needed at runtime for this. As far as I can 
 tell, the shade plugin currently does not propose any solution for this.
 Is there any way this could be considered for the plugin ? Or am I looking at 
 it the wrong way ? I suppose I could split my project and have 2 modules, one 
 simply being the standalone/shaded version of the other, but it seems 
 overkill, since they're really the same source.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MSHADE-181) Allow including dependencies of scope:provided

2015-06-09 Thread Karl Heinz Marbaise (JIRA)

[ 
https://issues.apache.org/jira/browse/MSHADE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578761#comment-14578761
 ] 

Karl Heinz Marbaise commented on MSHADE-181:


Hey no problem take your time. I just wan't to prevent if this is really an 
issue...

  Allow including dependencies of scope:provided
 ---

 Key: MSHADE-181
 URL: https://issues.apache.org/jira/browse/MSHADE-181
 Project: Maven Shade Plugin
  Issue Type: Wish
Affects Versions: 2.3
Reporter: Matthias Stevens
 Fix For: waiting-for-feedback


 I have a project for which I'd like to create a shaded jar.
 It has a bunch of dependencies in scope:provided, because they really are, in 
 the normal use-case of this artifact; it's meant to be deployed as a plugin 
 in another app, so, for example, {{myapp-api}} really is provided.
 The project's assembly depends on these deps to be scope:provided (so they're 
 not included in the assembly)
 If a webapp project is made and depends on this project, the scope:provided 
 also helps avoiding duplicated dependencies in some cases.
 .. but yes, this project now also needs a standalone/executable jar; some of 
 the provided dependencies are needed at runtime for this. As far as I can 
 tell, the shade plugin currently does not propose any solution for this.
 Is there any way this could be considered for the plugin ? Or am I looking at 
 it the wrong way ? I suppose I could split my project and have 2 modules, one 
 simply being the standalone/shaded version of the other, but it seems 
 overkill, since they're really the same source.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MSHADE-181) Allow including dependencies of scope:provided

2015-05-29 Thread Karl Heinz Marbaise (JIRA)

[ 
https://issues.apache.org/jira/browse/MSHADE-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14565621#comment-14565621
 ] 

Karl Heinz Marbaise commented on MSHADE-181:


Have you checked the parameter keepDependenciesWithProvidedScope if this is 
what you need ? 

  Allow including dependencies of scope:provided
 ---

 Key: MSHADE-181
 URL: https://issues.apache.org/jira/browse/MSHADE-181
 Project: Maven Shade Plugin
  Issue Type: Wish
Affects Versions: 2.3
Reporter: Matthias Stevens
 Fix For: waiting-for-feedback


 I have a project for which I'd like to create a shaded jar.
 It has a bunch of dependencies in scope:provided, because they really are, in 
 the normal use-case of this artifact; it's meant to be deployed as a plugin 
 in another app, so, for example, {{myapp-api}} really is provided.
 The project's assembly depends on these deps to be scope:provided (so they're 
 not included in the assembly)
 If a webapp project is made and depends on this project, the scope:provided 
 also helps avoiding duplicated dependencies in some cases.
 .. but yes, this project now also needs a standalone/executable jar; some of 
 the provided dependencies are needed at runtime for this. As far as I can 
 tell, the shade plugin currently does not propose any solution for this.
 Is there any way this could be considered for the plugin ? Or am I looking at 
 it the wrong way ? I suppose I could split my project and have 2 modules, one 
 simply being the standalone/shaded version of the other, but it seems 
 overkill, since they're really the same source.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)