Robert Munteanu created SLING-11932:
---------------------------------------

             Summary: The repository goal fails if the project's artifact is 
referenced
                 Key: SLING-11932
                 URL: https://issues.apache.org/jira/browse/SLING-11932
             Project: Sling
          Issue Type: Bug
          Components: Feature Model, Maven Plugins and Archetypes
    Affects Versions: OSGi Feature Maven Plugin 1.7.0
            Reporter: Robert Munteanu
             Fix For: OSGi Feature Maven Plugin 1.7.2


With the {{slingfeature-maven-plugin}} it is possible to attach the main 
project artifact to the generated feature files.

This is not properly handled in the repository goal, which always fails with

{noformat}[ERROR] Failed to execute goal 
org.apache.sling:slingfeature-maven-plugin:1.7.0:repository (create-repository) 
on project org.apache.sling.servlets.oidc-rp: Execution create-repository of 
goal org.apache.sling:slingfeature-maven-plugin:1.7.0:repository failed: 
Parameter 'srcFile' is not a file: 
/home/robert/sources/apache/sling/whiteboard/org.apache.sling.servlets.oidc-rp/target/classes{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to