blob: 454ffc2ab4064247a18a6379582e740be09e05b8 [file] [log] [blame]
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +00001<?xml version="1.0" encoding="UTF-8"?>
Carsten Ziegeler3a66ebc2007-07-11 10:46:36 +00002<!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19-->
Carsten Ziegeler4fec0962008-01-11 16:13:31 +000020<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">
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +000021 <modelVersion>4.0.0</modelVersion>
22 <parent>
23 <groupId>org.apache.felix</groupId>
24 <artifactId>felix</artifactId>
Clement Escoffier4ae86972009-04-09 12:09:09 +000025 <version>1.0.4</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000026 <relativePath>../pom/pom.xml</relativePath>
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +000027 </parent>
28
Felix Meschbergerfdb360f2007-04-11 18:51:16 +000029 <artifactId>org.apache.felix.configadmin</artifactId>
Felix Meschbergere99d7ed2009-01-28 15:19:08 +000030 <version>1.0.11-SNAPSHOT</version>
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +000031 <packaging>bundle</packaging>
32
33 <name>Apache Felix Configuration Admin Service</name>
34 <description>
35 Implementation of the OSGi Configuration Admin Service Specification 1.2
36 </description>
37
38 <dependencies>
39 <dependency>
40 <groupId>${pom.groupId}</groupId>
41 <artifactId>org.osgi.core</artifactId>
Felix Meschberger0833dc02007-08-06 08:59:33 +000042 <version>1.0.0</version>
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +000043 </dependency>
44 <dependency>
45 <groupId>${pom.groupId}</groupId>
46 <artifactId>org.osgi.compendium</artifactId>
Carsten Ziegelerc340ecf2008-01-28 07:21:59 +000047 <version>1.0.0</version>
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +000048 </dependency>
Felix Meschberger819d0b72009-08-14 15:35:27 +000049
50 <!-- Integration Testing with Pax Exam -->
51 <dependency>
52 <groupId>junit</groupId>
53 <artifactId>junit</artifactId>
54 <version>4.6</version>
55 </dependency>
56 <dependency>
57 <groupId>org.ops4j.pax.exam</groupId>
58 <artifactId>pax-exam</artifactId>
59 <version>0.6.0</version>
60 <scope>test</scope>
61 </dependency>
62 <dependency>
63 <groupId>org.ops4j.pax.exam</groupId>
64 <artifactId>pax-exam-junit</artifactId>
65 <version>0.6.0</version>
66 <scope>test</scope>
67 </dependency>
68 <dependency>
69 <groupId>org.ops4j.pax.exam</groupId>
70 <artifactId>pax-exam-container-default</artifactId>
71 <version>0.6.0</version>
72 <scope>test</scope>
73 </dependency>
74 <dependency>
75 <groupId>org.ops4j.pax.swissbox</groupId>
76 <artifactId>pax-swissbox-tinybundles</artifactId>
77 <version>1.0.0</version>
78 <scope>test</scope>
79 </dependency>
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +000080 </dependencies>
81
82 <build>
83 <plugins>
84 <plugin>
85 <groupId>org.apache.felix</groupId>
Richard S. Hall797bc982007-05-21 18:35:07 +000086 <artifactId>maven-bundle-plugin</artifactId>
Stuart McCulloch876ca722008-02-26 17:15:42 +000087 <version>1.4.0</version>
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +000088 <extensions>true</extensions>
89 <configuration>
90 <instructions>
91 <Bundle-Category>osgi</Bundle-Category>
Felix Meschberger1af21822007-09-04 13:35:05 +000092 <Bundle-SymbolicName>
93 ${artifactId}
94 </Bundle-SymbolicName>
Carsten Ziegelercf6e51b2008-04-17 06:33:59 +000095 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +000096 <Export-Package>
Felix Meschberger432e3872008-03-07 14:58:57 +000097 org.apache.felix.cm;
98 org.apache.felix.cm.file;version=1.0,
Felix Meschberger5a87a0d2009-08-14 19:30:58 +000099 org.osgi.service.cm;version=1.3
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +0000100 </Export-Package>
101 <Private-Package>
Felix Meschbergeree867402008-06-13 08:33:54 +0000102 org.apache.felix.cm.impl,
103 org.osgi.util.tracker
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +0000104 </Private-Package>
105 <Bundle-Activator>
106 org.apache.felix.cm.impl.ConfigurationManager
107 </Bundle-Activator>
Felix Meschberger85b355d2007-08-31 07:17:38 +0000108 <DynamicImport-Package>
109 org.osgi.service.log
110 </DynamicImport-Package>
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +0000111 </instructions>
112 </configuration>
113 </plugin>
Felix Meschberger819d0b72009-08-14 15:35:27 +0000114 <!--
115 configure default compilation for Java 1.3 and integration
116 test compilation for Java 5 (since integration tests use
117 Java Annotations for Pax Exam)
118 -->
119 <plugin>
120 <artifactId>maven-compiler-plugin</artifactId>
121 <executions>
122 <execution>
123 <id>test-compile-java5</id>
124 <goals>
125 <goal>testCompile</goal>
126 </goals>
127 <configuration>
128 <source>1.5</source>
129 <target>1.5</target>
130 <testExcludes>
131 <testExclude>**/cm/*</testExclude>
132 <testExclude>**/cm/file/*</testExclude>
133 <testExclude>**/cm/impl/**</testExclude>
134 </testExcludes>
135 <testIncludes>
136 <testInclude>**/integration/**</testInclude>
137 </testIncludes>
138 </configuration>
139 </execution>
140 </executions>
141 <configuration>
142 <testExcludes>
143 <testExclude>**/integration/**</testExclude>
144 </testExcludes>
145 </configuration>
146 </plugin>
147
148 <!--
149 Exclude Integration tests in (default) unit tests and
150 conversely enable integration tests for integration testing
151 only. Helper classes are completely excluded from testing.
152 -->
153 <plugin>
154 <artifactId>maven-surefire-plugin</artifactId>
155 <executions>
156 <execution>
157 <id>surefire-it</id>
158 <phase>integration-test</phase>
159 <goals>
160 <goal>test</goal>
161 </goals>
162 <configuration>
163 <excludes>
164 <exclude>**/cm/*</exclude>
165 <exclude>**/cm/file/*</exclude>
166 <exclude>**/cm/impl/**</exclude>
167 </excludes>
168 <includes>
169 <include>**/integration/*</include>
170 </includes>
171 </configuration>
172 </execution>
173 </executions>
174 <configuration>
175 <excludes>
176 <exclude>**/integration/**</exclude>
177 </excludes>
178 </configuration>
179 </plugin>
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +0000180 </plugins>
181 </build>
Felix Meschberger819d0b72009-08-14 15:35:27 +0000182
183 <!-- repositories for Pax Exam and BND tool -->
184 <repositories>
185 <repository>
186 <id>ops4j</id>
187 <name>ops4j</name>
188 <url>http://repository.ops4j.org/maven2</url>
189 <snapshots>
190 <enabled>false</enabled>
191 </snapshots>
192 </repository>
193 <repository>
194 <id>aqute</id>
195 <name>aqute</name>
196 <url>http://www.aqute.biz/repo</url>
197 <snapshots>
198 <enabled>false</enabled>
199 </snapshots>
200 </repository>
201 </repositories>
Felix Meschbergeradd2b4a2007-04-11 18:12:33 +0000202</project>