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

Konrad Windszus closed SLING-10022.
-----------------------------------

> generate-adapter-metadata mojo always emits to 
> "${project.build.directory}/adapter-plugin-generated"
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-10022
>                 URL: https://issues.apache.org/jira/browse/SLING-10022
>             Project: Sling
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: Sling Maven Plugin 2.4.2
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Sling Maven Plugin 3.0.2
>
>
> The {{SLING-INF/adapters.json}} is always generated in the target folder 
> {{${project.build.directory}/adapter-plugin-generated}} 
> (https://github.com/apache/sling-maven-plugin/blob/ee08451c880cc8cdc554b4cf8964c35792d75326/sling-maven-plugin/src/main/java/org/apache/sling/maven/bundlesupport/GenerateAdapterMetadataMojo.java#L91).
>  From there it is not automatically being picked up for ending up in the 
> generated JAR. 
> That folder was only considered by the maven-bundle-plugin but is not by the 
> maven-jar-plugin.
> The default output directory should instead be 
> {{${project.build.outputDirectory}}, and the parameter should not be 
> read-only (to allow to overwrite).



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

Reply via email to