[
https://issues.apache.org/jira/browse/SLING-11932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-11932.
--------------------------------------
Resolution: Fixed
Fixed with
https://github.com/apache/sling-slingfeature-maven-plugin/commit/c1ce9a65c94b13293109b30df8b5f8ab624afaa3
> 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)