Konrad Windszus created SLING-11524:
---------------------------------------
Summary: install goal: Use always the artifact file from the
underlying Maven project
Key: SLING-11524
URL: https://issues.apache.org/jira/browse/SLING-11524
Project: Sling
Issue Type: Improvement
Reporter: Konrad Windszus
Assignee: Konrad Windszus
Fix For: Sling Maven Plugin 2.4.4
Currently goals "install-file" and "install" behave almost the same, the only
difference is that the latter requires a project, but still picks up the bundle
to install from the filesystem with a predefined path instead of leveraging the
project's artifact(s) directly (irrespective of their path/name).
Instead of relying on a certain path in the filesystem one should directly
leverage {{MavenProject.getArtifact()}} and
{{MavenProject.getAttachedArtifacts()}} (in that order) until a bundle file is
found and remove the parameter {{bundleFileName}} altogether.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)