Karl Pauls | 4ebe508 | 2006-10-30 15:00:08 +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"> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
Karl Pauls | 35d7e77 | 2009-09-06 21:53:35 +0000 | [diff] [blame] | 22 | <artifactId>felix-parent</artifactId> |
Stuart McCulloch | 1714d16 | 2011-07-05 11:04:12 +0000 | [diff] [blame] | 23 | <version>2.1</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 24 | <relativePath>../pom/pom.xml</relativePath> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +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> |
| 28 | <name>Apache Felix Bundle Repository</name> |
| 29 | <description>Bundle repository service.</description> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 30 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
A. J. David Bosschaert | d42e6ed | 2015-09-22 10:18:56 +0000 | [diff] [blame] | 31 | <version>2.0.7-SNAPSHOT</version> |
Stuart McCulloch | 0978664 | 2011-07-01 18:38:20 +0000 | [diff] [blame] | 32 | <scm> |
A. J. David Bosschaert | d42e6ed | 2015-09-22 10:18:56 +0000 | [diff] [blame] | 33 | <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 McCulloch | 0978664 | 2011-07-01 18:38:20 +0000 | [diff] [blame] | 36 | </scm> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 37 | <dependencies> |
| 38 | <dependency> |
Stuart McCulloch | d96de34 | 2011-06-29 22:31:28 +0000 | [diff] [blame] | 39 | <groupId>${project.groupId}</groupId> |
Guillaume Nodet | 8d5faf6 | 2010-03-19 15:32:17 +0000 | [diff] [blame] | 40 | <artifactId>org.apache.felix.utils</artifactId> |
Guillaume Nodet | 9dc519d | 2015-03-05 08:24:27 +0000 | [diff] [blame] | 41 | <version>1.8.0</version> |
Guillaume Nodet | 8d5faf6 | 2010-03-19 15:32:17 +0000 | [diff] [blame] | 42 | <optional>true</optional> |
| 43 | </dependency> |
| 44 | <dependency> |
Stuart McCulloch | d96de34 | 2011-06-29 22:31:28 +0000 | [diff] [blame] | 45 | <groupId>${project.groupId}</groupId> |
Stuart McCulloch | 285fcc2 | 2007-09-24 19:54:42 +0000 | [diff] [blame] | 46 | <artifactId>org.osgi.service.obr</artifactId> |
Guillaume Nodet | c63f7ff | 2010-03-01 19:57:54 +0000 | [diff] [blame] | 47 | <version>1.0.2</version> |
Guillaume Nodet | 686cb9b | 2010-02-22 20:07:08 +0000 | [diff] [blame] | 48 | <optional>true</optional> |
A. J. David Bosschaert | 46279b8 | 2014-02-03 11:30:49 +0000 | [diff] [blame] | 49 | <exclusions> |
| 50 | <exclusion> |
| 51 | <groupId>org.apache.felix</groupId> |
| 52 | <artifactId>org.osgi.core</artifactId> |
| 53 | </exclusion> |
| 54 | </exclusions> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 55 | </dependency> |
| 56 | <dependency> |
Stuart McCulloch | d96de34 | 2011-06-29 22:31:28 +0000 | [diff] [blame] | 57 | <groupId>${project.groupId}</groupId> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 58 | <artifactId>org.apache.felix.shell</artifactId> |
Richard S. Hall | 25ea8bf | 2009-12-09 21:41:29 +0000 | [diff] [blame] | 59 | <version>1.4.1</version> |
Guillaume Nodet | 686cb9b | 2010-02-22 20:07:08 +0000 | [diff] [blame] | 60 | <optional>true</optional> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 61 | </dependency> |
| 62 | <dependency> |
Michael E. Rodriguez | 406386d | 2007-03-20 02:56:45 +0000 | [diff] [blame] | 63 | <groupId>net.sf.kxml</groupId> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 64 | <artifactId>kxml2</artifactId> |
Guillaume Nodet | 8d5faf6 | 2010-03-19 15:32:17 +0000 | [diff] [blame] | 65 | <version>2.3.0</version> |
Guillaume Nodet | 686cb9b | 2010-02-22 20:07:08 +0000 | [diff] [blame] | 66 | <optional>true</optional> |
Guillaume Nodet | 5e1b3a6 | 2010-03-18 08:30:03 +0000 | [diff] [blame] | 67 | <exclusions> |
| 68 | <exclusion> |
| 69 | <groupId>xmlpull</groupId> |
| 70 | <artifactId>xmlpull</artifactId> |
| 71 | </exclusion> |
| 72 | </exclusions> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 73 | </dependency> |
Richard S. Hall | 552d60b | 2008-07-31 20:19:21 +0000 | [diff] [blame] | 74 | <dependency> |
Karl Pauls | 1d7fb59 | 2009-09-30 21:05:27 +0000 | [diff] [blame] | 75 | <groupId>org.osgi</groupId> |
Richard S. Hall | 552d60b | 2008-07-31 20:19:21 +0000 | [diff] [blame] | 76 | <artifactId>org.osgi.compendium</artifactId> |
A. J. David Bosschaert | 46279b8 | 2014-02-03 11:30:49 +0000 | [diff] [blame] | 77 | <version>5.0.0</version> |
Richard S. Hall | 552d60b | 2008-07-31 20:19:21 +0000 | [diff] [blame] | 78 | <optional>true</optional> |
| 79 | </dependency> |
Karl Pauls | 1d7fb59 | 2009-09-30 21:05:27 +0000 | [diff] [blame] | 80 | <dependency> |
| 81 | <groupId>org.osgi</groupId> |
| 82 | <artifactId>org.osgi.core</artifactId> |
A. J. David Bosschaert | 46279b8 | 2014-02-03 11:30:49 +0000 | [diff] [blame] | 83 | <version>5.0.0</version> |
Karl Pauls | 1d7fb59 | 2009-09-30 21:05:27 +0000 | [diff] [blame] | 84 | </dependency> |
Guillaume Nodet | 389b81a | 2010-02-19 14:22:52 +0000 | [diff] [blame] | 85 | <dependency> |
| 86 | <groupId>org.codehaus.woodstox</groupId> |
| 87 | <artifactId>woodstox-core-asl</artifactId> |
| 88 | <version>4.0.7</version> |
Guillaume Nodet | 686cb9b | 2010-02-22 20:07:08 +0000 | [diff] [blame] | 89 | <optional>true</optional> |
Guillaume Nodet | 389b81a | 2010-02-19 14:22:52 +0000 | [diff] [blame] | 90 | </dependency> |
Guillaume Nodet | 66b87bd | 2010-02-23 11:34:29 +0000 | [diff] [blame] | 91 | <dependency> |
| 92 | <groupId>org.easymock</groupId> |
| 93 | <artifactId>easymock</artifactId> |
A. J. David Bosschaert | 1ea7c81 | 2015-12-08 18:45:11 +0000 | [diff] [blame] | 94 | <version>3.4</version> |
Guillaume Nodet | 66b87bd | 2010-02-23 11:34:29 +0000 | [diff] [blame] | 95 | </dependency> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 96 | </dependencies> |
| 97 | <build> |
| 98 | <plugins> |
| 99 | <plugin> |
A. J. David Bosschaert | 46279b8 | 2014-02-03 11:30:49 +0000 | [diff] [blame] | 100 | <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. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 109 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 797bc98 | 2007-05-21 18:35:07 +0000 | [diff] [blame] | 110 | <artifactId>maven-bundle-plugin</artifactId> |
A. J. David Bosschaert | ef28617 | 2014-05-05 08:14:57 +0000 | [diff] [blame] | 111 | <version>2.4.0</version> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 112 | <extensions>true</extensions> |
| 113 | <configuration> |
A. J. David Bosschaert | ef28617 | 2014-05-05 08:14:57 +0000 | [diff] [blame] | 114 | <unpackBundle>true</unpackBundle> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 115 | <instructions> |
A. J. David Bosschaert | 46279b8 | 2014-02-03 11:30:49 +0000 | [diff] [blame] | 116 | <Export-Package> |
| 117 | org.osgi.service.repository, |
| 118 | org.apache.felix.bundlerepository;version="2.1" |
| 119 | </Export-Package> |
Guillaume Nodet | 5e1b3a6 | 2010-03-18 08:30:03 +0000 | [diff] [blame] | 120 | <Private-Package> |
| 121 | org.kxml2.io, |
| 122 | org.xmlpull.v1, |
Guillaume Nodet | 8d5faf6 | 2010-03-19 15:32:17 +0000 | [diff] [blame] | 123 | org.apache.felix.bundlerepository.impl.*, |
| 124 | org.apache.felix.utils.* |
Guillaume Nodet | 5e1b3a6 | 2010-03-18 08:30:03 +0000 | [diff] [blame] | 125 | </Private-Package> |
A. J. David Bosschaert | 020e2b6 | 2014-05-05 08:34:57 +0000 | [diff] [blame] | 126 | <!-- 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. Hall | d178c1c | 2006-11-30 14:33:25 +0000 | [diff] [blame] | 136 | <DynamicImport-Package>org.apache.felix.shell</DynamicImport-Package> |
Stuart McCulloch | d96de34 | 2011-06-29 22:31:28 +0000 | [diff] [blame] | 137 | <Bundle-Activator>${project.artifactId}.impl.Activator</Bundle-Activator> |
Felix Meschberger | 0f37e7c | 2008-09-29 07:17:07 +0000 | [diff] [blame] | 138 | <Bundle-DocURL>http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html</Bundle-DocURL> |
Felix Meschberger | 7d3f0ed | 2008-08-28 15:55:16 +0000 | [diff] [blame] | 139 | <Bundle-Url>http://felix.apache.org/site/downloads.cgi</Bundle-Url> |
| 140 | <Bundle-Source>http://felix.apache.org/site/downloads.cgi</Bundle-Source> |
Stuart McCulloch | d96de34 | 2011-06-29 22:31:28 +0000 | [diff] [blame] | 141 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
Carsten Ziegeler | cf6e51b | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 142 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Guillaume Nodet | 6aa7224 | 2010-02-26 00:14:51 +0000 | [diff] [blame] | 143 | <Export-Service>org.apache.felix.bundlerepository.RepositoryAdmin,org.osgi.service.obr.RepositoryAdmin</Export-Service> |
| 144 | <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy> |
Guillaume Nodet | aa1eb1f | 2011-03-18 13:13:28 +0000 | [diff] [blame] | 145 | <Include-Resource>META-INF/LICENSE=LICENSE,META-INF/LICENSE.kxml2=LICENSE.kxml2,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource> |
Richard S. Hall | 1da4e54 | 2006-11-02 21:45:44 +0000 | [diff] [blame] | 146 | </instructions> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 147 | </configuration> |
| 148 | </plugin> |
Karl Pauls | 7d13427 | 2009-03-31 21:04:00 +0000 | [diff] [blame] | 149 | <plugin> |
Stuart McCulloch | cb954e5 | 2011-06-29 22:38:10 +0000 | [diff] [blame] | 150 | <groupId>org.apache.rat</groupId> |
| 151 | <artifactId>apache-rat-plugin</artifactId> |
Karl Pauls | 7d13427 | 2009-03-31 21:04:00 +0000 | [diff] [blame] | 152 | <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> |
A. J. David Bosschaert | 8908645 | 2014-06-23 14:39:13 +0000 | [diff] [blame] | 164 | <plugin> |
| 165 | <groupId>org.apache.maven.plugins</groupId> |
| 166 | <artifactId>maven-source-plugin</artifactId> |
| 167 | <executions> |
| 168 | <execution> |
| 169 | <id>attach-sources</id> |
| 170 | <goals> |
| 171 | <goal>jar</goal> |
| 172 | </goals> |
| 173 | </execution> |
| 174 | </executions> |
| 175 | </plugin> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 176 | </plugins> |
| 177 | </build> |
Richard S. Hall | a2dc451 | 2006-04-04 13:17:11 +0000 | [diff] [blame] | 178 | </project> |