mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2570 - first stab at updating karaf features
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@959687 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0785e76eef
commit
f7c3c11cc4
|
@ -1,22 +1,11 @@
|
|||
<features>
|
||||
<repository>mvn:org.apache.felix.karaf/apache-felix-karaf/1.6.0/xml/features</repository>
|
||||
<repository>mvn:org.ops4j.pax.web/features/0.7.2/xml/features</repository>
|
||||
|
||||
<feature name="transaction" version="1.0.0">
|
||||
<bundle>mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.1-incubating</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="spring" version="${spring-version}">
|
||||
<bundle>mvn:org.springframework/spring-core/${spring-version}</bundle>
|
||||
<bundle>mvn:org.springframework/spring-beans/${spring-version}</bundle>
|
||||
<bundle>mvn:org.springframework/spring-aop/${spring-version}</bundle>
|
||||
<bundle>mvn:org.springframework/spring-context/${spring-version}</bundle>
|
||||
<bundle>mvn:org.springframework/spring-context-support/${spring-version}</bundle>
|
||||
<bundle>mvn:org.springframework/spring-tx/${spring-version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="activemq" version="${activemq-version}">
|
||||
<feature version="1.1.1">servlet-2.5</feature>
|
||||
<bundle>mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle>
|
||||
<bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
|
||||
<bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
|
||||
|
@ -34,7 +23,6 @@
|
|||
</feature>
|
||||
|
||||
<feature name="activemq-spring" version="${activemq-version}">
|
||||
<feature version="${spring-version}">spring</feature>
|
||||
<feature version="1.2.0">spring-dm</feature>
|
||||
<feature version="${activemq-version}">activemq</feature>
|
||||
<bundle>mvn:org.apache.xbean/xbean-spring/${xbean-version}</bundle>
|
||||
|
@ -48,9 +36,9 @@
|
|||
<bundle>mvn:org.apache.activemq/activemq-blueprint/${activemq-version}</bundle>
|
||||
</feature>
|
||||
|
||||
<!-- do "features:install pax-web" before installing this one -->
|
||||
<!-- do "features:install war" before installing this one -->
|
||||
<feature name="activemq-web-console" version="${activemq-version}">
|
||||
<!-- <feature version="0.7.2">pax-web</feature> - it doesn't see 'war' protocol since they are installed as the same feature -->
|
||||
<feature version="${activemq-version}">activemq-spring</feature>
|
||||
<bundle>war:mvn:org.apache.activemq/activemq-web-console/${activemq-version}/war?Webapp-Context=activemq-web-console</bundle>
|
||||
</feature>
|
||||
</features>
|
|
@ -35,19 +35,28 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>2.1-beta-1</version>
|
||||
<configuration>
|
||||
<warSourceExcludes>
|
||||
<packagingExcludes>
|
||||
WEB-INF/lib/activation*.jar,
|
||||
WEB-INF/lib/activeio*.jar,
|
||||
WEB-INF/lib/activemq-console*.jar,
|
||||
WEB-INF/lib/activemq-core*.jar,
|
||||
WEB-INF/lib/activemq-pool*.jar
|
||||
WEB-INF/lib/activemq-console*.jar
|
||||
WEB-INF/lib/geronimo*.jar,
|
||||
WEB-INF/lib/xml-apis*.jar,
|
||||
WEB-INF/lib/xerces*.jar
|
||||
</warSourceExcludes>
|
||||
<!-- <archive>
|
||||
WEB-INF/lib/jetty*.jar
|
||||
WEB-INF/lib/servlet*.jar
|
||||
</packagingExcludes>
|
||||
<archive>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
-->
|
||||
<!-- <archive>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
</manifest>
|
||||
</archive> -->
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
@ -98,7 +107,7 @@
|
|||
<scanIntervalSeconds>10</scanIntervalSeconds>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- <plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<executions>
|
||||
|
@ -123,10 +132,10 @@
|
|||
<Embed-Directory>WEB-INF/lib</Embed-Directory>
|
||||
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
|
||||
<Embed-Transitive>true</Embed-Transitive>
|
||||
<Import-Package>*;resolution:=optional</Import-Package>
|
||||
<Import-Package>org.apache.activemq,org.xml.sax,javax.xml.parsers,javax.xml.transform,javax.naming,org.w3c.dom,*;resolution:=optional</Import-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin> -->
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
|
@ -30,6 +30,18 @@
|
|||
<name>ActiveMQ :: Web</name>
|
||||
<description>Web Connector for REST API and Streamlets support</description>
|
||||
|
||||
<properties>
|
||||
<activemq.osgi.import.pkg>
|
||||
org.apache.activemq*;resolution:=optional,
|
||||
org.springframework*;resolution:=optional,
|
||||
sun.management*;resolution:=optional,
|
||||
*
|
||||
</activemq.osgi.import.pkg>
|
||||
<activemq.osgi.export>
|
||||
org.apache.activemq.web*;version=${project.version};-noimport:=true,
|
||||
</activemq.osgi.export>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- activemq -->
|
||||
<dependency>
|
||||
|
|
Loading…
Reference in New Issue