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

Konrad Windszus closed SLING-11524.
-----------------------------------

> 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
>            Priority: Major
>             Fix For: Sling Maven Plugin 3.0.2
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to