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