You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2019/01/25 10:40:00 UTC

[jira] [Resolved] (SLING-8238) NPE in slingfeature-maven-plugin RepositoryMojo

     [ https://issues.apache.org/jira/browse/SLING-8238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert resolved SLING-8238.
-------------------------------------
    Resolution: Fixed

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)