I’m trying to build a JCR package using maven. The config below builds the
package, but I also get an error related to verify-legal-files
[ERROR] Failed to execute goal
org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files
(verify-legal-files) on project org.apache.sling.auth.saml2.example: Artifact
does not contain any legal files: org.apache.sling.auth.saml2.example-0.2.0.zip
-> [Help 1]
<plugin>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>filevault-package-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<name>SAML2 Example Config, User and ACL Package</name>
<group>${project.groupId}</group>
<version>${project.version}</version>
<packageType>mixed</packageType>
<filters>
<filter>
<root>/apps/sling/saml2</root>
</filter>
</filters>
</configuration>
</plugin>
How can the license be added to the JCR package?
Cris