Pierre De Rop | d050bd3 | 2015-10-25 22:31:43 +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 | |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 10 | http://www.apache.org/licenses/LICENSE-2.0 |
Pierre De Rop | d050bd3 | 2015-10-25 22:31:43 +0000 | [diff] [blame] | 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. |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 18 | --> |
Pierre De Rop | d050bd3 | 2015-10-25 22:31:43 +0000 | [diff] [blame] | 19 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 20 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 21 | |
Pierre De Rop | d050bd3 | 2015-10-25 22:31:43 +0000 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <parent> |
| 24 | <groupId>org.apache.felix</groupId> |
| 25 | <artifactId>felix-parent</artifactId> |
| 26 | <version>3</version> |
| 27 | <relativePath>../../pom/pom.xml</relativePath> |
| 28 | </parent> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 29 | |
Pierre De Rop | d050bd3 | 2015-10-25 22:31:43 +0000 | [diff] [blame] | 30 | <groupId>org.apache.felix</groupId> |
| 31 | <artifactId>org.apache.felix.scr.bnd</artifactId> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 32 | |
Pierre De Rop | d050bd3 | 2015-10-25 22:31:43 +0000 | [diff] [blame] | 33 | <version>1.4.1-SNAPSHOT</version> |
| 34 | <packaging>jar</packaging> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 35 | |
Pierre De Rop | d050bd3 | 2015-10-25 22:31:43 +0000 | [diff] [blame] | 36 | <name>Bnd SCR Plugin</name> |
| 37 | <description> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 38 | Implements a Bnd scrplugin to generate Declarative Services |
| 39 | and Metatype Service descriptors from Java 5 annotations |
| 40 | and/or JavaDoc tags. |
| 41 | </description> |
| 42 | |
Carsten Ziegeler | e0dd8dd | 2014-03-12 08:28:17 +0000 | [diff] [blame] | 43 | <scm> |
Carsten Ziegeler | 9be1310 | 2015-04-23 15:38:30 +0000 | [diff] [blame] | 44 | <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/scrplugin/bnd-scr-plugin</connection> |
| 45 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/scrplugin/bnd-scr-plugin</developerConnection> |
| 46 | <url>http://svn.apache.org/repos/asf/felix/scrplugin/bnd-scr-plugin</url> |
Carsten Ziegeler | e0dd8dd | 2014-03-12 08:28:17 +0000 | [diff] [blame] | 47 | </scm> |
| 48 | |
Carsten Ziegeler | 2502388 | 2015-07-27 06:14:56 +0000 | [diff] [blame] | 49 | <properties> |
| 50 | <felix.java.version>6</felix.java.version> |
| 51 | </properties> |
| 52 | |
Pierre De Rop | d050bd3 | 2015-10-25 22:31:43 +0000 | [diff] [blame] | 53 | <dependencies> |
| 54 | <dependency> |
| 55 | <groupId>org.apache.felix</groupId> |
| 56 | <artifactId>org.apache.felix.scr.generator</artifactId> |
| 57 | <version>1.13.1-SNAPSHOT</version> |
| 58 | <scope>compile</scope> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.apache.felix</groupId> |
| 62 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 63 | <version>1.9.13-SNAPSHOT</version> |
| 64 | <scope>compile</scope> |
| 65 | </dependency> |
| 66 | <!-- bndlib is provided at runtime (it neither needs to be considered by the maven-shade-plugin nor as transitive dependency by Maven) --> |
| 67 | <dependency> |
| 68 | <groupId>biz.aQute.bnd</groupId> |
| 69 | <artifactId>bndlib</artifactId> |
| 70 | <version>2.1.0</version> |
| 71 | <scope>provided</scope> |
| 72 | </dependency> |
| 73 | </dependencies> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 74 | |
Pierre De Rop | d050bd3 | 2015-10-25 22:31:43 +0000 | [diff] [blame] | 75 | <build> |
| 76 | <plugins> |
| 77 | <!-- Use a shade plugin in order to append META-INF/service SPI resources into target artifact --> |
| 78 | <plugin> |
| 79 | <groupId>org.apache.maven.plugins</groupId> |
| 80 | <artifactId>maven-shade-plugin</artifactId> |
| 81 | <version>2.4.1</version> |
| 82 | <executions> |
| 83 | <execution> |
| 84 | <phase>package</phase> |
| 85 | <goals> |
| 86 | <goal>shade</goal> |
| 87 | </goals> |
| 88 | <configuration> |
| 89 | <transformers> |
| 90 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 91 | </transformers> |
| 92 | <!-- exclude provided dependencies --> |
| 93 | <artifactSet> |
| 94 | <excludes> |
| 95 | <!-- Don't include anything from bndlib (as this is always part of the classpath) --> |
| 96 | <exclude>biz.aQute.bnd:bndlib</exclude> |
| 97 | </excludes> |
| 98 | </artifactSet> |
| 99 | <filters> |
| 100 | <filter> |
| 101 | <artifact>org.osgi</artifact> |
| 102 | <!-- exclude everything which is already included in bndlib --> |
| 103 | <excludes> |
| 104 | <exclude>org/osgi/resource</exclude> |
| 105 | <exclude>org/osgi/service/component/annotations</exclude> |
| 106 | <exclude>org/osgi/service/metatype/annotations</exclude> |
| 107 | <exclude>org/osgi/service/repository</exclude> |
| 108 | </excludes> |
| 109 | </filter> |
| 110 | </filters> |
| 111 | </configuration> |
| 112 | </execution> |
| 113 | </executions> |
| 114 | </plugin> |
| 115 | </plugins> |
| 116 | </build> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 117 | </project> |