You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/02/13 09:01:01 UTC

[jira] [Closed] (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 ]

Carsten Ziegeler closed SLING-8238.
-----------------------------------

> 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 1.0.0
>
>
> 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
(v8.3.4#803005)