keep the activemq feature
<feature>pax-jetty-http2/${pax-web.version}</feature>
<feature>pax-war/${pax-web.version}</feature>
<!-- ActiveMQ Features -->
+ <feature>activemq</feature>
<feature>activemq-blueprint</feature>
<feature>activemq-camel</feature>
<!-- CXF Features -->
replace="&lt;!-- removed feature \1 --&gt;">
</replaceregexp>
- <replaceregexp byline="false" flags="gis"
- file="target/dependencies/activemq-karaf-${activemq.version}-features-core.xml"
- match="[ ]*&lt;feature name=&quot;activemq&quot;.+?(&lt;feature.+?&lt;/feature&gt;.*?|&lt;bundle.+?&lt;/bundle&gt;.*?)+?&lt;/feature&gt;"
- replace="&lt;!-- removed feature \1 --&gt;">
- </replaceregexp>
-
<replace file="target/dependencies/activemq-karaf-${activemq.version}-features-core.xml">
<replacefilter
token="&gt;mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream/1.4.8_1&lt;"
