Konrad Windszus created SLING-10022:
---------------------------------------
Summary: 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
The {{SLING-INF/adapters.json}} is always generated in the target folder
{{${project.build.directory}/adapter-plugin-generated}}. 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.directory}, and
the parameter should not be read-only (to allow to overwrite).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)