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

Carsten Ziegeler reassigned SLING-11932:
----------------------------------------

    Assignee: Carsten Ziegeler

> 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
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             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}
> ------
> Steps to reproduce:
> {noformat}
> $ git clone https://github.com/apache/sling-whiteboard --branch 
> issue/SLING-11932-repro
> $ mvn -f sling-whiteboard/org.apache.sling.servlets.oidc-rp/pom.xml package
> {noformat}



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

Reply via email to