[
https://issues.apache.org/jira/browse/SLING-7299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated SLING-7299:
-----------------------------------
Summary: slingstart-maven-plugin: Do not always attach artifact in goal
"package" (was: slingstart-maven-plugin: Do not always attach artifact for
goal package)
> 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)