camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Moulliard (JIRA)" <>
Subject [jira] Commented: (CAMEL-2366) Add a profile in camel-web project to generate WAR file for OSGI plateform (SMX4, Karaf)
Date Fri, 15 Jan 2010 10:38:43 GMT


Charles Moulliard commented on CAMEL-2366:

1) Build 

To build the WAR OSGI file, the following maven command including profiles -Posgi and -Penable-schemagen
must be use :

mvn clean package -Dtest=false -Posgi -Penable-schemagen

2) Before to deploy it on SMX4/Karaf, verify that the following bundles/features are installed

- Spring
- Spring-DM,
- Camel 2.x 
features are required

a) WEB environment
osgi:install -s mvn:org.ops4j.pax.web/pax-web-api/0.7.1
osgi:install -s mvn:org.ops4j.pax.web/pax-web-spi/0.7.1
osgi:install -s mvn:org.ops4j.pax.web/pax-web-runtime/0.7.1
osgi:install -s mvn:org.ops4j.pax.web/pax-web-jetty/0.7.1
osgi:install -s mvn:org.ops4j.pax.web/pax-web-jsp/0.7.1
osgi:install -s mvn:org.ops4j.pax.web/pax-web-extender-war/0.7.1
osgi:install -s mvn:org.ops4j.pax.web/pax-web-extender-whiteboard/0.7.1

b) Spring OSGI Web
osgi:install -s mvn:org.springframework/spring-web/2.5.6.SEC01
osgi:install -s mvn:org.springframework.osgi/spring-osgi-web/1.2.0

c)  Jetty Web server

d) Camel-web console
osgi:install -s war:mvn:org.apache.camel/camel-web/2.2-SNAPSHOT/war

> Add a profile in camel-web project to generate WAR file for OSGI plateform (SMX4, Karaf)
> ----------------------------------------------------------------------------------------
>                 Key: CAMEL-2366
>                 URL:
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-web
>    Affects Versions: 2.2.0
>            Reporter: Charles Moulliard

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

View raw message