| <?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/maven-v4_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.nmr</groupId> |
| <artifactId>nmr-parent</artifactId> |
| <version>1.0.0</version> |
| </parent> |
| |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>apache-servicemix-nmr</artifactId> |
| <packaging>pom</packaging> |
| <name>Apache ServiceMix NMR :: Assembly</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicemix.kernel</groupId> |
| <artifactId>apache-servicemix-kernel</artifactId> |
| <type>zip</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.kernel</groupId> |
| <artifactId>apache-servicemix-kernel</artifactId> |
| <type>tar.gz</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.document</groupId> |
| <artifactId>org.apache.servicemix.document</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.naming</groupId> |
| <artifactId>org.apache.servicemix.naming</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>org.apache.servicemix.nmr.api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>org.apache.servicemix.nmr.commands</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>org.apache.servicemix.nmr.core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>org.apache.servicemix.nmr.management</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>org.apache.servicemix.nmr.osgi</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>org.apache.servicemix.nmr.spring</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>org.apache.servicemix.nmr.audit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>org.apache.servicemix.nmr.branding</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.specs</groupId> |
| <artifactId>org.apache.servicemix.specs.jbi-api-1.0</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.jbi</groupId> |
| <artifactId>org.apache.servicemix.jbi.commands</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.jbi</groupId> |
| <artifactId>org.apache.servicemix.jbi.deployer</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.jbi</groupId> |
| <artifactId>org.apache.servicemix.jbi.osgi</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.jbi</groupId> |
| <artifactId>org.apache.servicemix.jbi.runtime</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.jbi.cluster</groupId> |
| <artifactId>org.apache.servicemix.jbi.cluster.requestor</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.jbi.cluster</groupId> |
| <artifactId>org.apache.servicemix.jbi.cluster.engine</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.jbi.cluster</groupId> |
| <artifactId>org.apache.servicemix.jbi.cluster.config</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.specs</groupId> |
| <artifactId>org.apache.servicemix.specs.stax-api-1.0</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.woodstox</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.wsdl4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.prefs</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.javamail-api-1.4</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jta_1.1_spec</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.xbean</groupId> |
| <artifactId>xbean-classloader</artifactId> |
| </dependency> |
| </dependencies> |
| <build> |
| <resources> |
| <resource> |
| <directory>${pom.basedir}/src/main/filtered-resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <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> |
| </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.servicemix.kernel</groupId> |
| <artifactId>apache-servicemix-kernel</artifactId> |
| <type>tar.gz</type> |
| <outputDirectory>target/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.servicemix.kernel</groupId> |
| <artifactId>apache-servicemix-kernel</artifactId> |
| <type>zip</type> |
| <outputDirectory>target/dependencies/win</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.servicemix.nmr</groupId> |
| <artifactId>org.apache.servicemix.nmr.branding</artifactId> |
| <outputDirectory>target/dependencies</outputDirectory> |
| <destFileName>servicemix-version.jar</destFileName> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.servicemix.tooling</groupId> |
| <artifactId>features-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>add-features-to-repo</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>add-features-to-repo</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>file:${basedir}/target/classes/features.xml</descriptor> |
| </descriptors> |
| <features> |
| <feature>nmr</feature> |
| <feature>nmr-audit</feature> |
| <feature>jbi</feature> |
| <feature>jbi-cluster</feature> |
| </features> |
| <repository>target/features-repo</repository> |
| </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>${pom.artifactId}-${pom.version}</finalName> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| </execution> |
| <execution> |
| <id>windows-bin</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/descriptors/windows-bin.xml</descriptor> |
| </descriptors> |
| <finalName>${pom.artifactId}-${pom.version}</finalName> |
| </configuration> |
| </execution> |
| <execution> |
| <id>unix-src</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/descriptors/unix-src.xml</descriptor> |
| </descriptors> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| </execution> |
| <execution> |
| <id>windows-src</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/descriptors/windows-src.xml</descriptor> |
| </descriptors> |
| </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> |
| <goals> |
| <goal>attach-artifact</goal> |
| </goals> |
| <configuration> |
| <artifacts> |
| <artifact> |
| <file>target/classes/features.xml</file> |
| <type>xml </type> |
| <classifier>features</classifier> |
| </artifact> |
| </artifacts> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |
| |