Felix Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Carsten Ziegeler | 3a66ebc | 2007-07-11 10:46:36 +0000 | [diff] [blame] | 2 | <!-- |
| 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 Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 20 | <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 Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | <parent> |
| 23 | <groupId>org.apache.felix</groupId> |
| 24 | <artifactId>felix</artifactId> |
Clement Escoffier | a3a6204 | 2009-04-09 12:09:09 +0000 | [diff] [blame] | 25 | <version>1.0.4</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 26 | <relativePath>../pom/pom.xml</relativePath> |
Felix Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
Felix Meschberger | fdb360f | 2007-04-11 18:51:16 +0000 | [diff] [blame] | 29 | <artifactId>org.apache.felix.configadmin</artifactId> |
Felix Meschberger | 13d35d6 | 2009-01-28 15:19:08 +0000 | [diff] [blame] | 30 | <version>1.0.11-SNAPSHOT</version> |
Felix Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 31 | <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 Meschberger | 0833dc0 | 2007-08-06 08:59:33 +0000 | [diff] [blame] | 42 | <version>1.0.0</version> |
Felix Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>${pom.groupId}</groupId> |
| 46 | <artifactId>org.osgi.compendium</artifactId> |
Carsten Ziegeler | c340ecf | 2008-01-28 07:21:59 +0000 | [diff] [blame] | 47 | <version>1.0.0</version> |
Felix Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 48 | </dependency> |
Felix Meschberger | 3121d7a | 2009-08-14 15:35:27 +0000 | [diff] [blame] | 49 | |
| 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 Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 80 | </dependencies> |
| 81 | |
| 82 | <build> |
| 83 | <plugins> |
| 84 | <plugin> |
| 85 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 797bc98 | 2007-05-21 18:35:07 +0000 | [diff] [blame] | 86 | <artifactId>maven-bundle-plugin</artifactId> |
Stuart McCulloch | 876ca72 | 2008-02-26 17:15:42 +0000 | [diff] [blame] | 87 | <version>1.4.0</version> |
Felix Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 88 | <extensions>true</extensions> |
| 89 | <configuration> |
| 90 | <instructions> |
| 91 | <Bundle-Category>osgi</Bundle-Category> |
Felix Meschberger | 1af2182 | 2007-09-04 13:35:05 +0000 | [diff] [blame] | 92 | <Bundle-SymbolicName> |
| 93 | ${artifactId} |
| 94 | </Bundle-SymbolicName> |
Carsten Ziegeler | 90f0b9f | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 95 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Felix Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 96 | <Export-Package> |
Felix Meschberger | 432e387 | 2008-03-07 14:58:57 +0000 | [diff] [blame] | 97 | org.apache.felix.cm; |
| 98 | org.apache.felix.cm.file;version=1.0, |
Felix Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 99 | org.osgi.service.cm;version=1.2 |
| 100 | </Export-Package> |
| 101 | <Private-Package> |
Felix Meschberger | 48f6e7a | 2008-06-13 08:33:54 +0000 | [diff] [blame] | 102 | org.apache.felix.cm.impl, |
| 103 | org.osgi.util.tracker |
Felix Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 104 | </Private-Package> |
| 105 | <Bundle-Activator> |
| 106 | org.apache.felix.cm.impl.ConfigurationManager |
| 107 | </Bundle-Activator> |
Felix Meschberger | 85b355d | 2007-08-31 07:17:38 +0000 | [diff] [blame] | 108 | <DynamicImport-Package> |
| 109 | org.osgi.service.log |
| 110 | </DynamicImport-Package> |
Felix Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 111 | </instructions> |
| 112 | </configuration> |
| 113 | </plugin> |
Felix Meschberger | 3121d7a | 2009-08-14 15:35:27 +0000 | [diff] [blame] | 114 | <!-- |
| 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 Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 180 | </plugins> |
| 181 | </build> |
Felix Meschberger | 3121d7a | 2009-08-14 15:35:27 +0000 | [diff] [blame] | 182 | |
| 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 Meschberger | add2b4a | 2007-04-11 18:12:33 +0000 | [diff] [blame] | 202 | </project> |