You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2010/01/15 11:42:43 UTC
[jira] Issue Comment Edited: (CAMEL-2366) Add a profile in
camel-web project to generate WAR file for OSGI plateform (SMX4, Karaf)
[ https://issues.apache.org/activemq/browse/CAMEL-2366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56922#action_56922 ]
Charles Moulliard edited comment on CAMEL-2366 at 1/15/10 10:41 AM:
--------------------------------------------------------------------
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 :
Features
- Spring
- Spring-DM,
- Camel 2.x
features are required
Bundles
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
osgi:install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jetty-bundle/6.1.19_2
d) Camel-web console (including in its WEB-INF/lib jersey jars, jstl, rome, sitemesh, ...)
osgi:install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr311-api-1.0/1.3.0
osgi:install -s war:mvn:org.apache.camel/camel-web/2.2-SNAPSHOT/war
was (Author: cmoulliard):
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 :
Features
- Spring
- Spring-DM,
- Camel 2.x
features are required
Bundles
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
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jetty-bundle/6.1.19_2
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: https://issues.apache.org/activemq/browse/CAMEL-2366
> 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.