Replace the default package configuration files to customize the package properties. For example, include a thumbnail image to distinguish the package in Package Manager and Package Share.
In the package, FileVault-specific files are located in the /META-INF/vault folder. The source files can be located anywhere in your file system. In the POM file, define build resources to copy the source files to the target/vault-work/META-INF for inclusion in the package.
The following POM code adds the files in the META-INF folder of the project source to the package:
<build>
<resources>
<!-- vault META-INF resources (thumbnail etc.) -->
<resource>
<directory>${basedir}/src/main/content/META-INF</directory>
<targetPath>../vault-work/META-INF</targetPath>
</resource>
</resources>
</build>
The following POM code adds only a thumbnail image to the package. The thumbnail image must be named thumbnail.png, and must be located in the META-INF/vault/definition folder of the package. In this example, the source file is located in the /src/main/content/META-INF/vault/definition folder of the project:
<build>
<resources>
<!-- thumbnail only -->
<resource>
<directory>${basedir}/src/main/content/META-INF/vault/definition</directory>
<targetPath>../vault-work/META-INF/vault/definition</targetPath>
</resource>
</resources>
</build>
We've recently started using CQ in our organization and still figuring out the deployment model for it. Is there a way to support multiple target urls from the maven plugin, ideally you would want to deploy the app on multiple instances in the qa or production environments. although its possible to execute the install goal multiple times it would really be nice if the plugin supported list of comma separated urls.
Manish
[INFO] C:\testproject\testproject\content\target\testproject-content-1.0-SNAPSHOT.jar is not an OSGi Bundle, not uploading
How can this be resolved?
We are glad to know that you figured out your issue.
Thanks for your feedback.
Guillaume
Note: Customers with DayCare user accounts need to create a new account for use on day.com.