Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- breaks
-
SLING-11543 sling-maven-plugin: Install goal fails if executed alone
- Closed