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/09 16:53:02 UTC
[jira] [Created] (SLING-7299) slingstart-maven-plugin: Do not
always attach artifact for goal package
Konrad Windszus created SLING-7299:
--------------------------------------
Summary: slingstart-maven-plugin: Do not always attach artifact for 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
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)