You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:26:37 UTC

[sling-slingstart-maven-plugin] 07/10: SLING-4790 : Removal of artifacts from inherited model is not possible

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

rombert pushed a commit to annotated tag slingstart-maven-plugin-1.2.0
in repository https://gitbox.apache.org/repos/asf/sling-slingstart-maven-plugin.git

commit ddd4ba07dffcf413df1c9b4fbac357a5ae131e22
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Tue Jun 9 11:39:27 2015 +0000

    SLING-4790 : Removal of artifacts from inherited model is not possible
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/tooling/maven/slingstart-maven-plugin@1684384 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/maven/slingstart/ModelUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/maven/slingstart/ModelUtils.java b/src/main/java/org/apache/sling/maven/slingstart/ModelUtils.java
index 951bd5b..d100d3f 100644
--- a/src/main/java/org/apache/sling/maven/slingstart/ModelUtils.java
+++ b/src/main/java/org/apache/sling/maven/slingstart/ModelUtils.java
@@ -99,7 +99,7 @@ public abstract class ModelUtils {
                         if ( firstArtifact == null ) {
                             firstArtifact = a;
                         } else {
-                            throw new MavenExecutionException("Base run mode should contain exactly one artifact: ", (File)null);
+                            throw new MavenExecutionException("Base run mode should contain exactly one artifact: " + runMode.getArtifactGroups().get(0), (File)null);
                         }
                     }
                     if ( firstArtifact == null ) {

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