This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag maven-launchpad-plugin-2.1.2 in repository https://gitbox.apache.org/repos/asf/sling-maven-launchpad-plugin.git
commit bb6cf72ea85379bdca0e0d2fdcedaf8b0281dff7 Author: Justin Edelson <[email protected]> AuthorDate: Tue Jan 17 23:19:32 2012 +0000 SLING-2194 - fail the build if a bundle list isn't available as this is now the only way to define a partial bundle list. git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/maven-launchpad-plugin@1232643 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/sling/maven/projectsupport/AttachPartialBundleListMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/sling/maven/projectsupport/AttachPartialBundleListMojo.java b/src/main/java/org/apache/sling/maven/projectsupport/AttachPartialBundleListMojo.java index c4e264c..c157a80 100644 --- a/src/main/java/org/apache/sling/maven/projectsupport/AttachPartialBundleListMojo.java +++ b/src/main/java/org/apache/sling/maven/projectsupport/AttachPartialBundleListMojo.java @@ -90,7 +90,7 @@ public class AttachPartialBundleListMojo extends AbstractBundleListMojo { throw new MojoExecutionException("Unable to read bundle list file", e); } } else { - initializedBundleList = new BundleList(); + throw new MojoFailureException(String.format("Bundle list file %s does not exist.", bundleListFile.getAbsolutePath())); } interpolateProperties(initializedBundleList, this.project, this.mavenSession); -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
