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/24 16:21:00 UTC

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

David Bosschaert created SLING-8238:
---------------------------------------

             Summary: 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
             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)