blob: b49ad62529702c52e507aba248818ac6f58c2ac5 [file] [log] [blame]
Karl Pauls4ebe5082006-10-30 15:00:08 +00001<!--
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 Ziegeler4fec0962008-01-11 16:13:31 +000019<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">
Richard S. Halla2dc4512006-04-04 13:17:11 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
Karl Pauls35d7e772009-09-06 21:53:35 +000022 <artifactId>felix-parent</artifactId>
Stuart McCulloch1714d162011-07-05 11:04:12 +000023 <version>2.1</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000024 <relativePath>../pom/pom.xml</relativePath>
Richard S. Halla2dc4512006-04-04 13:17:11 +000025 </parent>
26 <modelVersion>4.0.0</modelVersion>
Richard S. Hall1da4e542006-11-02 21:45:44 +000027 <packaging>bundle</packaging>
28 <name>Apache Felix Bundle Repository</name>
29 <description>Bundle repository service.</description>
Richard S. Halla2dc4512006-04-04 13:17:11 +000030 <artifactId>org.apache.felix.bundlerepository</artifactId>
A. J. David Bosschaertb8f7a872014-06-19 11:28:58 +000031 <version>2.0.1-SNAPSHOT</version>
Stuart McCulloch09786642011-07-01 18:38:20 +000032 <scm>
A. J. David Bosschaertb8f7a872014-06-19 11:28:58 +000033 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/bundlerepository</connection>
34 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/bundlerepository</developerConnection>
35 <url>http://svn.apache.org/repos/asf/felix/trunk/bundlerepository</url>
Stuart McCulloch09786642011-07-01 18:38:20 +000036 </scm>
Richard S. Halla2dc4512006-04-04 13:17:11 +000037 <dependencies>
38 <dependency>
Stuart McCullochd96de342011-06-29 22:31:28 +000039 <groupId>${project.groupId}</groupId>
Guillaume Nodet8d5faf62010-03-19 15:32:17 +000040 <artifactId>org.apache.felix.utils</artifactId>
A. J. David Bosschaertdb577342014-06-19 11:02:04 +000041 <version>1.6.0</version>
Guillaume Nodet8d5faf62010-03-19 15:32:17 +000042 <optional>true</optional>
43 </dependency>
44 <dependency>
Stuart McCullochd96de342011-06-29 22:31:28 +000045 <groupId>${project.groupId}</groupId>
Stuart McCulloch285fcc22007-09-24 19:54:42 +000046 <artifactId>org.osgi.service.obr</artifactId>
Guillaume Nodetc63f7ff2010-03-01 19:57:54 +000047 <version>1.0.2</version>
Guillaume Nodet686cb9b2010-02-22 20:07:08 +000048 <optional>true</optional>
A. J. David Bosschaert46279b82014-02-03 11:30:49 +000049 <exclusions>
50 <exclusion>
51 <groupId>org.apache.felix</groupId>
52 <artifactId>org.osgi.core</artifactId>
53 </exclusion>
54 </exclusions>
Richard S. Halla2dc4512006-04-04 13:17:11 +000055 </dependency>
56 <dependency>
Stuart McCullochd96de342011-06-29 22:31:28 +000057 <groupId>${project.groupId}</groupId>
Richard S. Halla2dc4512006-04-04 13:17:11 +000058 <artifactId>org.apache.felix.shell</artifactId>
Richard S. Hall25ea8bf2009-12-09 21:41:29 +000059 <version>1.4.1</version>
Guillaume Nodet686cb9b2010-02-22 20:07:08 +000060 <optional>true</optional>
Richard S. Halla2dc4512006-04-04 13:17:11 +000061 </dependency>
62 <dependency>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +000063 <groupId>net.sf.kxml</groupId>
Richard S. Halla2dc4512006-04-04 13:17:11 +000064 <artifactId>kxml2</artifactId>
Guillaume Nodet8d5faf62010-03-19 15:32:17 +000065 <version>2.3.0</version>
Guillaume Nodet686cb9b2010-02-22 20:07:08 +000066 <optional>true</optional>
Guillaume Nodet5e1b3a62010-03-18 08:30:03 +000067 <exclusions>
68 <exclusion>
69 <groupId>xmlpull</groupId>
70 <artifactId>xmlpull</artifactId>
71 </exclusion>
72 </exclusions>
Richard S. Halla2dc4512006-04-04 13:17:11 +000073 </dependency>
Richard S. Hall552d60b2008-07-31 20:19:21 +000074 <dependency>
Karl Pauls1d7fb592009-09-30 21:05:27 +000075 <groupId>org.osgi</groupId>
Richard S. Hall552d60b2008-07-31 20:19:21 +000076 <artifactId>org.osgi.compendium</artifactId>
A. J. David Bosschaert46279b82014-02-03 11:30:49 +000077 <version>5.0.0</version>
Richard S. Hall552d60b2008-07-31 20:19:21 +000078 <optional>true</optional>
79 </dependency>
Karl Pauls1d7fb592009-09-30 21:05:27 +000080 <dependency>
81 <groupId>org.osgi</groupId>
82 <artifactId>org.osgi.core</artifactId>
A. J. David Bosschaert46279b82014-02-03 11:30:49 +000083 <version>5.0.0</version>
Karl Pauls1d7fb592009-09-30 21:05:27 +000084 </dependency>
Guillaume Nodet389b81a2010-02-19 14:22:52 +000085 <dependency>
86 <groupId>org.codehaus.woodstox</groupId>
87 <artifactId>woodstox-core-asl</artifactId>
88 <version>4.0.7</version>
Guillaume Nodet686cb9b2010-02-22 20:07:08 +000089 <optional>true</optional>
Guillaume Nodet389b81a2010-02-19 14:22:52 +000090 </dependency>
Guillaume Nodet66b87bd2010-02-23 11:34:29 +000091 <dependency>
92 <groupId>org.easymock</groupId>
93 <artifactId>easymock</artifactId>
94 <version>2.4</version>
95 </dependency>
Richard S. Halla2dc4512006-04-04 13:17:11 +000096 </dependencies>
97 <build>
98 <plugins>
99 <plugin>
A. J. David Bosschaert46279b82014-02-03 11:30:49 +0000100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-compiler-plugin</artifactId>
102 <configuration>
103 <target>1.5</target>
104 <source>1.5</source>
105 </configuration>
106 </plugin>
107
108 <plugin>
Richard S. Hall1da4e542006-11-02 21:45:44 +0000109 <groupId>org.apache.felix</groupId>
Richard S. Hall797bc982007-05-21 18:35:07 +0000110 <artifactId>maven-bundle-plugin</artifactId>
A. J. David Bosschaertef286172014-05-05 08:14:57 +0000111 <version>2.4.0</version>
Richard S. Halla2dc4512006-04-04 13:17:11 +0000112 <extensions>true</extensions>
113 <configuration>
A. J. David Bosschaertef286172014-05-05 08:14:57 +0000114 <unpackBundle>true</unpackBundle>
Richard S. Hall1da4e542006-11-02 21:45:44 +0000115 <instructions>
A. J. David Bosschaert46279b82014-02-03 11:30:49 +0000116 <Export-Package>
117 org.osgi.service.repository,
118 org.apache.felix.bundlerepository;version="2.1"
119 </Export-Package>
Guillaume Nodet5e1b3a62010-03-18 08:30:03 +0000120 <Private-Package>
121 org.kxml2.io,
122 org.xmlpull.v1,
Guillaume Nodet8d5faf62010-03-19 15:32:17 +0000123 org.apache.felix.bundlerepository.impl.*,
124 org.apache.felix.utils.*
Guillaume Nodet5e1b3a62010-03-18 08:30:03 +0000125 </Private-Package>
A. J. David Bosschaert020e2b62014-05-05 08:34:57 +0000126 <!-- The org.osgi.service.repository;resolution:=mandatory seems strange below, but otherwise the maven-bundle-plugin
127 will make that import optional, which we don't want... -->
128 <Import-Package>
129 !javax.xml.parsers,
130 !org.xml.sax,
131 org.osgi.service.repository;resolution:=mandatory,
132 org.osgi.service.log;resolution:=optional,
133 org.osgi.service.obr;resolution:=optional,
134 javax.xml.stream;resolution:=optional,
135 *</Import-Package>
Richard S. Halld178c1c2006-11-30 14:33:25 +0000136 <DynamicImport-Package>org.apache.felix.shell</DynamicImport-Package>
Stuart McCullochd96de342011-06-29 22:31:28 +0000137 <Bundle-Activator>${project.artifactId}.impl.Activator</Bundle-Activator>
Felix Meschberger0f37e7c2008-09-29 07:17:07 +0000138 <Bundle-DocURL>http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html</Bundle-DocURL>
Felix Meschberger7d3f0ed2008-08-28 15:55:16 +0000139 <Bundle-Url>http://felix.apache.org/site/downloads.cgi</Bundle-Url>
140 <Bundle-Source>http://felix.apache.org/site/downloads.cgi</Bundle-Source>
Stuart McCullochd96de342011-06-29 22:31:28 +0000141 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
Carsten Ziegelercf6e51b2008-04-17 06:33:59 +0000142 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
Guillaume Nodet6aa72242010-02-26 00:14:51 +0000143 <Export-Service>org.apache.felix.bundlerepository.RepositoryAdmin,org.osgi.service.obr.RepositoryAdmin</Export-Service>
144 <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
Guillaume Nodetaa1eb1f2011-03-18 13:13:28 +0000145 <Include-Resource>META-INF/LICENSE=LICENSE,META-INF/LICENSE.kxml2=LICENSE.kxml2,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource>
Richard S. Hall1da4e542006-11-02 21:45:44 +0000146 </instructions>
Richard S. Halla2dc4512006-04-04 13:17:11 +0000147 </configuration>
148 </plugin>
Karl Pauls7d134272009-03-31 21:04:00 +0000149 <plugin>
Stuart McCullochcb954e52011-06-29 22:38:10 +0000150 <groupId>org.apache.rat</groupId>
151 <artifactId>apache-rat-plugin</artifactId>
Karl Pauls7d134272009-03-31 21:04:00 +0000152 <configuration>
153 <excludeSubProjects>false</excludeSubProjects>
154 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
155 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
156 <excludes>
157 <param>doc/*</param>
158 <param>maven-eclipse.xml</param>
159 <param>.checkstyle</param>
160 <param>.externalToolBuilders/*</param>
161 </excludes>
162 </configuration>
163 </plugin>
Richard S. Halla2dc4512006-04-04 13:17:11 +0000164 </plugins>
165 </build>
Richard S. Halla2dc4512006-04-04 13:17:11 +0000166</project>