Carsten Ziegeler | b61fe0e | 2008-01-03 09:24:12 +0000 | [diff] [blame] | 1 | <!-- |
| 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 Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 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"> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
Felix Meschberger | eda237f | 2009-04-27 13:12:37 +0000 | [diff] [blame] | 22 | <artifactId>felix-parent</artifactId> |
| 23 | <version>1.2.0</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 24 | <relativePath>../pom/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <packaging>bundle</packaging> |
| 28 | <name>Apache Felix Declarative Services</name> |
| 29 | <description> |
| 30 | Implementation of the Declarative Services specification 1.0 |
| 31 | </description> |
| 32 | <artifactId>org.apache.felix.scr</artifactId> |
Felix Meschberger | 13f732e | 2009-04-29 08:58:54 +0000 | [diff] [blame] | 33 | <version>1.0.9-SNAPSHOT</version> |
Felix Meschberger | a2eafef | 2009-04-29 08:46:06 +0000 | [diff] [blame] | 34 | <scm> |
Felix Meschberger | 13f732e | 2009-04-29 08:58:54 +0000 | [diff] [blame] | 35 | <connection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/scr</connection> |
| 36 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/scr</developerConnection> |
| 37 | <url>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/scr</url> |
Felix Meschberger | a2eafef | 2009-04-29 08:46:06 +0000 | [diff] [blame] | 38 | </scm> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 39 | <dependencies> |
| 40 | <dependency> |
| 41 | <groupId>${pom.groupId}</groupId> |
| 42 | <artifactId>org.osgi.core</artifactId> |
Felix Meschberger | 644283d | 2007-08-22 15:28:05 +0000 | [diff] [blame] | 43 | <version>1.0.0</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>${pom.groupId}</groupId> |
| 47 | <artifactId>org.osgi.compendium</artifactId> |
Carsten Ziegeler | c340ecf | 2008-01-28 07:21:59 +0000 | [diff] [blame] | 48 | <version>1.0.0</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 49 | </dependency> |
| 50 | <dependency> |
Felix Meschberger | d25a63d | 2007-11-23 13:02:49 +0000 | [diff] [blame] | 51 | <groupId>${pom.groupId}</groupId> |
| 52 | <artifactId>org.apache.felix.shell</artifactId> |
| 53 | <version>1.0.0</version> |
| 54 | </dependency> |
| 55 | <dependency> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 56 | <groupId>net.sf.kxml</groupId> |
| 57 | <artifactId>kxml2</artifactId> |
| 58 | <version>2.2.2</version> |
| 59 | </dependency> |
Felix Meschberger | 8c64e85 | 2009-07-28 13:48:28 +0000 | [diff] [blame] | 60 | |
| 61 | <!-- Integration Testing with Pax Exam --> |
| 62 | <dependency> |
| 63 | <groupId>junit</groupId> |
| 64 | <artifactId>junit</artifactId> |
| 65 | <version>4.6</version> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>org.ops4j.pax.exam</groupId> |
| 69 | <artifactId>pax-exam</artifactId> |
| 70 | <version>0.6.0</version> |
| 71 | <scope>test</scope> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.ops4j.pax.exam</groupId> |
| 75 | <artifactId>pax-exam-junit</artifactId> |
| 76 | <version>0.6.0</version> |
| 77 | <scope>test</scope> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>org.ops4j.pax.exam</groupId> |
| 81 | <artifactId>pax-exam-container-default</artifactId> |
| 82 | <version>0.6.0</version> |
| 83 | <scope>test</scope> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.ops4j.pax.swissbox</groupId> |
| 87 | <artifactId>pax-swissbox-tinybundles</artifactId> |
| 88 | <version>1.0.0</version> |
| 89 | <scope>test</scope> |
| 90 | </dependency> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 91 | </dependencies> |
| 92 | <build> |
| 93 | <plugins> |
| 94 | <plugin> |
| 95 | <groupId>org.apache.felix</groupId> |
| 96 | <artifactId>maven-bundle-plugin</artifactId> |
Stuart McCulloch | 876ca72 | 2008-02-26 17:15:42 +0000 | [diff] [blame] | 97 | <version>1.4.0</version> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 98 | <extensions>true</extensions> |
| 99 | <configuration> |
| 100 | <instructions> |
| 101 | <Bundle-SymbolicName> |
| 102 | ${artifactId} |
| 103 | </Bundle-SymbolicName> |
Carsten Ziegeler | 90f0b9f | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 104 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 105 | <Bundle-Activator> |
Felix Meschberger | d25a63d | 2007-11-23 13:02:49 +0000 | [diff] [blame] | 106 | org.apache.felix.scr.impl.Activator |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 107 | </Bundle-Activator> |
| 108 | <Export-Package> |
Felix Meschberger | d25a63d | 2007-11-23 13:02:49 +0000 | [diff] [blame] | 109 | org.apache.felix.scr;version=${pom.version}, |
Felix Meschberger | 9aaf7c4 | 2009-07-09 12:34:12 +0000 | [diff] [blame] | 110 | org.osgi.service.component;version=1.0;-split-package:=merge-first |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 111 | </Export-Package> |
| 112 | <Private-Package> |
Felix Meschberger | 9aaf7c4 | 2009-07-09 12:34:12 +0000 | [diff] [blame] | 113 | org.apache.felix.scr.impl.*, |
| 114 | org.osgi.util.tracker |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 115 | </Private-Package> |
Felix Meschberger | d25a63d | 2007-11-23 13:02:49 +0000 | [diff] [blame] | 116 | <Import-Package> |
Felix Meschberger | 9aaf7c4 | 2009-07-09 12:34:12 +0000 | [diff] [blame] | 117 | org.osgi.service.cm; |
| 118 | org.apache.felix.shell; resolution:=optional, |
| 119 | * |
Felix Meschberger | d25a63d | 2007-11-23 13:02:49 +0000 | [diff] [blame] | 120 | </Import-Package> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 121 | <DynamicImport-Package> |
| 122 | org.osgi.service.log |
| 123 | </DynamicImport-Package> |
Felix Meschberger | 9aaf7c4 | 2009-07-09 12:34:12 +0000 | [diff] [blame] | 124 | <Embed-Dependency> |
| 125 | kxml2 |
| 126 | </Embed-Dependency> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 127 | </instructions> |
| 128 | </configuration> |
| 129 | </plugin> |
Felix Meschberger | 8c64e85 | 2009-07-28 13:48:28 +0000 | [diff] [blame] | 130 | |
| 131 | <!-- |
| 132 | configure default compilation for Java 1.3 and integration |
| 133 | test compilation for Java 5 (since integration tests use |
| 134 | Java Annotations for Pax Exam) |
| 135 | --> |
| 136 | <plugin> |
| 137 | <artifactId>maven-compiler-plugin</artifactId> |
| 138 | <executions> |
| 139 | <execution> |
| 140 | <id>test-compile-java5</id> |
| 141 | <goals> |
| 142 | <goal>testCompile</goal> |
| 143 | </goals> |
| 144 | <configuration> |
| 145 | <source>1.5</source> |
| 146 | <target>1.5</target> |
| 147 | <testIncludes> |
| 148 | <testInclude>**/integration/**</testInclude> |
| 149 | </testIncludes> |
| 150 | <testExcludes> |
| 151 | <testExclude>**/impl/**</testExclude> |
| 152 | </testExcludes> |
| 153 | </configuration> |
| 154 | </execution> |
| 155 | </executions> |
| 156 | <configuration> |
| 157 | <testExcludes> |
| 158 | <testExclude>**/integration/**</testExclude> |
| 159 | </testExcludes> |
| 160 | </configuration> |
| 161 | </plugin> |
| 162 | |
| 163 | <!-- |
| 164 | Exclude Integration tests in (default) unit tests and |
| 165 | conversely enable integration tests for integration testing |
| 166 | only. Helper classes are completely excluded from testing. |
| 167 | --> |
| 168 | <plugin> |
| 169 | <artifactId>maven-surefire-plugin</artifactId> |
| 170 | <executions> |
| 171 | <execution> |
| 172 | <id>surefire-it</id> |
| 173 | <phase>integration-test</phase> |
| 174 | <goals> |
| 175 | <goal>test</goal> |
| 176 | </goals> |
| 177 | <configuration> |
| 178 | <excludes> |
| 179 | <exclude>**/components/**</exclude> |
| 180 | </excludes> |
| 181 | <includes> |
| 182 | <include>**/integration/*</include> |
| 183 | </includes> |
| 184 | </configuration> |
| 185 | </execution> |
| 186 | </executions> |
| 187 | <configuration> |
| 188 | <excludes> |
| 189 | <exclude>**/integration/**</exclude> |
| 190 | <exclude>**/components/**</exclude> |
| 191 | <exclude>**/instances/**</exclude> |
| 192 | <exclude>**/instances2/**</exclude> |
| 193 | </excludes> |
| 194 | </configuration> |
| 195 | </plugin> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 196 | </plugins> |
| 197 | </build> |
Felix Meschberger | 8c64e85 | 2009-07-28 13:48:28 +0000 | [diff] [blame] | 198 | |
| 199 | <!-- repositories for Pax Exam and BND tool --> |
| 200 | <repositories> |
| 201 | <repository> |
| 202 | <id>ops4j</id> |
| 203 | <name>ops4j</name> |
| 204 | <url>http://repository.ops4j.org/maven2</url> |
| 205 | <snapshots> |
| 206 | <enabled>false</enabled> |
| 207 | </snapshots> |
| 208 | </repository> |
| 209 | <repository> |
| 210 | <id>aqute</id> |
| 211 | <name>aqute</name> |
| 212 | <url>http://www.aqute.biz/repo</url> |
| 213 | <snapshots> |
| 214 | <enabled>false</enabled> |
| 215 | </snapshots> |
| 216 | </repository> |
| 217 | </repositories> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 218 | </project> |