| <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.felix.karaf</groupId> |
| <artifactId>karaf</artifactId> |
| <version>1.7.0-SNAPSHOT</version> |
| </parent> |
| |
| <groupId>org.apache.felix.karaf</groupId> |
| <artifactId>apache-felix-karaf</artifactId> |
| <packaging>pom</packaging> |
| <version>1.7.0-SNAPSHOT</version> |
| <name>Apache Felix Karaf :: Assembly</name> |
| |
| <properties> |
| <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.felix.karaf</groupId> |
| <artifactId>manual</artifactId> |
| <type>pdf</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf</groupId> |
| <artifactId>manual</artifactId> |
| <type>html</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf</groupId> |
| <artifactId>org.apache.felix.karaf.main</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf</groupId> |
| <artifactId>org.apache.felix.karaf.exception</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf</groupId> |
| <artifactId>org.apache.felix.karaf.client</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.deployer</groupId> |
| <artifactId>org.apache.felix.karaf.deployer.spring</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.deployer</groupId> |
| <artifactId>org.apache.felix.karaf.deployer.blueprint</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.deployer</groupId> |
| <artifactId>org.apache.felix.karaf.deployer.features</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.deployer</groupId> |
| <artifactId>org.apache.felix.karaf.deployer.war</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.features</groupId> |
| <artifactId>org.apache.felix.karaf.features.core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.features</groupId> |
| <artifactId>org.apache.felix.karaf.features.command</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.features</groupId> |
| <artifactId>org.apache.felix.karaf.features.management</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.admin</groupId> |
| <artifactId>org.apache.felix.karaf.admin.core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.admin</groupId> |
| <artifactId>org.apache.felix.karaf.admin.command</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.admin</groupId> |
| <artifactId>org.apache.felix.karaf.admin.management</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.shell</groupId> |
| <artifactId>org.apache.felix.karaf.shell.console</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.shell</groupId> |
| <artifactId>org.apache.felix.karaf.shell.obr</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.shell</groupId> |
| <artifactId>org.apache.felix.karaf.shell.osgi</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.shell</groupId> |
| <artifactId>org.apache.felix.karaf.shell.log</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.shell</groupId> |
| <artifactId>org.apache.felix.karaf.shell.config</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.shell</groupId> |
| <artifactId>org.apache.felix.karaf.shell.packages</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.shell</groupId> |
| <artifactId>org.apache.felix.karaf.shell.commands</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.shell</groupId> |
| <artifactId>org.apache.felix.karaf.shell.ssh</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.shell</groupId> |
| <artifactId>org.apache.felix.karaf.shell.dev</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.jaas</groupId> |
| <artifactId>org.apache.felix.karaf.jaas.boot</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.jaas</groupId> |
| <artifactId>org.apache.felix.karaf.jaas.config</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf.jaas</groupId> |
| <artifactId>org.apache.felix.karaf.jaas.modules</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix.karaf</groupId> |
| <artifactId>org.apache.felix.karaf.management</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.osgi</groupId> |
| <artifactId>spring-osgi-extender</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.osgi</groupId> |
| <artifactId>spring-osgi-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.osgi</groupId> |
| <artifactId>spring-osgi-io</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.osgi</groupId> |
| <artifactId>spring-osgi-annotation</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aop</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.bundlerepository</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.fileinstall</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>jline</groupId> |
| <artifactId>jline</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.configadmin</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.metatype</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.prefs</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.logging</groupId> |
| <artifactId>pax-logging-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.logging</groupId> |
| <artifactId>pax-logging-service</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.url</groupId> |
| <artifactId>pax-url-mvn</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.url</groupId> |
| <artifactId>pax-url-wrap</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sshd</groupId> |
| <artifactId>sshd-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse</groupId> |
| <artifactId>osgi</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.framework</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.blueprint</groupId> |
| <artifactId>org.apache.aries.blueprint</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.jmx</groupId> |
| <artifactId>org.apache.aries.jmx</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.jmx</groupId> |
| <artifactId>org.apache.aries.jmx.blueprint</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.bundles</groupId> |
| <artifactId>org.apache.servicemix.bundles.jetty-bundle</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.web</groupId> |
| <artifactId>pax-web-api</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.web</groupId> |
| <artifactId>pax-web-spi</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.web</groupId> |
| <artifactId>pax-web-runtime</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.web</groupId> |
| <artifactId>pax-web-jetty</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.web</groupId> |
| <artifactId>pax-web-jsp</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.web</groupId> |
| <artifactId>pax-web-extender-war</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.web</groupId> |
| <artifactId>pax-web-extender-whiteboard</artifactId> |
| <optional>true</optional> |
| </dependency> |
| </dependencies> |
| <build> |
| <resources> |
| <resource> |
| <directory>${project.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>copy</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.felix.karaf</groupId> |
| <artifactId>org.apache.felix.karaf.main</artifactId> |
| <outputDirectory>target/dependencies/lib</outputDirectory> |
| <destFileName>karaf.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.felix.karaf</groupId> |
| <artifactId>org.apache.felix.karaf.client</artifactId> |
| <outputDirectory>target/dependencies/lib</outputDirectory> |
| <destFileName>karaf-client.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.felix.karaf.jaas</groupId> |
| <artifactId>org.apache.felix.karaf.jaas.boot</artifactId> |
| <outputDirectory>target/dependencies/lib</outputDirectory> |
| <destFileName>karaf-jaas-boot.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.felix.karaf</groupId> |
| <artifactId>manual</artifactId> |
| <type>pdf</type> |
| <outputDirectory>target/dependencies</outputDirectory> |
| <destFileName>karaf-manual-${project.version}.pdf</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.felix.karaf</groupId> |
| <artifactId>manual</artifactId> |
| <type>html</type> |
| <outputDirectory>target/dependencies</outputDirectory> |
| <destFileName>karaf-manual-${project.version}.html</destFileName> |
| </artifactItem> |
| </artifactItems> |
| </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> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>none</phase> |
| </execution> |
| <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> |
| </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>${project.artifactId}-${project.version}</finalName> |
| <appendAssemblyId>true</appendAssemblyId> |
| <assemblyId /> |
| </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> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>assembly-src</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> |
| </execution> |
| <execution> |
| <id>windows-src</id> |
| <phase>package</phase> |
| <goals> |
| <goal>attached</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/descriptors/windows-src.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |