You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/12/13 08:44:00 UTC
[jira] [Resolved] (SLING-7299) slingstart-maven-plugin: Do not
always attach artifact in goal "package"
[ https://issues.apache.org/jira/browse/SLING-7299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus resolved SLING-7299.
------------------------------------
Resolution: Fixed
> slingstart-maven-plugin: Do not always attach artifact in goal "package"
> ------------------------------------------------------------------------
>
> Key: SLING-7299
> URL: https://issues.apache.org/jira/browse/SLING-7299
> Project: Sling
> Issue Type: Improvement
> Affects Versions: Slingstart Maven Plugin 1.7.10
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Fix For: Slingstart Maven Plugin 1.7.12
>
>
> In case the packaging is not {{slingstart}} that generated artifact is still attached to the project (and therefore potentially also deployed via mvn deploy) (https://github.com/apache/sling-slingstart-maven-plugin/blob/master/src/main/java/org/apache/sling/maven/slingstart/PackageMojo.java#L95). This is not desired in case the model is only used for running a local IT against the server being generated from the model. Therefore there should be an additional parameter which prevents the artifact from being attached.
> Since the attached artifact is currently also used from goal {{start}} (https://github.com/apache/sling-slingstart-maven-plugin/blob/master/src/main/java/org/apache/sling/maven/slingstart/run/StartMojo.java#L396) there must be another way introduced to detect slingstart artifacts which have been generated through the same maven build by a previous step.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)