blob: fe73c46e7eceebea9fe753a34e915767b8df175a [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">
Alex Karasulu07d20492006-03-06 15:35:44 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
Karl Pauls5f398642009-05-10 21:44:42 +000022 <artifactId>felix-parent</artifactId>
Karl Pauls1795e462011-09-22 09:52:47 +000023 <version>2.1</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000024 <relativePath>../pom/pom.xml</relativePath>
Alex Karasulu07d20492006-03-06 15:35:44 +000025 </parent>
26 <modelVersion>4.0.0</modelVersion>
Richard S. Hall1da4e542006-11-02 21:45:44 +000027 <packaging>bundle</packaging>
Richard S. Hall6748ac72006-12-07 20:30:11 +000028 <name>Apache Felix Framework</name>
Alex Karasulu07d20492006-03-06 15:35:44 +000029 <artifactId>org.apache.felix.framework</artifactId>
Karl Pauls5707fb32015-06-17 14:58:06 +000030 <version>5.1.0-SNAPSHOT</version>
Richard S. Hall42cf9c92008-10-16 20:22:58 +000031 <properties>
32 <dollar>$</dollar>
33 </properties>
Carsten Ziegeler3314f912014-07-30 07:22:32 +000034 <scm>
Karl Pauls5707fb32015-06-17 14:58:06 +000035 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/framework</connection>
36 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/framework</developerConnection>
37 <url>http://svn.apache.org/repos/asf/felix/framework</url>
Carsten Ziegeler3314f912014-07-30 07:22:32 +000038 </scm>
39
Alex Karasulu5cfd2a02006-03-09 14:15:38 +000040 <build>
Richard S. Hall1da4e542006-11-02 21:45:44 +000041 <plugins>
42 <plugin>
Richard S. Hallc018bde2010-03-03 15:09:47 +000043 <groupId>org.apache.maven.plugins</groupId>
44 <artifactId>maven-compiler-plugin</artifactId>
45 <configuration>
Karl Pauls54a1b9c2013-02-03 23:02:27 +000046 <target>1.5</target>
47 <source>1.5</source>
Richard S. Hallc018bde2010-03-03 15:09:47 +000048 </configuration>
49 </plugin>
50
51 <plugin>
Richard S. Hall1da4e542006-11-02 21:45:44 +000052 <groupId>org.apache.felix</groupId>
Richard S. Hall797bc982007-05-21 18:35:07 +000053 <artifactId>maven-bundle-plugin</artifactId>
Karl Paulsb1091f92014-07-09 15:51:35 +000054 <version>2.5.0</version>
Richard S. Hall1da4e542006-11-02 21:45:44 +000055 <extensions>true</extensions>
56 <configuration>
57 <instructions>
Richard S. Hallf94a18f2008-09-23 16:25:54 +000058 <Bundle-SymbolicName>org.apache.felix.framework</Bundle-SymbolicName>
Richard S. Hall1da4e542006-11-02 21:45:44 +000059 <Bundle-Name>Apache Felix Framework</Bundle-Name>
A. J. David Bosschaerte2088672015-06-12 21:09:36 +000060 <Bundle-Description>OSGi R6 framework implementation.</Bundle-Description>
Carsten Ziegelercf6e51b2008-04-17 06:33:59 +000061 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
Carsten Ziegeler3314f912014-07-30 07:22:32 +000062 <Export-Package>
63 org.osgi.framework.*;-split-package:=merge-first,
Karl Paulsff381782015-04-20 14:28:06 +000064 org.osgi.resource;-split-package:=first,
65 org.osgi.resource.dto;-split-package:=first,
66 org.osgi.service.packageadmin;-split-package:=first,
67 org.osgi.service.startlevel;-split-package:=first,
68 org.osgi.service.url;-split-package:=first,
69 org.osgi.service.resolver,
70 org.osgi.util.tracker;-split-package:=first,
Carsten Ziegeler3314f912014-07-30 07:22:32 +000071 org.osgi.dto
72 </Export-Package>
Guillaume Nodet70fed462015-03-17 09:39:09 +000073 <Private-Package>org.apache.felix.framework.*, org.apache.felix.resolver.*</Private-Package>
Richard S. Hall1da4e542006-11-02 21:45:44 +000074 <Import-Package>!*</Import-Package>
Richard S. Hall1da4e542006-11-02 21:45:44 +000075 </instructions>
76 </configuration>
77 </plugin>
Karl Pauls62ff7ab2009-03-31 21:06:46 +000078 <plugin>
Karl Pauls1795e462011-09-22 09:52:47 +000079 <groupId>org.apache.rat</groupId>
80 <artifactId>apache-rat-plugin</artifactId>
81 <executions>
82 <execution>
83 <phase>verify</phase>
84 <goals>
85 <goal>check</goal>
86 </goals>
87 </execution>
88 </executions>
89 <configuration>
90 <includes>
91 <include>src/**</include>
92 </includes>
93 <excludes>
94 <exclude>src/main/appended-resources/**</exclude>
95 <exclude>src/**/packageinfo</exclude>
96 <exclude>src/main/resources/META-INF/services/org.osgi.framework.launch.FrameworkFactory</exclude>
Richard S. Hall567b7142011-09-22 14:44:04 +000097 <exclude>src/main/resources/org/apache/felix/framework/Felix.properties</exclude>
Karl Pauls1795e462011-09-22 09:52:47 +000098 </excludes>
99 </configuration>
Karl Pauls62ff7ab2009-03-31 21:06:46 +0000100 </plugin>
Karl Pauls024ce7c2014-07-09 13:52:21 +0000101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-source-plugin</artifactId>
104 <executions>
105 <execution>
106 <id>attach-sources</id>
107 <goals>
108 <goal>jar</goal>
109 </goals>
110 </execution>
111 </executions>
112 </plugin>
Karl Paulsde2bdc32014-07-09 16:02:06 +0000113 <plugin>
Karl Paulsd3546652014-07-09 16:05:13 +0000114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-javadoc-plugin</artifactId>
116 <configuration>
117 <failOnError>false</failOnError>
118 </configuration>
Karl Paulsde2bdc32014-07-09 16:02:06 +0000119 </plugin>
Richard S. Hall1da4e542006-11-02 21:45:44 +0000120 </plugins>
Richard S. Hallc5208b42011-09-21 20:15:38 +0000121 <resources>
Richard S. Hallc5208b42011-09-21 20:15:38 +0000122 <resource>
123 <directory>src/main/resources</directory>
124 <filtering>true</filtering>
125 </resource>
Richard S. Hallc5208b42011-09-21 20:15:38 +0000126 </resources>
Karl Pauls58db9f02008-04-22 12:38:04 +0000127 </build>
Carsten Ziegeler3314f912014-07-30 07:22:32 +0000128 <dependencies>
129 <dependency>
130 <groupId>org.osgi</groupId>
131 <artifactId>org.osgi.annotation</artifactId>
132 <version>6.0.0</version>
133 <scope>provided</scope>
134 </dependency>
Bob Paulin062cf802015-01-07 13:39:11 +0000135 <dependency>
Guillaume Nodet70fed462015-03-17 09:39:09 +0000136 <groupId>org.apache.felix</groupId>
137 <artifactId>org.apache.felix.resolver</artifactId>
Karl Pauls9cf53f42015-06-17 14:57:54 +0000138 <version>1.4.0</version>
Guillaume Nodet70fed462015-03-17 09:39:09 +0000139 <scope>provided</scope>
140 </dependency>
141 <dependency>
Bob Paulin062cf802015-01-07 13:39:11 +0000142 <groupId>org.ow2.asm</groupId>
143 <artifactId>asm-all</artifactId>
144 <version>4.2</version>
145 <scope>test</scope>
146 </dependency>
A. J. David Bosschaert4aba1fa2015-05-14 09:09:08 +0000147 <dependency>
148 <groupId>org.mockito</groupId>
149 <artifactId>mockito-all</artifactId>
150 <version>1.10.19</version>
151 <scope>test</scope>
152 </dependency>
Carsten Ziegeler3314f912014-07-30 07:22:32 +0000153 </dependencies>
Alex Karasulu07d20492006-03-06 15:35:44 +0000154</project>