| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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"> |
| <parent> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>felix-parent</artifactId> |
| <version>2.1</version> |
| <relativePath>../pom/pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <packaging>bundle</packaging> |
| <name>Apache Felix Bundle Repository</name> |
| <description>Bundle repository service.</description> |
| <artifactId>org.apache.felix.bundlerepository</artifactId> |
| <version>1.7.0-SNAPSHOT</version> |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/bundlerepository</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/bundlerepository</developerConnection> |
| <url>http://svn.apache.org/repos/asf/felix/trunk/bundlerepository</url> |
| </scm> |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>org.apache.felix.utils</artifactId> |
| <version>1.6.0</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>org.osgi.service.obr</artifactId> |
| <version>1.0.2</version> |
| <optional>true</optional> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>org.apache.felix.shell</artifactId> |
| <version>1.4.1</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>net.sf.kxml</groupId> |
| <artifactId>kxml2</artifactId> |
| <version>2.3.0</version> |
| <optional>true</optional> |
| <exclusions> |
| <exclusion> |
| <groupId>xmlpull</groupId> |
| <artifactId>xmlpull</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>5.0.0</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>5.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.woodstox</groupId> |
| <artifactId>woodstox-core-asl</artifactId> |
| <version>4.0.7</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <version>2.4</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <target>1.5</target> |
| <source>1.5</source> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.4.0</version> |
| <extensions>true</extensions> |
| <configuration> |
| <unpackBundle>true</unpackBundle> |
| <instructions> |
| <Export-Package> |
| org.osgi.service.repository, |
| org.apache.felix.bundlerepository;version="2.1" |
| </Export-Package> |
| <Private-Package> |
| org.kxml2.io, |
| org.xmlpull.v1, |
| org.apache.felix.bundlerepository.impl.*, |
| org.apache.felix.utils.* |
| </Private-Package> |
| <!-- The org.osgi.service.repository;resolution:=mandatory seems strange below, but otherwise the maven-bundle-plugin |
| will make that import optional, which we don't want... --> |
| <Import-Package> |
| !javax.xml.parsers, |
| !org.xml.sax, |
| org.osgi.service.repository;resolution:=mandatory, |
| org.osgi.service.log;resolution:=optional, |
| org.osgi.service.obr;resolution:=optional, |
| javax.xml.stream;resolution:=optional, |
| *</Import-Package> |
| <DynamicImport-Package>org.apache.felix.shell</DynamicImport-Package> |
| <Bundle-Activator>${project.artifactId}.impl.Activator</Bundle-Activator> |
| <Bundle-DocURL>http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html</Bundle-DocURL> |
| <Bundle-Url>http://felix.apache.org/site/downloads.cgi</Bundle-Url> |
| <Bundle-Source>http://felix.apache.org/site/downloads.cgi</Bundle-Source> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| <Export-Service>org.apache.felix.bundlerepository.RepositoryAdmin,org.osgi.service.obr.RepositoryAdmin</Export-Service> |
| <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy> |
| <Include-Resource>META-INF/LICENSE=LICENSE,META-INF/LICENSE.kxml2=LICENSE.kxml2,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludeSubProjects>false</excludeSubProjects> |
| <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| <excludes> |
| <param>doc/*</param> |
| <param>maven-eclipse.xml</param> |
| <param>.checkstyle</param> |
| <param>.externalToolBuilders/*</param> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |