Karl Pauls | 5c09375 | 2008-04-22 15:36:51 +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 | --> |
Carsten Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 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"> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 20 | <parent> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 21 | <groupId>org.apache.felix</groupId> |
Karl Pauls | 040e432 | 2009-05-10 22:09:56 +0000 | [diff] [blame] | 22 | <artifactId>felix-parent</artifactId> |
| 23 | <version>1.2.0</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 24 | <relativePath>../pom/pom.xml</relativePath> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 27 | <packaging>bundle</packaging> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 28 | <name>Apache Felix Main</name> |
| 29 | <artifactId>org.apache.felix.main</artifactId> |
Karl Pauls | ddbce62 | 2010-02-15 00:00:19 +0000 | [diff] [blame] | 30 | <version>2.1.0-SNAPSHOT</version> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>${pom.groupId}</groupId> |
| 34 | <artifactId>org.apache.felix.framework</artifactId> |
Karl Pauls | 911d47b | 2010-02-04 23:19:54 +0000 | [diff] [blame] | 35 | <version>${framework.version}</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 36 | <exclusions> |
| 37 | <exclusion> |
Karl Pauls | 1d7fb59 | 2009-09-30 21:05:27 +0000 | [diff] [blame] | 38 | <groupId>org.osgi</groupId> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 39 | <artifactId>org.osgi.core</artifactId> |
| 40 | </exclusion> |
Richard S. Hall | 4a591ba | 2008-01-27 18:42:15 +0000 | [diff] [blame] | 41 | <exclusion> |
Karl Pauls | 1d7fb59 | 2009-09-30 21:05:27 +0000 | [diff] [blame] | 42 | <groupId>org.osgi</groupId> |
Richard S. Hall | 487c44d | 2007-05-22 15:58:30 +0000 | [diff] [blame] | 43 | <artifactId>org.osgi.compendium</artifactId> |
Richard S. Hall | 4a591ba | 2008-01-27 18:42:15 +0000 | [diff] [blame] | 44 | </exclusion> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 45 | </exclusions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 46 | </dependency> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 47 | </dependencies> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 48 | <properties> |
Karl Pauls | 9f610e5 | 2009-11-01 19:48:10 +0000 | [diff] [blame] | 49 | <log.level>4</log.level> |
Richard S. Hall | 726b616 | 2008-10-09 15:54:32 +0000 | [diff] [blame] | 50 | <dollar>$</dollar> |
Karl Pauls | 3616b3a | 2010-02-15 00:22:51 +0000 | [diff] [blame] | 51 | <framework.version>2.1.0-SNAPSHOT</framework.version> |
Richard S. Hall | f65896e | 2010-05-05 15:21:54 +0000 | [diff] [blame] | 52 | <gogo.runtime.version>0.5.0-SNAPSHOT</gogo.runtime.version> |
| 53 | <gogo.console.version>0.5.0-SNAPSHOT</gogo.console.version> |
| 54 | <felix.commands.version>0.9.0-SNAPSHOT</felix.commands.version> |
Richard S. Hall | 921b76e | 2010-05-07 18:28:00 +0000 | [diff] [blame^] | 55 | <obr.version>1.6.2</obr.version> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 56 | </properties> |
Stuart McCulloch | f202a82 | 2008-10-22 11:55:02 +0000 | [diff] [blame] | 57 | <profiles> |
| 58 | <profile> |
| 59 | <id>release</id> |
| 60 | <properties> |
Karl Pauls | 46d1374 | 2009-11-01 19:35:18 +0000 | [diff] [blame] | 61 | <log.level>1</log.level> |
Karl Pauls | 48d887c | 2009-04-26 20:54:43 +0000 | [diff] [blame] | 62 | <dollar>$</dollar> |
Stuart McCulloch | f202a82 | 2008-10-22 11:55:02 +0000 | [diff] [blame] | 63 | </properties> |
| 64 | </profile> |
| 65 | </profiles> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 66 | <build> |
| 67 | <plugins> |
| 68 | <plugin> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 69 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 797bc98 | 2007-05-21 18:35:07 +0000 | [diff] [blame] | 70 | <artifactId>maven-bundle-plugin</artifactId> |
Karl Pauls | b5448cb | 2009-10-11 19:40:40 +0000 | [diff] [blame] | 71 | <version>1.4.3</version> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 72 | <extensions>true</extensions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 73 | <configuration> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 74 | <instructions> |
Richard S. Hall | 2730552 | 2007-03-28 15:28:25 +0000 | [diff] [blame] | 75 | <_donotcopy>(CVS|.svn|config.properties)</_donotcopy> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 76 | <Main-Class>org.apache.felix.main.Main</Main-Class> |
Richard S. Hall | f94a18f | 2008-09-23 16:25:54 +0000 | [diff] [blame] | 77 | <Bundle-SymbolicName>org.apache.felix.main</Bundle-SymbolicName> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 78 | <Bundle-Name>Apache Felix</Bundle-Name> |
| 79 | <Bundle-Description>OSGi R4 framework.</Bundle-Description> |
Carsten Ziegeler | cf6e51b | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 80 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Richard S. Hall | 42cf9c9 | 2008-10-16 20:22:58 +0000 | [diff] [blame] | 81 | <Embed-Dependency>*;artifactId=org.apache.felix.framework;inline=true</Embed-Dependency> |
| 82 | <Private-Package>org.apache.felix.main.*</Private-Package> |
Karl Pauls | 32154c7 | 2009-10-02 15:52:43 +0000 | [diff] [blame] | 83 | <Export-Package>!org.osgi.service.log, !org.osgi.service.obr,org.osgi.*</Export-Package> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 84 | <Import-Package>!*</Import-Package> |
Karl Pauls | 210c767 | 2008-04-22 13:11:38 +0000 | [diff] [blame] | 85 | <Include-Resource>META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,{src/main/resources/}</Include-Resource> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 86 | </instructions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 87 | </configuration> |
| 88 | </plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 89 | <plugin> |
Karl Pauls | 03c0014 | 2009-03-31 21:10:19 +0000 | [diff] [blame] | 90 | <groupId>org.codehaus.mojo</groupId> |
| 91 | <artifactId>rat-maven-plugin</artifactId> |
| 92 | <configuration> |
| 93 | <excludeSubProjects>false</excludeSubProjects> |
| 94 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 95 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 96 | <excludes> |
| 97 | <param>doc/*</param> |
| 98 | <param>maven-eclipse.xml</param> |
| 99 | <param>.checkstyle</param> |
| 100 | <param>.externalToolBuilders/*</param> |
| 101 | </excludes> |
| 102 | </configuration> |
| 103 | </plugin> |
| 104 | <plugin> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 105 | <groupId>org.apache.maven.plugins</groupId> |
| 106 | <artifactId>maven-dependency-plugin</artifactId> |
| 107 | <executions> |
| 108 | <execution> |
Richard S. Hall | 2571b47 | 2009-07-23 17:04:08 +0000 | [diff] [blame] | 109 | <id>unpack</id> |
| 110 | <phase>validate</phase> |
| 111 | <goals> |
| 112 | <goal>unpack</goal> |
| 113 | </goals> |
| 114 | <configuration> |
| 115 | <outputDirectory>${project.build.outputDirectory}</outputDirectory> |
| 116 | <artifactItems> |
| 117 | <artifactItem> |
| 118 | <groupId>${pom.groupId}</groupId> |
| 119 | <artifactId>org.apache.felix.framework</artifactId> |
Karl Pauls | 911d47b | 2010-02-04 23:19:54 +0000 | [diff] [blame] | 120 | <version>${framework.version}</version> |
Richard S. Hall | 2571b47 | 2009-07-23 17:04:08 +0000 | [diff] [blame] | 121 | </artifactItem> |
| 122 | </artifactItems> |
| 123 | </configuration> |
| 124 | </execution> |
| 125 | <execution> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 126 | <id>copy</id> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 127 | <phase>package</phase> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 128 | <goals> |
| 129 | <goal>copy</goal> |
| 130 | </goals> |
| 131 | <configuration> |
| 132 | <artifactItems> |
| 133 | <artifactItem> |
Richard S. Hall | f65896e | 2010-05-05 15:21:54 +0000 | [diff] [blame] | 134 | <groupId>${pom.groupId}.gogo</groupId> |
| 135 | <artifactId>org.apache.felix.gogo.runtime</artifactId> |
| 136 | <version>${gogo.runtime.version}</version> |
| 137 | <type>jar</type> |
| 138 | <overWrite>true</overWrite> |
| 139 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| 140 | </artifactItem> |
| 141 | <artifactItem> |
| 142 | <groupId>${pom.groupId}.gogo</groupId> |
| 143 | <artifactId>org.apache.felix.gogo.console</artifactId> |
| 144 | <version>${gogo.console.version}</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 145 | <type>jar</type> |
| 146 | <overWrite>true</overWrite> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 147 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 148 | </artifactItem> |
| 149 | <artifactItem> |
Richard S. Hall | a0c3004 | 2010-05-06 15:52:19 +0000 | [diff] [blame] | 150 | <groupId>${pom.groupId}.gogo</groupId> |
Richard S. Hall | f65896e | 2010-05-05 15:21:54 +0000 | [diff] [blame] | 151 | <artifactId>org.apache.felix.gogo.felixcommands</artifactId> |
| 152 | <version>${felix.commands.version}</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 153 | <type>jar</type> |
| 154 | <overWrite>true</overWrite> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 155 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 156 | </artifactItem> |
| 157 | <artifactItem> |
| 158 | <groupId>${pom.groupId}</groupId> |
| 159 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 160 | <version>${obr.version}</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 161 | <type>jar</type> |
| 162 | <overWrite>true</overWrite> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 163 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 164 | </artifactItem> |
| 165 | </artifactItems> |
| 166 | </configuration> |
| 167 | </execution> |
| 168 | </executions> |
| 169 | </plugin> |
| 170 | <plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 171 | <artifactId>maven-antrun-plugin</artifactId> |
| 172 | <executions> |
| 173 | <execution> |
Karl Pauls | 72502b9 | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 174 | <phase>package</phase> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 175 | <configuration> |
| 176 | <tasks> |
Karl Pauls | 2b8bd37 | 2008-04-22 13:13:49 +0000 | [diff] [blame] | 177 | <delete dir="${basedir}/bin" /> |
| 178 | <mkdir dir="${basedir}/bin" /> |
| 179 | <delete dir="${basedir}/conf" /> |
| 180 | <mkdir dir="${basedir}/conf" /> |
Karl Pauls | 2b8bd37 | 2008-04-22 13:13:49 +0000 | [diff] [blame] | 181 | <copy file="${basedir}/target/org.apache.felix.main-${pom.version}.jar" tofile="${basedir}/bin/felix.jar" /> |
| 182 | <copy file="${basedir}/target/classes/config.properties" todir="${basedir}/conf" /> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 183 | </tasks> |
| 184 | </configuration> |
| 185 | <goals> |
| 186 | <goal>run</goal> |
| 187 | </goals> |
| 188 | </execution> |
| 189 | </executions> |
| 190 | </plugin> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 191 | </plugins> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 192 | <resources> |
| 193 | <resource> |
| 194 | <directory>src/main/resources</directory> |
| 195 | <filtering>true</filtering> |
| 196 | </resource> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 197 | </resources> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 198 | </build> |
Karl Pauls | 250a714 | 2008-04-22 13:27:15 +0000 | [diff] [blame] | 199 | </project> |