sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1684384 - /sling/trunk/tooling/maven/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/ModelUtils.java
Date Tue, 09 Jun 2015 11:39:27 GMT
Author: cziegeler
Date: Tue Jun  9 11:39:27 2015
New Revision: 1684384

URL: http://svn.apache.org/r1684384
Log:
SLING-4790 : Removal of artifacts from inherited model is not possible

Modified:
    sling/trunk/tooling/maven/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/ModelUtils.java

Modified: sling/trunk/tooling/maven/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/ModelUtils.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/maven/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/ModelUtils.java?rev=1684384&r1=1684383&r2=1684384&view=diff
==============================================================================
--- sling/trunk/tooling/maven/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/ModelUtils.java
(original)
+++ sling/trunk/tooling/maven/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/ModelUtils.java
Tue Jun  9 11:39:27 2015
@@ -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 ) {



Mime
View raw message