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> |
Richard S. Hall | d6db1d0 | 2010-05-27 18:44:37 +0000 | [diff] [blame] | 23 | <version>1.2.1</version> |
Karl Pauls | c6eda45 | 2010-02-14 22:52:56 +0000 | [diff] [blame] | 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 | 71b5789 | 2011-02-27 22:31:36 +0000 | [diff] [blame] | 30 | <version>3.1.0-SNAPSHOT</version> |
Karl Pauls | c6eda45 | 2010-02-14 22:52:56 +0000 | [diff] [blame] | 31 | <properties> |
Richard S. Hall | 487fef2 | 2010-12-22 19:06:38 +0000 | [diff] [blame] | 32 | <dollar>$</dollar> |
Richard S. Hall | cd14702 | 2011-03-23 16:26:02 +0000 | [diff] [blame] | 33 | <framework.version>3.1.0-SNAPSHOT</framework.version> |
Karl Pauls | 04359c8 | 2011-02-27 22:26:03 +0000 | [diff] [blame] | 34 | <gogo.runtime.version>0.8.0</gogo.runtime.version> |
| 35 | <gogo.shell.version>0.8.0</gogo.shell.version> |
| 36 | <gogo.command.version>0.8.0</gogo.command.version> |
Richard S. Hall | d6db1d0 | 2010-05-27 18:44:37 +0000 | [diff] [blame] | 37 | <obr.version>1.6.2</obr.version> |
Karl Pauls | c6eda45 | 2010-02-14 22:52:56 +0000 | [diff] [blame] | 38 | </properties> |
| 39 | <build> |
| 40 | <plugins> |
| 41 | <plugin> |
| 42 | <groupId>org.apache.maven.plugins</groupId> |
| 43 | <artifactId>maven-dependency-plugin</artifactId> |
| 44 | <executions> |
| 45 | <execution> |
| 46 | <id>copy</id> |
| 47 | <phase>generate-resources</phase> |
| 48 | <goals> |
| 49 | <goal>copy</goal> |
| 50 | </goals> |
| 51 | <configuration> |
Richard S. Hall | d6db1d0 | 2010-05-27 18:44:37 +0000 | [diff] [blame] | 52 | <artifactItems> |
| 53 | <artifactItem> |
| 54 | <groupId>${pom.groupId}</groupId> |
| 55 | <artifactId>org.apache.felix.gogo.runtime</artifactId> |
| 56 | <version>${gogo.runtime.version}</version> |
| 57 | <type>jar</type> |
| 58 | <overWrite>true</overWrite> |
| 59 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| 60 | </artifactItem> |
| 61 | <artifactItem> |
| 62 | <groupId>${pom.groupId}</groupId> |
| 63 | <artifactId>org.apache.felix.gogo.shell</artifactId> |
| 64 | <version>${gogo.shell.version}</version> |
| 65 | <type>jar</type> |
| 66 | <overWrite>true</overWrite> |
| 67 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| 68 | </artifactItem> |
| 69 | <artifactItem> |
| 70 | <groupId>${pom.groupId}</groupId> |
| 71 | <artifactId>org.apache.felix.gogo.command</artifactId> |
| 72 | <version>${gogo.command.version}</version> |
| 73 | <type>jar</type> |
| 74 | <overWrite>true</overWrite> |
| 75 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| 76 | </artifactItem> |
| 77 | <artifactItem> |
| 78 | <groupId>${pom.groupId}</groupId> |
| 79 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 80 | <version>${obr.version}</version> |
| 81 | <type>jar</type> |
| 82 | <overWrite>true</overWrite> |
| 83 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| 84 | </artifactItem> |
| 85 | <artifactItem> |
| 86 | <groupId>${pom.groupId}</groupId> |
| 87 | <artifactId>org.apache.felix.main</artifactId> |
| 88 | <version>${framework.version}</version> |
| 89 | <type>jar</type> |
| 90 | <overWrite>true</overWrite> |
| 91 | <outputDirectory>${project.basedir}/bin</outputDirectory> |
| 92 | <destFileName>felix.jar</destFileName> |
| 93 | </artifactItem> |
| 94 | </artifactItems> |
Karl Pauls | c6eda45 | 2010-02-14 22:52:56 +0000 | [diff] [blame] | 95 | </configuration> |
| 96 | </execution> |
| 97 | </executions> |
| 98 | </plugin> |
| 99 | <plugin> |
| 100 | <artifactId>maven-assembly-plugin</artifactId> |
| 101 | <executions> |
| 102 | <execution> |
| 103 | <id>assemble</id> |
| 104 | <phase>package</phase> |
| 105 | <goals> |
| 106 | <goal>single</goal> |
| 107 | </goals> |
| 108 | <configuration> |
| 109 | <descriptors> |
| 110 | <descriptor>assembly.xml</descriptor> |
| 111 | </descriptors> |
| 112 | <appendAssemblyId>false</appendAssemblyId> |
| 113 | <finalName>felix-framework-${framework.version}</finalName> |
| 114 | </configuration> |
| 115 | </execution> |
| 116 | </executions> |
| 117 | </plugin> |
| 118 | </plugins> |
| 119 | <resources> |
| 120 | <resource> |
| 121 | <directory>src/main/resources</directory> |
| 122 | <filtering>true</filtering> |
| 123 | </resource> |
| 124 | </resources> |
| 125 | </build> |
Karl Pauls | c6eda45 | 2010-02-14 22:52:56 +0000 | [diff] [blame] | 126 | </project> |