blob: 85cd1e7ed3697aabbd5b1529f30aa70b643c02ac [file] [log] [blame]
Richard S. Hallb8eb1d22012-04-09 14:34:05 +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-->
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">
20 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Guillaume Nodete9d83cb2015-07-13 15:19:58 +000023 <version>3</version>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +000024 <relativePath>../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <packaging>bundle</packaging>
28 <name>Apache Felix Resolver</name>
29 <description>
30 Provide OSGi resolver service.
31 </description>
Karl Pauls38700ee2015-10-13 15:18:57 +000032 <version>1.7.0-SNAPSHOT</version>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +000033 <artifactId>org.apache.felix.resolver</artifactId>
Karl Paulsf54f0e02013-04-03 15:42:18 +000034 <scm>
Karl Paulscfc2dba2015-10-13 14:43:04 +000035 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/resolver</connection>
36 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/resolver</developerConnection>
37 <url>http://svn.apache.org/repos/asf/felix/resolver</url>
Karl Paulsf54f0e02013-04-03 15:42:18 +000038 </scm>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +000039 <dependencies>
40 <dependency>
41 <groupId>org.osgi</groupId>
42 <artifactId>org.osgi.core</artifactId>
43 <version>5.0.0</version>
44 </dependency>
A. J. David Bosschaertafa02dc2014-07-18 08:57:42 +000045 <dependency>
46 <groupId>junit</groupId>
47 <artifactId>junit</artifactId>
48 <version>4.11</version>
49 <scope>test</scope>
50 </dependency>
Guillaume Nodetb0d18ef2015-03-17 09:38:45 +000051 <dependency>
52 <groupId>org.apache.felix</groupId>
53 <artifactId>org.apache.felix.utils</artifactId>
54 <version>1.8.0</version>
55 <scope>test</scope>
56 </dependency>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +000057 </dependencies>
Guillaume Nodete9d83cb2015-07-13 15:19:58 +000058 <properties>
59 <felix.java.version>5</felix.java.version>
60 </properties>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +000061 <build>
62 <plugins>
63 <plugin>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +000064 <groupId>org.apache.felix</groupId>
65 <artifactId>maven-bundle-plugin</artifactId>
Guillaume Nodete9d83cb2015-07-13 15:19:58 +000066 <version>2.5.4</version>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +000067 <extensions>true</extensions>
68 <configuration>
69 <instructions>
70 <_sources>true</_sources>
Guillaume Nodete9d83cb2015-07-13 15:19:58 +000071 <_sourcepath>${build.sourceDirectory}</_sourcepath>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +000072 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +000073 <Bundle-Activator>
74 org.apache.felix.resolver.Activator
75 </Bundle-Activator>
76 <Private-Package>org.apache.*</Private-Package>
77 <Export-Package>
78 org.osgi.service.resolver.*;provide:=true
79 </Export-Package>
80 <Import-Package>
81 org.osgi.resource.*;provide:=true, *
82 </Import-Package>
83 </instructions>
84 </configuration>
85 </plugin>
86 <plugin>
87 <groupId>org.apache.rat</groupId>
88 <artifactId>apache-rat-plugin</artifactId>
89 <executions>
90 <execution>
91 <phase>verify</phase>
92 <goals>
93 <goal>check</goal>
94 </goals>
95 </execution>
96 </executions>
97 <configuration>
98 <includes>
99 <include>src/**</include>
100 </includes>
101 <excludes>
102 <exclude>src/**/packageinfo</exclude>
Richard S. Hall4283d682013-04-03 15:11:01 +0000103 <exclude>src/main/appended-resources/**</exclude>
Guillaume Nodetb0d18ef2015-03-17 09:38:45 +0000104 <exclude>src/test/resources/resolution.json</exclude>
Guillaume Nodet2496bca2015-06-12 13:36:00 +0000105 <exclude>src/test/resources/felix-4914.json</exclude>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +0000106 </excludes>
107 </configuration>
108 </plugin>
Karl Pauls38943b12015-04-20 10:37:07 +0000109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-javadoc-plugin</artifactId>
112 <configuration>
113 <failOnError>false</failOnError>
114 </configuration>
115 </plugin>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +0000116 </plugins>
117 </build>
Richard S. Hallb8eb1d22012-04-09 14:34:05 +0000118</project>