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> |
Karl Pauls | 4d95e90 | 2009-05-10 22:09:56 +0000 | [diff] [blame] | 22 | <artifactId>felix-parent</artifactId> |
Richard S. Hall | 53b6671 | 2010-05-27 18:45:08 +0000 | [diff] [blame] | 23 | <version>1.2.1</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 | 753247e | 2011-05-11 19:11:23 +0000 | [diff] [blame^] | 30 | <version>3.3.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 | 53fb312 | 2010-02-04 23:19:54 +0000 | [diff] [blame] | 35 | <version>${framework.version}</version> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 36 | </dependency> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 37 | </dependencies> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 38 | <properties> |
Karl Pauls | e3e4ac6 | 2010-08-18 20:38:51 +0000 | [diff] [blame] | 39 | <log.level>4</log.level> |
Richard S. Hall | f3ce002 | 2008-10-09 15:54:32 +0000 | [diff] [blame] | 40 | <dollar>$</dollar> |
Karl Pauls | c94e9cf | 2011-05-11 19:09:06 +0000 | [diff] [blame] | 41 | <framework.version>3.2.2</framework.version> |
Karl Pauls | 645a804 | 2011-03-28 19:51:21 +0000 | [diff] [blame] | 42 | <gogo.runtime.version>0.8.0</gogo.runtime.version> |
| 43 | <gogo.shell.version>0.8.0</gogo.shell.version> |
| 44 | <gogo.command.version>0.8.0</gogo.command.version> |
Richard S. Hall | cb3466a | 2010-05-07 18:28:00 +0000 | [diff] [blame] | 45 | <obr.version>1.6.2</obr.version> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 46 | </properties> |
Stuart McCulloch | c0a68ae | 2008-10-22 11:55:02 +0000 | [diff] [blame] | 47 | <profiles> |
| 48 | <profile> |
| 49 | <id>release</id> |
| 50 | <properties> |
Karl Pauls | af293a3 | 2009-11-01 19:35:18 +0000 | [diff] [blame] | 51 | <log.level>1</log.level> |
Karl Pauls | 40cda5f | 2009-04-26 20:54:43 +0000 | [diff] [blame] | 52 | <dollar>$</dollar> |
Stuart McCulloch | c0a68ae | 2008-10-22 11:55:02 +0000 | [diff] [blame] | 53 | </properties> |
| 54 | </profile> |
| 55 | </profiles> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 56 | <build> |
| 57 | <plugins> |
| 58 | <plugin> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 59 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 797bc98 | 2007-05-21 18:35:07 +0000 | [diff] [blame] | 60 | <artifactId>maven-bundle-plugin</artifactId> |
Karl Pauls | 993c1dd | 2009-10-11 19:40:40 +0000 | [diff] [blame] | 61 | <version>1.4.3</version> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 62 | <extensions>true</extensions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 63 | <configuration> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 64 | <instructions> |
Richard S. Hall | 2730552 | 2007-03-28 15:28:25 +0000 | [diff] [blame] | 65 | <_donotcopy>(CVS|.svn|config.properties)</_donotcopy> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 66 | <Main-Class>org.apache.felix.main.Main</Main-Class> |
Richard S. Hall | 41d5d33 | 2008-09-23 16:25:54 +0000 | [diff] [blame] | 67 | <Bundle-SymbolicName>org.apache.felix.main</Bundle-SymbolicName> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 68 | <Bundle-Name>Apache Felix</Bundle-Name> |
| 69 | <Bundle-Description>OSGi R4 framework.</Bundle-Description> |
Carsten Ziegeler | 90f0b9f | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 70 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Richard S. Hall | 8155b23 | 2008-10-16 20:22:58 +0000 | [diff] [blame] | 71 | <Embed-Dependency>*;artifactId=org.apache.felix.framework;inline=true</Embed-Dependency> |
| 72 | <Private-Package>org.apache.felix.main.*</Private-Package> |
Karl Pauls | 74869f2 | 2009-10-02 15:52:43 +0000 | [diff] [blame] | 73 | <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] | 74 | <Import-Package>!*</Import-Package> |
Richard S. Hall | fdbc230 | 2010-05-28 18:17:59 +0000 | [diff] [blame] | 75 | <Include-Resource>META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES,{src/main/resources/}</Include-Resource> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 76 | </instructions> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 77 | </configuration> |
| 78 | </plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 79 | <plugin> |
Karl Pauls | a559c11 | 2009-03-31 21:10:19 +0000 | [diff] [blame] | 80 | <groupId>org.codehaus.mojo</groupId> |
| 81 | <artifactId>rat-maven-plugin</artifactId> |
| 82 | <configuration> |
| 83 | <excludeSubProjects>false</excludeSubProjects> |
| 84 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 85 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 86 | <excludes> |
| 87 | <param>doc/*</param> |
| 88 | <param>maven-eclipse.xml</param> |
| 89 | <param>.checkstyle</param> |
| 90 | <param>.externalToolBuilders/*</param> |
| 91 | </excludes> |
| 92 | </configuration> |
| 93 | </plugin> |
| 94 | <plugin> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 95 | <groupId>org.apache.maven.plugins</groupId> |
| 96 | <artifactId>maven-dependency-plugin</artifactId> |
| 97 | <executions> |
| 98 | <execution> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 99 | <id>copy</id> |
Karl Pauls | f4ca94b | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 100 | <phase>package</phase> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 101 | <goals> |
| 102 | <goal>copy</goal> |
| 103 | </goals> |
| 104 | <configuration> |
| 105 | <artifactItems> |
| 106 | <artifactItem> |
Richard S. Hall | c8e3510 | 2010-05-24 19:35:19 +0000 | [diff] [blame] | 107 | <groupId>${pom.groupId}</groupId> |
Richard S. Hall | 22b907c | 2010-05-05 15:21:54 +0000 | [diff] [blame] | 108 | <artifactId>org.apache.felix.gogo.runtime</artifactId> |
| 109 | <version>${gogo.runtime.version}</version> |
| 110 | <type>jar</type> |
| 111 | <overWrite>true</overWrite> |
| 112 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
| 113 | </artifactItem> |
| 114 | <artifactItem> |
Richard S. Hall | c8e3510 | 2010-05-24 19:35:19 +0000 | [diff] [blame] | 115 | <groupId>${pom.groupId}</groupId> |
| 116 | <artifactId>org.apache.felix.gogo.shell</artifactId> |
| 117 | <version>${gogo.shell.version}</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 118 | <type>jar</type> |
| 119 | <overWrite>true</overWrite> |
Karl Pauls | f4ca94b | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 120 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 121 | </artifactItem> |
| 122 | <artifactItem> |
Richard S. Hall | c8e3510 | 2010-05-24 19:35:19 +0000 | [diff] [blame] | 123 | <groupId>${pom.groupId}</groupId> |
| 124 | <artifactId>org.apache.felix.gogo.command</artifactId> |
| 125 | <version>${gogo.command.version}</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 126 | <type>jar</type> |
| 127 | <overWrite>true</overWrite> |
Karl Pauls | f4ca94b | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 128 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 129 | </artifactItem> |
| 130 | <artifactItem> |
| 131 | <groupId>${pom.groupId}</groupId> |
| 132 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
Karl Pauls | f4ca94b | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 133 | <version>${obr.version}</version> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 134 | <type>jar</type> |
| 135 | <overWrite>true</overWrite> |
Karl Pauls | f4ca94b | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 136 | <outputDirectory>${project.basedir}/bundle</outputDirectory> |
Karl Pauls | aa573ad | 2007-07-19 19:09:54 +0000 | [diff] [blame] | 137 | </artifactItem> |
| 138 | </artifactItems> |
| 139 | </configuration> |
| 140 | </execution> |
| 141 | </executions> |
| 142 | </plugin> |
| 143 | <plugin> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 144 | <artifactId>maven-antrun-plugin</artifactId> |
| 145 | <executions> |
| 146 | <execution> |
Karl Pauls | f4ca94b | 2010-02-04 21:25:09 +0000 | [diff] [blame] | 147 | <phase>package</phase> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 148 | <configuration> |
| 149 | <tasks> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame] | 150 | <delete dir="${basedir}/bin" /> |
| 151 | <mkdir dir="${basedir}/bin" /> |
| 152 | <delete dir="${basedir}/conf" /> |
| 153 | <mkdir dir="${basedir}/conf" /> |
Karl Pauls | 35e237d | 2008-04-22 13:13:49 +0000 | [diff] [blame] | 154 | <copy file="${basedir}/target/org.apache.felix.main-${pom.version}.jar" tofile="${basedir}/bin/felix.jar" /> |
| 155 | <copy file="${basedir}/target/classes/config.properties" todir="${basedir}/conf" /> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 156 | </tasks> |
| 157 | </configuration> |
| 158 | <goals> |
| 159 | <goal>run</goal> |
| 160 | </goals> |
| 161 | </execution> |
| 162 | </executions> |
| 163 | </plugin> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 164 | </plugins> |
Alex Karasulu | c15532e | 2006-03-06 19:42:54 +0000 | [diff] [blame] | 165 | <resources> |
| 166 | <resource> |
| 167 | <directory>src/main/resources</directory> |
| 168 | <filtering>true</filtering> |
| 169 | </resource> |
Karl Pauls | 02f8d56 | 2011-05-11 18:49:41 +0000 | [diff] [blame] | 170 | <resource> |
| 171 | <directory>.</directory> |
| 172 | <targetPath>META-INF</targetPath> |
| 173 | <includes> |
| 174 | <include>LICENSE*</include> |
| 175 | <include>NOTICE*</include> |
| 176 | <include>DEPENDENCIES*</include> |
| 177 | </includes> |
| 178 | </resource> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 179 | </resources> |
Alex Karasulu | 07d2049 | 2006-03-06 15:35:44 +0000 | [diff] [blame] | 180 | </build> |
Karl Pauls | 5066dab | 2008-04-22 13:27:15 +0000 | [diff] [blame] | 181 | </project> |