[jira] [Commented] (MSHADE-247) NullpointerException when createSourcesJar = true and source jar cannot be found

2017-06-01 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/MSHADE-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16033684#comment-16033684
 ] 

Hudson commented on MSHADE-247:
---

SUCCESS: Integrated in Jenkins build maven-plugins #8980 (See 
[https://builds.apache.org/job/maven-plugins/8980/])
[MSHADE-247] NullpointerException when createSourcesJar = true and source jar 
cannot be found
Submitted by: Anders Smestad

Applied after adding an IT. (gboue: 
[http://svn.apache.org/viewvc/?view=rev=1797263])
* (add) maven-shade-plugin/src/it/MSHADE-247
* (add) maven-shade-plugin/src/it/MSHADE-247/pom.xml
* (add) maven-shade-plugin/src/it/MSHADE-247/repo
* (add) maven-shade-plugin/src/it/MSHADE-247/repo/org
* (add) maven-shade-plugin/src/it/MSHADE-247/repo/org/apache
* (add) maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven
* (add) maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its
* (add) maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its/shade
* (add) maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its/shade/csj
* (add) 
maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its/shade/csj/mshade-247-one
* (add) 
maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its/shade/csj/mshade-247-one/0.1
* (add) 
maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its/shade/csj/mshade-247-one/0.1/mshade-247-one-0.1-sources.jar
* (add) 
maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its/shade/csj/mshade-247-one/0.1/mshade-247-one-0.1.jar
* (add) 
maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its/shade/csj/mshade-247-one/0.1/mshade-247-one-0.1.pom
* (add) 
maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its/shade/csj/mshade-247-two
* (add) 
maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its/shade/csj/mshade-247-two/0.1
* (add) 
maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its/shade/csj/mshade-247-two/0.1/mshade-247-two-0.1.jar
* (add) 
maven-shade-plugin/src/it/MSHADE-247/repo/org/apache/maven/its/shade/csj/mshade-247-two/0.1/mshade-247-two-0.1.pom
* (edit) 
maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java


> NullpointerException when createSourcesJar = true and source jar cannot be 
> found 
> -
>
> Key: MSHADE-247
> URL: https://issues.apache.org/jira/browse/MSHADE-247
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0
>Reporter: Sodasmile
>Priority: Critical
> Attachments: 
> Resolving_nullpointer_exception_when_resolvedArtifact_is_null_.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Configuration as follows: 
> {code}
> 
> org.apache.maven.plugins
> maven-shade-plugin
> 
> true
> 
> 
> 
> package
> 
> shade
> 
> 
> 
> 
> {code}
> Dependency defined as follows: 
> {code}
> 
>   javax.jnlp
>   jnlp-api
>   1.7.0_06
> 
> {code}
> Sources for javax.jnlp for some reason disappeared from our maven repo proxy, 
> which made maven-shade-plugin to output: 
> {code}
> [INFO] Including javax.jnlp:jnlp-api:jar:1.7.0_06 in the shaded jar.
> [WARNING] Could not get sources for javax.jnlp:jnlp-api:jar:1.7.0_06:compile
> {code}
> and in turn: 
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-shade-plugin:3.0.0:shade (default) on project 
> x: Execution default of goal 
> org.apache.maven.plugins:maven-shade-plugin:3.0.0:shade failed. 
> NullPointerException -> [Help 1]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (MSHADE-247) NullpointerException when createSourcesJar = true and source jar cannot be found

2017-06-01 Thread JIRA

[ 
https://issues.apache.org/jira/browse/MSHADE-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16033661#comment-16033661
 ] 

Guillaume Boué commented on MSHADE-247:
---

Fixed in [r1797263|http://svn.apache.org/viewvc?rev=1797263=rev].

> NullpointerException when createSourcesJar = true and source jar cannot be 
> found 
> -
>
> Key: MSHADE-247
> URL: https://issues.apache.org/jira/browse/MSHADE-247
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0
>Reporter: Sodasmile
>Priority: Critical
> Attachments: 
> Resolving_nullpointer_exception_when_resolvedArtifact_is_null_.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Configuration as follows: 
> {code}
> 
> org.apache.maven.plugins
> maven-shade-plugin
> 
> true
> 
> 
> 
> package
> 
> shade
> 
> 
> 
> 
> {code}
> Dependency defined as follows: 
> {code}
> 
>   javax.jnlp
>   jnlp-api
>   1.7.0_06
> 
> {code}
> Sources for javax.jnlp for some reason disappeared from our maven repo proxy, 
> which made maven-shade-plugin to output: 
> {code}
> [INFO] Including javax.jnlp:jnlp-api:jar:1.7.0_06 in the shaded jar.
> [WARNING] Could not get sources for javax.jnlp:jnlp-api:jar:1.7.0_06:compile
> {code}
> and in turn: 
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-shade-plugin:3.0.0:shade (default) on project 
> x: Execution default of goal 
> org.apache.maven.plugins:maven-shade-plugin:3.0.0:shade failed. 
> NullPointerException -> [Help 1]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (MSHADE-247) NullpointerException when createSourcesJar = true and source jar cannot be found

2017-05-31 Thread Emmanuel Lecharny (JIRA)

[ 
https://issues.apache.org/jira/browse/MSHADE-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16032286#comment-16032286
 ] 

Emmanuel Lecharny commented on MSHADE-247:
--

Being hit by the exact same issue while trying to release Apache LDAP API 
project. Would be cool to have it fixed (and the patch is correct, AFAICT)...

> NullpointerException when createSourcesJar = true and source jar cannot be 
> found 
> -
>
> Key: MSHADE-247
> URL: https://issues.apache.org/jira/browse/MSHADE-247
> Project: Maven Shade Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0
>Reporter: Sodasmile
>Priority: Critical
> Attachments: 
> Resolving_nullpointer_exception_when_resolvedArtifact_is_null_.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Configuration as follows: 
> {code}
> 
> org.apache.maven.plugins
> maven-shade-plugin
> 
> true
> 
> 
> 
> package
> 
> shade
> 
> 
> 
> 
> {code}
> Dependency defined as follows: 
> {code}
> 
>   javax.jnlp
>   jnlp-api
>   1.7.0_06
> 
> {code}
> Sources for javax.jnlp for some reason disappeared from our maven repo proxy, 
> which made maven-shade-plugin to output: 
> {code}
> [INFO] Including javax.jnlp:jnlp-api:jar:1.7.0_06 in the shaded jar.
> [WARNING] Could not get sources for javax.jnlp:jnlp-api:jar:1.7.0_06:compile
> {code}
> and in turn: 
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-shade-plugin:3.0.0:shade (default) on project 
> x: Execution default of goal 
> org.apache.maven.plugins:maven-shade-plugin:3.0.0:shade failed. 
> NullPointerException -> [Help 1]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)