You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "A. J. David Bosschaert (Jira)" <ji...@apache.org> on 2020/10/06 09:50:00 UTC

[jira] [Created] (SLING-9794) Content package artifacts found by maven plugin don't always have their 'file' attribute set

A. J. David Bosschaert created SLING-9794:
---------------------------------------------

             Summary: Content package artifacts found by maven plugin don't always have their 'file' attribute set
                 Key: SLING-9794
                 URL: https://issues.apache.org/jira/browse/SLING-9794
             Project: Sling
          Issue Type: Bug
          Components: Content-Package to Feature Model Converter
    Affects Versions: Feature Model Converter Plugin 1.0.4
            Reporter: A. J. David Bosschaert
            Assignee: A. J. David Bosschaert
             Fix For: Feature Model Converter Plugin 1.0.6


The Content Package to Feature Model plugin looks up content packages from the maven dependencies in {{ContentPackage.getMatchingArtifacts()}}. 

However this mechanism doesn't always work fully, leaving the {{file}} attribute of the returned Artifacts {{null}}. 

This later causes a NPE when the result is processed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)