apache-servicemix
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.servicemix</groupId> <artifactId>apache-servicemix</artifactId> <version>6.0.5</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.servicemix</groupId> <artifactId>parent</artifactId> <version>6.0.5</version> <relativePath>../parent/pom.xml</relativePath> </parent> <artifactId>apache-servicemix</artifactId> <packaging>pom</packaging> <name>Apache ServiceMix :: Assembly</name> <properties> <examples.directory>../examples</examples.directory> </properties> <dependencies> <dependency> <groupId>org.apache.servicemix.specs</groupId> <artifactId>org.apache.servicemix.specs.jaxp-api-1.4</artifactId> </dependency> <dependency> <groupId>org.apache.servicemix.specs</groupId> <artifactId>org.apache.servicemix.specs.jaxb-api-2.2</artifactId> </dependency> <dependency> <groupId>org.apache.servicemix.specs</groupId> <artifactId>org.apache.servicemix.specs.jaxws-api-2.2</artifactId> </dependency> <dependency> <groupId>org.apache.servicemix.specs</groupId> <artifactId>org.apache.servicemix.specs.saaj-api-1.3</artifactId> </dependency> <dependency> <groupId>org.apache.servicemix.specs</groupId> <artifactId>org.apache.servicemix.specs.activation-api-1.1</artifactId> </dependency> <dependency> <groupId>org.apache.servicemix.specs</groupId> <artifactId>org.apache.servicemix.specs.activator</artifactId> </dependency> <!-- Download Karaf assemblies for dependency:unpack--> <dependency> <groupId>org.apache.karaf</groupId> <artifactId>apache-karaf</artifactId> <type>zip</type> </dependency> <dependency> <groupId>org.apache.karaf</groupId> <artifactId>apache-karaf</artifactId> <type>tar.gz</type> </dependency> <!--Xerces jar to be included in lib/endorsed --> <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </dependency> <!--xalan jar to be included in lib/endorsed--> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.xalan</artifactId> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.xalan-serializer</artifactId> </dependency> <!-- branding --> <dependency> <groupId>org.apache.servicemix</groupId> <artifactId>org.apache.servicemix.branding</artifactId> </dependency> </dependencies> <repositories> <!-- SpringSource EBR is necessary to get some Spring OSGi bundles atm --> <repository> <id>com.springsource.repository.bundles.release</id> <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name> <url>http://repository.springsource.com/maven/bundles/release</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <build> <resources> <resource> <!-- we need unfiltered copies of these files --> <directory>src/main/resources</directory> </resource> <resource> <directory>src/main/filtered-resources</directory> <filtering>true</filtering> <includes> <include>**/*</include> </includes> </resource> </resources> <plugins> <plugin> <groupId>org.apache.karaf.tooling</groupId> <artifactId>karaf-maven-plugin</artifactId> <version>${karaf.version}</version> <executions> <execution> <id>add-features-to-repo</id> <phase>compile</phase> <goals> <goal>features-add-to-repository</goal> </goals> <configuration> <descriptors> <descriptor>mvn:org.apache.karaf.features/standard/${karaf.version}/xml/features</descriptor> <descriptor>mvn:org.apache.karaf.features/enterprise/${karaf.version}/xml/features</descriptor> <descriptor>mvn:org.apache.karaf.features/spring/${karaf.version}/xml/features</descriptor> <descriptor>mvn:org.apache.activemq/activemq-karaf/${activemq.version}/xml/features</descriptor> <descriptor>mvn:org.apache.camel.karaf/apache-camel/${camel.version}/xml/features</descriptor> <descriptor>mvn:org.apache.cxf.karaf/apache-cxf/${cxf.version}/xml/features</descriptor> <descriptor>mvn:org.apache.servicemix.drools/features/${version}/xml/features</descriptor> <descriptor>file:${project.build.outputDirectory}/internal.xml</descriptor> <descriptor>file:${project.build.outputDirectory}/features.xml</descriptor> <descriptor>file:${project.build.outputDirectory}/examples.xml</descriptor> </descriptors> <features> <feature>joda-time</feature> <feature>cxf</feature> <feature>obr</feature> <feature>config</feature> <feature>standard</feature> <feature>package</feature> <feature>kar</feature> <feature>ssh</feature> <feature>management</feature> <feature>eventadmin</feature> <feature>activemq-broker-noweb</feature> <feature>activemq-service</feature> <feature>camel</feature> <feature>camel-cxf</feature> <feature>activemq-camel</feature> <feature>camel-blueprint</feature> <feature>war</feature> <feature>jaxrs-api</feature> <feature>kie-aries-blueprint</feature> <feature>kie-spring</feature> <feature>kie-camel</feature> </features> <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors> <repository>${project.build.directory}/features-repo</repository> </configuration> <inherited>false</inherited> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>filter</id> <phase>generate-resources</phase> <goals> <goal>resources</goal> </goals> </execution> <execution> <id>copy-system-folder</id> <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/features-repo</outputDirectory> <resources> <resource> <directory>${project.build.directory}/dependencies/unix/apache-karaf-${karaf.version}/system</directory> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack-unix</id> <phase>generate-resources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.apache.karaf</groupId> <artifactId>apache-karaf</artifactId> <type>tar.gz</type> <outputDirectory>${project.build.directory}/dependencies/unix</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> <execution> <id>unpack-win</id> <phase>generate-resources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.apache.karaf</groupId> <artifactId>apache-karaf</artifactId> <type>zip</type> <outputDirectory>${project.build.directory}/dependencies/win</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>enable-obr</id> <phase>prepare-package</phase> <goals> <goal>run</goal> </goals> <configuration> <target name="enable-obr"> <echo message="Updating etc/startup.properties in assembly" /> <concat destfile="${project.build.directory}/dependencies/unix/apache-karaf-${karaf.version}/etc/startup.properties" append="true"> <string value="${line.separator}" /> <fileset file="${project.build.outputDirectory}/startup-obr.properties" /> </concat> </target> </configuration> </execution> <execution> <id>increase-perm-mem</id> <phase>prepare-package</phase> <goals> <goal>run</goal> </goals> <configuration> <target name="increase-perm-mem"> <echo message="Updating bin/setenv in unix assembly" /> <concat destfile="${project.build.directory}/dependencies/unix/apache-karaf-${karaf.version}/bin/setenv" append="true" eol="unix"> <fileset file="${project.build.outputDirectory}/setenv-unix" /> </concat> <echo message="Updating bin/setenv.bat in windows assembly" /> <concat destfile="${project.build.directory}/dependencies/win/apache-karaf-${karaf.version}/bin/setenv.bat" append="true" eol="dos"> <fileset file="${project.build.outputDirectory}/setenv-win" /> </concat> </target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>attach-artifacts</id> <phase>package</phase> <inherited>false</inherited> <goals> <goal>attach-artifact</goal> </goals> <configuration> <artifacts> <artifact> <file>${project.build.outputDirectory}/internal.xml</file> <type>xml</type> <classifier>internal</classifier> </artifact> <artifact> <file>${project.build.outputDirectory}/features.xml</file> <type>xml</type> <classifier>features</classifier> </artifact> <artifact> <file>${project.build.outputDirectory}/examples.xml</file> <type>xml</type> <classifier>examples</classifier> </artifact> </artifacts> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <id>unix-bin</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <descriptors> <descriptor>src/main/descriptors/unix-bin.xml</descriptor> </descriptors> <finalName>${project.artifactId}-${project.version}</finalName> <tarLongFileMode>gnu</tarLongFileMode> <appendAssemblyId>false</appendAssemblyId> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <id>unix-src</id> <phase>package</phase> <goals> <goal>attached</goal> </goals> <configuration> <descriptors> <descriptor>src/main/descriptors/unix-src.xml</descriptor> </descriptors> </configuration> <inherited>false</inherited> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>