Carsten Ziegeler | 11162a0 | 2015-02-16 09:51:22 +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 | --> |
| 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> |
| 23 | <version>2.1</version> |
| 24 | <relativePath /> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <packaging>bundle</packaging> |
| 28 | <name>Apache Felix Declarative Services Compatibility Extension</name> |
| 29 | <description> |
| 30 | Extensions of the DS Implementation to provide compatibility with API from older Apache Felix DS implementations. |
| 31 | </description> |
| 32 | <artifactId>org.apache.felix.scr.compat</artifactId> |
| 33 | <version>0.0.1-SNAPSHOT</version> |
| 34 | <scm> |
| 35 | <connection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/scr-compat</connection> |
| 36 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/scr-compat</developerConnection> |
| 37 | <url>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/scr-compat</url> |
| 38 | </scm> |
| 39 | |
| 40 | <dependencies> |
| 41 | <dependency> |
| 42 | <groupId>org.osgi</groupId> |
| 43 | <artifactId>org.osgi.core</artifactId> |
| 44 | <version>6.0.0</version> |
| 45 | <scope>provided</scope> |
| 46 | </dependency> |
| 47 | <dependency> |
| 48 | <groupId>org.osgi</groupId> |
| 49 | <artifactId>org.osgi.annotation</artifactId> |
| 50 | <version>6.0.0</version> |
| 51 | <scope>provided</scope> |
| 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>org.osgi</groupId> |
| 55 | <artifactId>org.osgi.enterprise</artifactId> |
| 56 | <version>5.0.0</version> |
| 57 | <scope>provided</scope> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.apache.felix</groupId> |
| 61 | <artifactId>org.apache.felix.scr</artifactId> |
| 62 | <version>1.8.3-SNAPSHOT</version> |
| 63 | <scope>provided</scope> |
| 64 | </dependency> |
| 65 | </dependencies> |
| 66 | <build> |
| 67 | <plugins> |
| 68 | <plugin> |
| 69 | <groupId>org.apache.felix</groupId> |
| 70 | <artifactId>maven-bundle-plugin</artifactId> |
| 71 | <version>2.5.3</version> |
| 72 | <extensions>true</extensions> |
| 73 | <configuration> |
| 74 | <instructions> |
| 75 | <Bundle-Category>osgi</Bundle-Category> |
| 76 | <Bundle-DocURL>http://felix.apache.org/site/apache-felix-service-component-runtime.html</Bundle-DocURL> |
| 77 | <Bundle-Activator>org.apache.felix.scr.impl.compat.Activator</Bundle-Activator> |
| 78 | <Export-Package>org.apache.felix.scr;version=1.8.1;provide:=true</Export-Package> |
| 79 | </instructions> |
| 80 | </configuration> |
| 81 | </plugin> |
| 82 | |
| 83 | <!-- |
| 84 | Ensure not using too recent Java API |
| 85 | - Ensure Java 5 API |
| 86 | --> |
| 87 | <plugin> |
| 88 | <groupId>org.codehaus.mojo</groupId> |
| 89 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 90 | <version>1.7</version> |
| 91 | <configuration> |
| 92 | <signature> |
| 93 | <groupId>org.codehaus.mojo.signature</groupId> |
| 94 | <artifactId>java15</artifactId> |
| 95 | <version>1.0</version> |
| 96 | </signature> |
| 97 | </configuration> |
| 98 | <executions> |
| 99 | <execution> |
| 100 | <phase>test</phase> |
| 101 | <goals> |
| 102 | <goal>check</goal> |
| 103 | </goals> |
| 104 | </execution> |
| 105 | </executions> |
| 106 | </plugin> |
| 107 | |
| 108 | <!-- |
| 109 | Configure default compilation for Java 5 |
| 110 | --> |
| 111 | <plugin> |
| 112 | <artifactId>maven-compiler-plugin</artifactId> |
| 113 | <configuration> |
| 114 | <source>1.5</source> |
| 115 | <target>1.5</target> |
| 116 | </configuration> |
| 117 | </plugin> |
| 118 | |
| 119 | <plugin> |
| 120 | <groupId>org.apache.maven.plugins</groupId> |
| 121 | <artifactId>maven-javadoc-plugin</artifactId> |
| 122 | <configuration> |
| 123 | <encoding>${project.build.sourceEncoding}</encoding> |
| 124 | <excludePackageNames>*.impl</excludePackageNames> |
| 125 | </configuration> |
| 126 | </plugin> |
| 127 | </plugins> |
| 128 | </build> |
| 129 | </project> |