You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2017/12/17 11:18:50 UTC

[sling-slingstart-maven-plugin] branch master updated: improve javadoc for attachArtifact

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-slingstart-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new daeae72  improve javadoc for attachArtifact
daeae72 is described below

commit daeae722829191c78452a14daf54c7abd7f57d2d
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sun Dec 17 12:18:46 2017 +0100

    improve javadoc for attachArtifact
---
 src/main/java/org/apache/sling/maven/slingstart/PackageMojo.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/maven/slingstart/PackageMojo.java b/src/main/java/org/apache/sling/maven/slingstart/PackageMojo.java
index 6922e74..efedd7e 100644
--- a/src/main/java/org/apache/sling/maven/slingstart/PackageMojo.java
+++ b/src/main/java/org/apache/sling/maven/slingstart/PackageMojo.java
@@ -55,7 +55,8 @@ public class PackageMojo extends AbstractSlingStartMojo {
     
     /**
      * If set to {@code false} does not attach the generated artifact to Maven.
-     * This setting does only apply if the packaging of the current Maven project is not "slingstart".
+     * This setting takes only effect if the packaging of the current Maven project is not {@code slingstart}.
+     * Otherwise the generated artifact is always the main artifact (and is therefore always attached).
      */
     @Parameter(defaultValue="true")
     protected boolean attachArtifact;

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].