You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2022/12/10 09:55:36 UTC

[jackrabbit-filevault-package-maven-plugin] branch master updated: Property "packageFile" must be optional, to support edge cases where no main artifact is attached

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/jackrabbit-filevault-package-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new d9ca150  Property "packageFile" must be optional, to support edge cases where no main artifact is attached
d9ca150 is described below

commit d9ca1502dd3034f91e0783ff562d42082e9cbd84
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sat Dec 10 10:55:31 2022 +0100

    Property "packageFile" must be optional, to support edge cases where no
    main artifact is attached
---
 .../jackrabbit/filevault/maven/packaging/mojo/ValidatePackageMojo.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/jackrabbit/filevault/maven/packaging/mojo/ValidatePackageMojo.java b/src/main/java/org/apache/jackrabbit/filevault/maven/packaging/mojo/ValidatePackageMojo.java
index 724346d..676a28f 100644
--- a/src/main/java/org/apache/jackrabbit/filevault/maven/packaging/mojo/ValidatePackageMojo.java
+++ b/src/main/java/org/apache/jackrabbit/filevault/maven/packaging/mojo/ValidatePackageMojo.java
@@ -61,7 +61,7 @@ import org.xml.sax.SAXException;
 public class ValidatePackageMojo extends AbstractValidateMojo {
 
     /** The path to the main package file to validate. */
-    @Parameter(property = "vault.packageToValidate", defaultValue = "${project.artifact.file}", required = true)
+    @Parameter(property = "vault.packageToValidate", defaultValue = "${project.artifact.file}")
     private File packageFile;
 
     /**