[jira] (MSHADE-120) createSourceJar does not include sources from current module

2014-04-02 Thread Saurabh Ajmera (JIRA)

[ 
https://jira.codehaus.org/browse/MSHADE-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=344056#comment-344056
 ] 

Saurabh Ajmera commented on MSHADE-120:
---

Matt,

Yes, i will resolve this jira

> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem-solution.zip, maven-shade-problem.zip
>
>
> {quote}
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
> {code:xml}
>  
>   
>   org.apache.maven.plugins
>   maven-shade-plugin
>   ${maven.shade.plugin.version}
>   
>   true
>   
>   
>   
>   org.kuali.rice:rice-impl
>   
>   
>   
>   
>   
>   
>   package
>   
>   shade
>   
>   
>   
>   
>   
> {code}
> Thank you,
> Saurabh Ajmera.
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> {quote}



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


[jira] (MSHADE-120) createSourceJar does not include sources from current module

2014-04-02 Thread Saurabh Ajmera (JIRA)

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

Saurabh Ajmera closed MSHADE-120.
-

Resolution: Not A Bug

> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem-solution.zip, maven-shade-problem.zip
>
>
> {quote}
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
> {code:xml}
>  
>   
>   org.apache.maven.plugins
>   maven-shade-plugin
>   ${maven.shade.plugin.version}
>   
>   true
>   
>   
>   
>   org.kuali.rice:rice-impl
>   
>   
>   
>   
>   
>   
>   package
>   
>   shade
>   
>   
>   
>   
>   
> {code}
> Thank you,
> Saurabh Ajmera.
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> {quote}



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


[jira] (MSHADE-120) createSourceJar does not include sources from current module

2014-04-02 Thread Matt Benson (JIRA)

[ 
https://jira.codehaus.org/browse/MSHADE-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=344053#comment-344053
 ] 

Matt Benson commented on MSHADE-120:


Sounds like this should be resolved {{INVALID}}

> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem-solution.zip, maven-shade-problem.zip
>
>
> {quote}
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
> {code:xml}
>  
>   
>   org.apache.maven.plugins
>   maven-shade-plugin
>   ${maven.shade.plugin.version}
>   
>   true
>   
>   
>   
>   org.kuali.rice:rice-impl
>   
>   
>   
>   
>   
>   
>   package
>   
>   shade
>   
>   
>   
>   
>   
> {code}
> Thank you,
> Saurabh Ajmera.
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> {quote}



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


[jira] (MSHADE-120) createSourceJar does not include sources from current module

2013-05-12 Thread Robert Scholte (JIRA)

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

Robert Scholte updated MSHADE-120:
--

Description: 
{quote}

In such case the best approach is to create an issue with a sample project
to reproduce the trouble .
And the best of the best attaching a patch which fix the issue :-)

--
Olivier
Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :

Hi,

Is there anyone using the shade plugin? are you facing this issue?

On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:

Hi,

I am using the maven shade plugin to produce a jar which includes
contents of one dependency artifact plus the contents of my current maven
module, such that the contents of my maven module override the files with
the same name in the dependency jar.

The shade plugin generates the jar file correctly as needed. However,
the source files from the current maven modules does not get included in
the generated source jar. Am I doing something wrong?

Following is the extract from my pom.xml

{code:xml}
 
  
  org.apache.maven.plugins
  maven-shade-plugin
  ${maven.shade.plugin.version}
  
  true
  
  
  
  org.kuali.rice:rice-impl
  
  
  
  
  
  
  package
  
  shade
  
  
  
  
  
{code}

Thank you,
Saurabh Ajmera.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

{quote}

  was:
In such case the best approach is to create an issue with a sample project
to reproduce the trouble .
And the best of the best attaching a patch which fix the issue :-)

--
Olivier
Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :

Hi,

Is there anyone using the shade plugin? are you facing this issue?

On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:

Hi,

I am using the maven shade plugin to produce a jar which includes
contents of one dependency artifact plus the contents of my current maven
module, such that the contents of my maven module override the files with
the same name in the dependency jar.

The shade plugin generates the jar file correctly as needed. However,
the source files from the current maven modules does not get included in
the generated source jar. Am I doing something wrong?

Following is the extract from my pom.xml


 
  
  org.apache.maven.plugins
  maven-shade-plugin
  ${maven.shade.plugin.version}
  
  true
  
  
  
  org.kuali.rice:rice-impl
  
  
  
  
  
  
  package
  
  shade
  
  
  
  
  

Thank you,
Saurabh Ajmera.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven 2.x Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem-solution.zip, maven-shade-problem.zip
>
>
> {quote}
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
> {code:xml}
>  
>   
>   org.apache.maven.plugins
>   maven-sh

[jira] (MSHADE-120) createSourceJar does not include sources from current module

2012-09-04 Thread Vivek Kumar (JIRA)

[ 
https://jira.codehaus.org/browse/MSHADE-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307698#comment-307698
 ] 

Vivek Kumar commented on MSHADE-120:


Thanks Saurabh. Its working now.

> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven 2.x Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem-solution.zip, maven-shade-problem.zip
>
>
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
>  
>   
>   org.apache.maven.plugins
>   maven-shade-plugin
>   ${maven.shade.plugin.version}
>   
>   true
>   
>   
>   
>   org.kuali.rice:rice-impl
>   
>   
>   
>   
>   
>   
>   package
>   
>   shade
>   
>   
>   
>   
>   
> Thank you,
> Saurabh Ajmera.
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

--
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] (MSHADE-120) createSourceJar does not include sources from current module

2012-08-29 Thread Saurabh Ajmera (JIRA)

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

Saurabh Ajmera updated MSHADE-120:
--

Attachment: maven-shade-problem-solution.zip

ok. I have attached the solution to this jira. Hopefully, this should work for 
you

> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven 2.x Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem-solution.zip, maven-shade-problem.zip
>
>
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
>  
>   
>   org.apache.maven.plugins
>   maven-shade-plugin
>   ${maven.shade.plugin.version}
>   
>   true
>   
>   
>   
>   org.kuali.rice:rice-impl
>   
>   
>   
>   
>   
>   
>   package
>   
>   shade
>   
>   
>   
>   
>   
> Thank you,
> Saurabh Ajmera.
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

--
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] (MSHADE-120) createSourceJar does not include sources from current module

2012-08-29 Thread Vivek Kumar (JIRA)

[ 
https://jira.codehaus.org/browse/MSHADE-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307333#comment-307333
 ] 

Vivek Kumar commented on MSHADE-120:


I downloaded your project and added maven source plugin.

Do you have working example of this ?


> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven 2.x Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem.zip
>
>
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
>  
>   
>   org.apache.maven.plugins
>   maven-shade-plugin
>   ${maven.shade.plugin.version}
>   
>   true
>   
>   
>   
>   org.kuali.rice:rice-impl
>   
>   
>   
>   
>   
>   
>   package
>   
>   shade
>   
>   
>   
>   
>   
> Thank you,
> Saurabh Ajmera.
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

--
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] (MSHADE-120) createSourceJar does not include sources from current module

2012-08-28 Thread Saurabh Ajmera (JIRA)

[ 
https://jira.codehaus.org/browse/MSHADE-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307291#comment-307291
 ] 

Saurabh Ajmera commented on MSHADE-120:
---

Hi Vivek,

Are you trying to reproduce the issue using the attached project or are you 
trying to use the solution proposed by Trask?

> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven 2.x Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem.zip
>
>
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
>  
>   
>   org.apache.maven.plugins
>   maven-shade-plugin
>   ${maven.shade.plugin.version}
>   
>   true
>   
>   
>   
>   org.kuali.rice:rice-impl
>   
>   
>   
>   
>   
>   
>   package
>   
>   shade
>   
>   
>   
>   
>   
> Thank you,
> Saurabh Ajmera.
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

--
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] (MSHADE-120) createSourceJar does not include sources from current module

2012-08-28 Thread Vivek Kumar (JIRA)

[ 
https://jira.codehaus.org/browse/MSHADE-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307290#comment-307290
 ] 

Vivek Kumar commented on MSHADE-120:


Hi Saurabh

I tried you project attached in issue, but it doesn't seems to be working for 
me.

Can you update working example of your project.

> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven 2.x Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem.zip
>
>
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
>  
>   
>   org.apache.maven.plugins
>   maven-shade-plugin
>   ${maven.shade.plugin.version}
>   
>   true
>   
>   
>   
>   org.kuali.rice:rice-impl
>   
>   
>   
>   
>   
>   
>   package
>   
>   shade
>   
>   
>   
>   
>   
> Thank you,
> Saurabh Ajmera.
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

--
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] (MSHADE-120) createSourceJar does not include sources from current module

2012-07-24 Thread Saurabh Ajmera (JIRA)

[ 
https://jira.codehaus.org/browse/MSHADE-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=304496#comment-304496
 ] 

Saurabh Ajmera commented on MSHADE-120:
---

Hi Trask,

Thanks a lot. I was able to generate the source jars correctly, after adding 
the maven-source-plugin and running the source:jar-no-fork goal.

Thank you,
Saurabh Ajmera

> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven 2.x Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem.zip
>
>
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
>  
>   
>   org.apache.maven.plugins
>   maven-shade-plugin
>   ${maven.shade.plugin.version}
>   
>   true
>   
>   
>   
>   org.kuali.rice:rice-impl
>   
>   
>   
>   
>   
>   
>   package
>   
>   shade
>   
>   
>   
>   
>   
> Thank you,
> Saurabh Ajmera.
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

--
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] (MSHADE-120) createSourceJar does not include sources from current module

2012-07-24 Thread Trask Stalnaker (JIRA)

[ 
https://jira.codehaus.org/browse/MSHADE-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=304468#comment-304468
 ] 

Trask Stalnaker commented on MSHADE-120:


I thought I was having the same problem and then realized I wasn't including 
maven-source-plugin in my project (maven-shade-plugin just aggregates existing 
source jars).  Try running 'mvn source:jar install', or include 
maven-source-plugin in your pom to have it always run, e.g.


  

  org.apache.maven.plugins
  maven-source-plugin


  org.apache.maven.plugins
  maven-shade-plugin
  ...


> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven 2.x Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem.zip
>
>
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
>  
>   
>   org.apache.maven.plugins
>   maven-shade-plugin
>   ${maven.shade.plugin.version}
>   
>   true
>   
>   
>   
>   org.kuali.rice:rice-impl
>   
>   
>   
>   
>   
>   
>   package
>   
>   shade
>   
>   
>   
>   
>   
> Thank you,
> Saurabh Ajmera.
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

--
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] (MSHADE-120) createSourceJar does not include sources from current module

2012-05-25 Thread Saurabh Ajmera (JIRA)

[ 
https://jira.codehaus.org/browse/MSHADE-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299767#comment-299767
 ] 

Saurabh Ajmera commented on MSHADE-120:
---

I have included a sample project to help reproduce the issue.

The sample project includes a class called HelloWorld.java. This file is 
included in the resulting jar file, but it is not included in the source jar.

Thank you,
Saurabh Ajmera

> createSourceJar does not include sources from current module
> 
>
> Key: MSHADE-120
> URL: https://jira.codehaus.org/browse/MSHADE-120
> Project: Maven 2.x Shade Plugin
>  Issue Type: Bug
>Affects Versions: 1.6
>Reporter: Saurabh Ajmera
> Attachments: maven-shade-problem.zip
>
>
> In such case the best approach is to create an issue with a sample project
> to reproduce the trouble .
> And the best of the best attaching a patch which fix the issue :-)
> --
> Olivier
> Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :
> Hi,
> Is there anyone using the shade plugin? are you facing this issue?
> On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:
> Hi,
> I am using the maven shade plugin to produce a jar which includes
> contents of one dependency artifact plus the contents of my current maven
> module, such that the contents of my maven module override the files with
> the same name in the dependency jar.
> The shade plugin generates the jar file correctly as needed. However,
> the source files from the current maven modules does not get included in
> the generated source jar. Am I doing something wrong?
> Following is the extract from my pom.xml
>  
>   
>   org.apache.maven.plugins
>   maven-shade-plugin
>   ${maven.shade.plugin.version}
>   
>   true
>   
>   
>   
>   org.kuali.rice:rice-impl
>   
>   
>   
>   
>   
>   
>   package
>   
>   shade
>   
>   
>   
>   
>   
> Thank you,
> Saurabh Ajmera.
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org

--
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] (MSHADE-120) createSourceJar does not include sources from current module

2012-05-25 Thread Saurabh Ajmera (JIRA)
Saurabh Ajmera created MSHADE-120:
-

 Summary: createSourceJar does not include sources from current 
module
 Key: MSHADE-120
 URL: https://jira.codehaus.org/browse/MSHADE-120
 Project: Maven 2.x Shade Plugin
  Issue Type: Bug
Affects Versions: 1.6
Reporter: Saurabh Ajmera
 Attachments: maven-shade-problem.zip

In such case the best approach is to create an issue with a sample project
to reproduce the trouble .
And the best of the best attaching a patch which fix the issue :-)

--
Olivier
Le 25 mai 2012 17:40, "Saurabh Ajmera"  a écrit :

Hi,

Is there anyone using the shade plugin? are you facing this issue?

On May 22, 2012, at 11:06 AM, Saurabh Ajmera wrote:

Hi,

I am using the maven shade plugin to produce a jar which includes
contents of one dependency artifact plus the contents of my current maven
module, such that the contents of my maven module override the files with
the same name in the dependency jar.

The shade plugin generates the jar file correctly as needed. However,
the source files from the current maven modules does not get included in
the generated source jar. Am I doing something wrong?

Following is the extract from my pom.xml


 
  
  org.apache.maven.plugins
  maven-shade-plugin
  ${maven.shade.plugin.version}
  
  true
  
  
  
  org.kuali.rice:rice-impl
  
  
  
  
  
  
  package
  
  shade
  
  
  
  
  

Thank you,
Saurabh Ajmera.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



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