An open API service indexing awesome lists of open source software.

https://github.com/wouterd/cq5mavenproject

Project to develop OSGI bundles & JSPs in an IDE like IntelliJ
https://github.com/wouterd/cq5mavenproject

Last synced: 12 months ago
JSON representation

Project to develop OSGI bundles & JSPs in an IDE like IntelliJ

Awesome Lists containing this project

README

          

My Project
========

This a content package project generated using the multimodule-content-package-archetype.

Created using this page: http://dev.day.com/docs/en/cq/aem-how-tos/development/how-to-build-aem-projects-using-apache-maven.html#Getting Started in 5 Minutes

Then adjust a little.

Building
--------

This project uses Maven for building. Common commands:

From the root directory, run ``mvn -PautoInstallPackage clean install`` to build the bundle and content package and install to a CQ instance.

From the bundle directory, run ``mvn -PautoInstallBundle clean install`` to build *just* the bundle and install to a CQ instance.

Using with VLT
--------------

To use vlt with this project, first build and install the package to your local CQ instance as described above. Then cd to `content/src/main/content/jcr_root` and run

vlt --credentials admin:admin checkout -f ../META-INF/vault/filter.xml --force http://localhost:4502/crx

Once the working copy is created, you can use the normal ``vlt up`` and ``vlt ci`` commands.

Specifying CRX Host/Port
------------------------

The CRX host and port can be specified on the command line with:
mvn -Dcrx.host=otherhost -Dcrx.port=5502