Karl Pauls | c6eda45 | 2010-02-14 22:52:56 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
| 19 | <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"> |
| 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix-parent</artifactId> |
| 23 | <version>1.2.0</version> |
| 24 | <relativePath>../pom/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <packaging>pom</packaging> |
| 28 | <name>Apache Felix Main Distribution</name> |
| 29 | <artifactId>org.apache.felix.main.distribution</artifactId> |
Karl Pauls | bd61ea2 | 2010-02-15 00:07:24 +0000 | [diff] [blame] | 30 | <version>2.1.0-SNAPSHOT</version> |
Karl Pauls | c6eda45 | 2010-02-14 22:52:56 +0000 | [diff] [blame] | 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>${pom.groupId}</groupId> |
Karl Pauls | 83b4988 | 2010-02-15 00:05:59 +0000 | [diff] [blame] | 34 | <artifactId>org.apache.felix.main</artifactId> |
Karl Pauls | c6eda45 | 2010-02-14 22:52:56 +0000 | [diff] [blame] | 35 | <version>${framework.version}</version> |
| 36 | </dependency> |
| 37 | <dependency> |
| 38 | <groupId>${pom.groupId}</groupId> |
| 39 | <artifactId>org.apache.felix.shell</artifactId> |
| 40 | <version>${shell.version}</version> |
| 41 | </dependency> |
| 42 | <dependency> |
| 43 | <groupId>${pom.groupId}</groupId> |
| 44 | <artifactId>org.apache.felix.shell.tui</artifactId> |
| 45 | <version>${shell.tui.version}</version> |
| 46 | </dependency> |
| 47 | <dependency> |
| 48 | <groupId>${pom.groupId}</groupId> |
| 49 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 50 | <version>${obr.version}</version> |
| 51 | </dependency> |
| 52 | </dependencies> |
| 53 | <properties> |
Karl Pauls | 3ddabd3 | 2010-02-15 00:23:25 +0000 | [diff] [blame] | 54 | <framework.version>2.1.0-SNAPSHOT</framework.version> |
Karl Pauls | c6eda45 | 2010-02-14 22:52:56 +0000 | [diff] [blame] | 55 | <shell.version>1.4.2</shell.version> |
| 56 | <shell.tui.version>1.4.1</shell.tui.version> |
| 57 | <obr.version>1.4.3</obr.version> |
| 58 | </properties> |
| 59 | <build> |
| 60 | <plugins> |
| 61 | <plugin> |
| 62 | <groupId>org.apache.maven.plugins</groupId> |
| 63 | <artifactId>maven-dependency-plugin</artifactId> |
| 64 | <executions> |
| 65 | <execution> |
| 66 | <id>copy</id> |
| 67 | <phase>generate-resources</phase> |
| 68 | <goals> |
| 69 | <goal>copy</goal> |
| 70 | </goals> |
| 71 | <configuration> |
| 72 | <artifactItems> |
| 73 | <artifactItem> |
| 74 | <groupId>${pom.groupId}</groupId> |
| 75 | <artifactId>org.apache.felix.shell</artifactId> |
| 76 | <version>${shell.version}</version> |
| 77 | <type>jar</type> |
| 78 | <overWrite>true</overWrite> |
| 79 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| 80 | </artifactItem> |
| 81 | <artifactItem> |
| 82 | <groupId>${pom.groupId}</groupId> |
| 83 | <artifactId>org.apache.felix.shell.tui</artifactId> |
| 84 | <version>${shell.tui.version}</version> |
| 85 | <type>jar</type> |
| 86 | <overWrite>true</overWrite> |
| 87 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| 88 | </artifactItem> |
| 89 | <artifactItem> |
| 90 | <groupId>${pom.groupId}</groupId> |
| 91 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 92 | <version>${obr.version}</version> |
| 93 | <type>jar</type> |
| 94 | <overWrite>true</overWrite> |
| 95 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| 96 | </artifactItem> |
| 97 | <artifactItem> |
| 98 | <groupId>${pom.groupId}</groupId> |
| 99 | <artifactId>org.apache.felix.main</artifactId> |
| 100 | <version>${framework.version}</version> |
| 101 | <type>jar</type> |
| 102 | <overWrite>true</overWrite> |
| 103 | <outputDirectory>${project.basedir}/bin</outputDirectory> |
| 104 | <destFileName>felix.jar</destFileName> |
| 105 | </artifactItem> |
| 106 | </artifactItems> |
| 107 | </configuration> |
| 108 | </execution> |
| 109 | </executions> |
| 110 | </plugin> |
| 111 | <plugin> |
| 112 | <artifactId>maven-assembly-plugin</artifactId> |
| 113 | <executions> |
| 114 | <execution> |
| 115 | <id>assemble</id> |
| 116 | <phase>package</phase> |
| 117 | <goals> |
| 118 | <goal>single</goal> |
| 119 | </goals> |
| 120 | <configuration> |
| 121 | <descriptors> |
| 122 | <descriptor>assembly.xml</descriptor> |
| 123 | </descriptors> |
| 124 | <appendAssemblyId>false</appendAssemblyId> |
| 125 | <finalName>felix-framework-${framework.version}</finalName> |
| 126 | </configuration> |
| 127 | </execution> |
| 128 | </executions> |
| 129 | </plugin> |
| 130 | </plugins> |
| 131 | <resources> |
| 132 | <resource> |
| 133 | <directory>src/main/resources</directory> |
| 134 | <filtering>true</filtering> |
| 135 | </resource> |
| 136 | </resources> |
| 137 | </build> |
Karl Pauls | c6eda45 | 2010-02-14 22:52:56 +0000 | [diff] [blame] | 138 | </project> |