Karl Pauls | dbc43eb | 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> |
| 22 | <artifactId>felix</artifactId> |
Karl Pauls | a559c11 | 2009-03-31 21:10:19 +0000 | [diff] [blame] | 23 | <version>1.0.4</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 | 53ace04 | 2009-03-31 22:33:29 +0000 | [diff] [blame^] | 30 | <version>1.5.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 | 53ace04 | 2009-03-31 22:33:29 +0000 | [diff] [blame^] | 35 | <version>1.6.0</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 36 | <exclusions> |
| 37 | <exclusion> |
| 38 | <groupId>${pom.groupId}</groupId> |
| 39 | <artifactId>org.osgi.core</artifactId> |
| 40 | </exclusion> |
Richard S. Hall | 4a591ba | 2008-01-27 18:42:15 +0000 | [diff] [blame] | 41 | <exclusion> |
Richard S. Hall | 487c44d | 2007-05-22 15:58:30 +0000 | [diff] [blame] | 42 | <groupId>${pom.groupId}</groupId> |
| 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> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 47 | <dependency> |
| 48 | <groupId>${pom.groupId}</groupId> |
| 49 | <artifactId>org.apache.felix.shell</artifactId> |
Karl Pauls | 53ace04 | 2009-03-31 22:33:29 +0000 | [diff] [blame^] | 50 | <version>1.2.0</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 51 | <exclusions> |
| 52 | <exclusion> |
| 53 | <groupId>${pom.groupId}</groupId> |
| 54 | <artifactId>org.osgi.core</artifactId> |
| 55 | </exclusion> |
| 56 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>${pom.groupId}</groupId> |
| 60 | <artifactId>org.apache.felix.shell.tui</artifactId> |
Karl Pauls | 53ace04 | 2009-03-31 22:33:29 +0000 | [diff] [blame^] | 61 | <version>1.2.0</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 62 | <exclusions> |
| 63 | <exclusion> |
| 64 | <groupId>${pom.groupId}</groupId> |
| 65 | <artifactId>org.osgi.core</artifactId> |
| 66 | </exclusion> |
| 67 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>${pom.groupId}</groupId> |
| 71 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
Karl Pauls | 53ace04 | 2009-03-31 22:33:29 +0000 | [diff] [blame^] | 72 | <version>1.4.0</version> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 73 | <exclusions> |
| 74 | <exclusion> |
| 75 | <groupId>${pom.groupId}</groupId> |
| 76 | <artifactId>org.osgi.core</artifactId> |
| 77 | </exclusion> |
Richard S. Hall | d4d36cc | 2007-06-26 10:04:00 +0000 | [diff] [blame] | 78 | <exclusion> |
Richard S. Hall | 4a591ba | 2008-01-27 18:42:15 +0000 | [diff] [blame] | 79 | <groupId>${pom.groupId}</groupId> |
| 80 | <artifactId>org.osgi.service.obr</artifactId> |
| 81 | </exclusion> |
| 82 | <exclusion> |
Richard S. Hall | d4d36cc | 2007-06-26 10:04:00 +0000 | [diff] [blame] | 83 | <groupId>net.sf.kxml</groupId> |
| 84 | <artifactId>kxml2</artifactId> |
| 85 | </exclusion> |
Richard S. Hall | c2c5804 | 2006-11-28 20:50:51 +0000 | [diff] [blame] | 86 | </exclusions> |
Karl Pauls | 4d82d2f | 2006-11-03 00:08:28 +0000 | [diff] [blame] | 87 | </dependency> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 88 | </dependencies> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 89 | <properties> |
Stuart McCulloch | 6bb5fd6 | 2008-11-07 14:20:52 +0000 | [diff] [blame] | 90 | <log.level>4</log.level> |
Richard S. Hall | f3ce002 | 2008-10-09 15:54:32 +0000 | [diff] [blame] | 91 | <dollar>$</dollar> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 92 | </properties> |
Stuart McCulloch | c0a68ae | 2008-10-22 11:55:02 +0000 | [diff] [blame] | 93 | <profiles> |
| 94 | <profile> |
| 95 | <id>release</id> |
| 96 | <properties> |
Stuart McCulloch | 6bb5fd6 | 2008-11-07 14:20:52 +0000 | [diff] [blame] | 97 | <log.level>1</log.level> |
Stuart McCulloch | c0a68ae | 2008-10-22 11:55:02 +0000 | [diff] [blame] | 98 | </properties> |
| 99 | </profile> |
| 100 | </profiles> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 101 | <build> |
| 102 | <plugins> |
| 103 | <plugin> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 104 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 797bc98 | 2007-05-21 18:35:07 +0000 | [diff] [blame] | 105 | <artifactId>maven-bundle-plugin</artifactId> |
Karl Pauls | 91b38a8 | 2008-08-31 22:15:50 +0000 | [diff] [blame] | 106 | <version>1.4.3</version> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 107 | <extensions>true</extensions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 108 | <configuration> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 109 | <instructions> |
Richard S. Hall | 2730552 | 2007-03-28 15:28:25 +0000 | [diff] [blame] | 110 | <_donotcopy>(CVS|.svn|config.properties)</_donotcopy> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 111 | <Main-Class>org.apache.felix.main.Main</Main-Class> |
Richard S. Hall | 41d5d33 | 2008-09-23 16:25:54 +0000 | [diff] [blame] | 112 | <Bundle-SymbolicName>org.apache.felix.main</Bundle-SymbolicName> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 113 | <Bundle-Name>Apache Felix</Bundle-Name> |
| 114 | <Bundle-Description>OSGi R4 framework.</Bundle-Description> |
Carsten Ziegeler | 90f0b9f | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 115 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Richard S. Hall | 8155b23 | 2008-10-16 20:22:58 +0000 | [diff] [blame] | 116 | <Embed-Dependency>*;artifactId=org.apache.felix.framework;inline=true</Embed-Dependency> |
| 117 | <Private-Package>org.apache.felix.main.*</Private-Package> |
Richard S. Hall | b8be78a | 2008-11-18 00:05:07 +0000 | [diff] [blame] | 118 | <Export-Package>!org.osgi.service.obr,org.osgi.*</Export-Package> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 119 | <Import-Package>!*</Import-Package> |
Karl Pauls | 5b146bc | 2008-04-22 13:11:38 +0000 | [diff] [blame] | 120 | <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] | 121 | </instructions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 122 | </configuration> |
| 123 | </plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 124 | <plugin> |
Karl Pauls | a559c11 | 2009-03-31 21:10:19 +0000 | [diff] [blame] | 125 | <groupId>org.codehaus.mojo</groupId> |
| 126 | <artifactId>rat-maven-plugin</artifactId> |
| 127 | <configuration> |
| 128 | <excludeSubProjects>false</excludeSubProjects> |
| 129 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 130 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 131 | <excludes> |
| 132 | <param>doc/*</param> |
| 133 | <param>maven-eclipse.xml</param> |
| 134 | <param>.checkstyle</param> |
| 135 | <param>.externalToolBuilders/*</param> |
| 136 | </excludes> |
| 137 | </configuration> |
| 138 | </plugin> |
| 139 | <plugin> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 140 | <groupId>org.apache.maven.plugins</groupId> |
| 141 | <artifactId>maven-dependency-plugin</artifactId> |
| 142 | <executions> |
| 143 | <execution> |
Karl Pauls | 39f9e54 | 2007-09-12 18:18:40 +0000 | [diff] [blame] | 144 | <id>unpack</id> |
| 145 | <phase>validate</phase> |
| 146 | <goals> |
| 147 | <goal>unpack</goal> |
| 148 | </goals> |
| 149 | <configuration> |
| 150 | <outputDirectory>${project.build.outputDirectory}</outputDirectory> |
| 151 | <artifactItems> |
| 152 | <artifactItem> |
| 153 | <groupId>${pom.groupId}</groupId> |
| 154 | <artifactId>org.apache.felix.framework</artifactId> |
Karl Pauls | 53ace04 | 2009-03-31 22:33:29 +0000 | [diff] [blame^] | 155 | <version>1.6.0</version> |
Karl Pauls | 39f9e54 | 2007-09-12 18:18:40 +0000 | [diff] [blame] | 156 | </artifactItem> |
| 157 | </artifactItems> |
| 158 | </configuration> |
| 159 | </execution> |
| 160 | <execution> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 161 | <id>copy</id> |
| 162 | <phase>install</phase> |
| 163 | <goals> |
| 164 | <goal>copy</goal> |
| 165 | </goals> |
| 166 | <configuration> |
| 167 | <artifactItems> |
| 168 | <artifactItem> |
| 169 | <groupId>${pom.groupId}</groupId> |
| 170 | <artifactId>org.apache.felix.shell</artifactId> |
Karl Pauls | 53ace04 | 2009-03-31 22:33:29 +0000 | [diff] [blame^] | 171 | <version>1.2.0</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 172 | <type>jar</type> |
| 173 | <overWrite>true</overWrite> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame] | 174 | <outputDirectory>${project.build.directory}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 175 | </artifactItem> |
| 176 | <artifactItem> |
| 177 | <groupId>${pom.groupId}</groupId> |
| 178 | <artifactId>org.apache.felix.shell.tui</artifactId> |
Karl Pauls | 53ace04 | 2009-03-31 22:33:29 +0000 | [diff] [blame^] | 179 | <version>1.2.0</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 180 | <type>jar</type> |
| 181 | <overWrite>true</overWrite> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame] | 182 | <outputDirectory>${project.build.directory}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 183 | </artifactItem> |
| 184 | <artifactItem> |
| 185 | <groupId>${pom.groupId}</groupId> |
| 186 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
Karl Pauls | 53ace04 | 2009-03-31 22:33:29 +0000 | [diff] [blame^] | 187 | <version>1.4.0</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 188 | <type>jar</type> |
| 189 | <overWrite>true</overWrite> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame] | 190 | <outputDirectory>${project.build.directory}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 191 | </artifactItem> |
| 192 | </artifactItems> |
| 193 | </configuration> |
| 194 | </execution> |
| 195 | </executions> |
| 196 | </plugin> |
| 197 | <plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 198 | <artifactId>maven-antrun-plugin</artifactId> |
| 199 | <executions> |
| 200 | <execution> |
| 201 | <phase>install</phase> |
| 202 | <configuration> |
| 203 | <tasks> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame] | 204 | <delete dir="${basedir}/bin" /> |
| 205 | <mkdir dir="${basedir}/bin" /> |
| 206 | <delete dir="${basedir}/conf" /> |
| 207 | <mkdir dir="${basedir}/conf" /> |
| 208 | <delete dir="${basedir}/bundle" /> |
| 209 | <copy file="${basedir}/target/org.apache.felix.main-${pom.version}.jar" tofile="${basedir}/bin/felix.jar" /> |
| 210 | <copy file="${basedir}/target/classes/config.properties" todir="${basedir}/conf" /> |
| 211 | <move file="${basedir}/target/bundle" todir="${basedir}" /> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 212 | </tasks> |
| 213 | </configuration> |
| 214 | <goals> |
| 215 | <goal>run</goal> |
| 216 | </goals> |
| 217 | </execution> |
| 218 | </executions> |
| 219 | </plugin> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 220 | </plugins> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 221 | <resources> |
| 222 | <resource> |
| 223 | <directory>src/main/resources</directory> |
| 224 | <filtering>true</filtering> |
| 225 | </resource> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 226 | </resources> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 227 | </build> |
Karl Pauls | 5066dab | 2008-04-22 13:27:15 +0000 | [diff] [blame] | 228 | </project> |