stefanseifert commented on code in PR #16:
URL: https://github.com/apache/sling-maven-plugin/pull/16#discussion_r946686737


##########
src/main/java/org/apache/sling/maven/bundlesupport/BundleInstallMojo.java:
##########
@@ -65,7 +65,7 @@ protected File getBundleFileName() {
                 getLog().debug("No bundle found in secondary artifact " + 
file);
             }
         }
-        return null;
+        throw new MojoExecutionException("No attached bundle found for this 
Maven project, for standalone usage use goal 'install-file' instead!");

Review Comment:
   with this explicit error message it's fine in my pov.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to