[
https://issues.apache.org/jira/browse/SLING-8238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16752137#comment-16752137
]
David Bosschaert edited comment on SLING-8238 at 1/25/19 10:39 AM:
-------------------------------------------------------------------
Fixed with:
https://gitbox.apache.org/repos/asf?p=sling-slingfeature-maven-plugin.git;a=commitdiff;h=08091b9003ef93a06fede1794c630032a91160c4
was (Author: bosschaert):
Fixed with:
https://gitbox.apache.org/repos/asf?p=sling-slingfeature-maven-plugin.git;a=commitdiff
> NPE in slingfeature-maven-plugin RepositoryMojo
> -----------------------------------------------
>
> Key: SLING-8238
> URL: https://issues.apache.org/jira/browse/SLING-8238
> Project: Sling
> Issue Type: Bug
> Components: Feature Model, Maven Plugins and Archetypes
> Affects Versions: slingfeature-maven-plugin 0.8.0
> Reporter: David Bosschaert
> Assignee: David Bosschaert
> Priority: Major
> Fix For: slingfeature-maven-plugin 0.8.2
>
>
> When configuring the slingfeature-maven-plugin RepositoryMojo with an
> included feature, the following exception appears:
> {code}
> java.lang.NullPointerException
> at org.apache.sling.feature.maven.ProjectHelper.getOrResolveArtifact
> (ProjectHelper.java:256)
> at org.apache.sling.feature.maven.ProjectHelper.getOrResolveFeature
> (ProjectHelper.java:267)
> at
> org.apache.sling.feature.maven.mojos.AbstractIncludingFeatureMojo.selectFeatureArtifact
> (AbstractIncludingFeatureMojo.java:150)
> at
> org.apache.sling.feature.maven.mojos.AbstractIncludingFeatureMojo.getSelectedFeatures
> (AbstractIncludingFeatureMojo.java:60)
> at org.apache.sling.feature.maven.mojos.RepositoryMojo.execute
> (RepositoryMojo.java:54)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)