[ 
https://issues.apache.org/jira/browse/SLING-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787062#action_12787062
 ] 

Justin Edelson commented on SLING-1197:
---------------------------------------

I've been working on a new approach for this which gets rid of the bundles 
artifact entirely and replaces it with a bundle list file. This file is 
produced as an attached artifact to the new launchpad/uber project and consumed 
by launchpad/testing and any other downstream packager.

This simplifies the process to run integration tests during development. 
Currently, if a bundle needs to be modified, the steps are:
1) Modify the bundle.
2) Run mvn install on the bundle.
3) Run mvn clean install on launchpad/bundles.
4) Run mvn clean verify on launchpad/testing

After this change, the third step will be eliminated assuming the version 
hasn't changed.

Creating this bundle list file also allows us to automatically transform this 
file into a format consumable by other provisioning systems, i.e. Pax Runner 
and Karaf.

If need be, the Maven plugin can also produce a JAR of bundles (this part is 
giving me a bit of trouble due to the need to include the legal files).

I'm still cleaning up the code a bit, but did want to get some feedback on a 
few questions:
1) What's the right name for the project I'm calling "uber"? For context, this 
project produces these artifacts:
<artifactId>-<version>.war <-- the equivelant to the current 
launchpad-webapp.war
<artifactId>-<version>-standalone.jar <-- the equivelant to the current 
launchpad.app.jar
<artifactId>-<version>-bundles.xml <-- the bundle list file mentioned above
<artifactId>-<version>-bundles.jar <-- the equivleant to the current 
launchpad.bundles.jar

2) Is "standalone" a good classifier for the app jar?

3) Are there other provisioning schemas worth supporting?

> new prepare-package Maven goal to simplify launchpad poms
> ---------------------------------------------------------
>
>                 Key: SLING-1197
>                 URL: https://issues.apache.org/jira/browse/SLING-1197
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins
>            Reporter: Justin Edelson
>            Assignee: Felix Meschberger
>         Attachments: SLING-1197-updated.patch, SLING-1197.patch
>
>
> See http://www.mail-archive.com/dev@sling.apache.org/msg01908.html for 
> discussion

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to