Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +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 | 564b0d2 | 2014-03-12 09:12:15 +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"> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 20 | |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | <parent> |
| 23 | <groupId>org.apache.felix</groupId> |
| 24 | <artifactId>felix-parent</artifactId> |
Carsten Ziegeler | 2502388 | 2015-07-27 06:14:56 +0000 | [diff] [blame] | 25 | <version>3</version> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 26 | <relativePath>../../pom/pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <groupId>org.apache.felix</groupId> |
| 30 | <artifactId>org.apache.felix.scr.bnd</artifactId> |
| 31 | |
Carsten Ziegeler | 9be1310 | 2015-04-23 15:38:30 +0000 | [diff] [blame] | 32 | <version>1.4.1-SNAPSHOT</version> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 33 | <packaging>jar</packaging> |
| 34 | |
| 35 | <name>Bnd SCR Plugin</name> |
| 36 | <description> |
| 37 | Implements a Bnd scrplugin to generate Declarative Services |
| 38 | and Metatype Service descriptors from Java 5 annotations |
| 39 | and/or JavaDoc tags. |
| 40 | </description> |
| 41 | |
Carsten Ziegeler | e0dd8dd | 2014-03-12 08:28:17 +0000 | [diff] [blame] | 42 | <scm> |
Carsten Ziegeler | 9be1310 | 2015-04-23 15:38:30 +0000 | [diff] [blame] | 43 | <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/scrplugin/bnd-scr-plugin</connection> |
| 44 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/scrplugin/bnd-scr-plugin</developerConnection> |
| 45 | <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] | 46 | </scm> |
| 47 | |
Carsten Ziegeler | 2502388 | 2015-07-27 06:14:56 +0000 | [diff] [blame] | 48 | <properties> |
| 49 | <felix.java.version>6</felix.java.version> |
| 50 | </properties> |
| 51 | |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 52 | <dependencies> |
| 53 | <dependency> |
| 54 | <groupId>org.apache.felix</groupId> |
| 55 | <artifactId>org.apache.felix.scr.generator</artifactId> |
Carsten Ziegeler | 5a8a3bf | 2015-04-23 15:53:25 +0000 | [diff] [blame] | 56 | <version>1.13.1-SNAPSHOT</version> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 57 | <scope>compile</scope> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.apache.felix</groupId> |
| 61 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
Carsten Ziegeler | 5a8a3bf | 2015-04-23 15:53:25 +0000 | [diff] [blame] | 62 | <version>1.9.13-SNAPSHOT</version> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 63 | <scope>compile</scope> |
| 64 | </dependency> |
| 65 | <dependency> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 66 | <groupId>org.ow2.asm</groupId> |
| 67 | <artifactId>asm-all</artifactId> |
Carsten Ziegeler | fb3aa19 | 2014-05-02 07:55:11 +0000 | [diff] [blame] | 68 | <version>5.0.2</version> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 69 | <scope>compile</scope> |
| 70 | </dependency> |
| 71 | <dependency> |
| 72 | <groupId>org.osgi</groupId> |
| 73 | <artifactId>org.osgi.core</artifactId> |
| 74 | <version>4.3.0</version> |
| 75 | <scope>compile</scope> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <groupId>org.osgi</groupId> |
| 79 | <artifactId>org.osgi.compendium</artifactId> |
| 80 | <version>4.3.0</version> |
| 81 | <scope>compile</scope> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>biz.aQute.bnd</groupId> |
| 85 | <artifactId>bndlib</artifactId> |
| 86 | <version>2.1.0</version> |
| 87 | <scope>compile</scope> |
| 88 | </dependency> |
| 89 | </dependencies> |
| 90 | |
| 91 | <build> |
| 92 | <plugins> |
| 93 | <!-- Use a shade plugin in order to append META-INF/service SPI resources into target artifact --> |
| 94 | <plugin> |
| 95 | <groupId>org.apache.maven.plugins</groupId> |
| 96 | <artifactId>maven-shade-plugin</artifactId> |
| 97 | <version>2.1</version> |
| 98 | <executions> |
| 99 | <execution> |
| 100 | <phase>package</phase> |
| 101 | <goals> |
| 102 | <goal>shade</goal> |
| 103 | </goals> |
| 104 | <configuration> |
| 105 | <transformers> |
Carsten Ziegeler | 564b0d2 | 2014-03-12 09:12:15 +0000 | [diff] [blame] | 106 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 107 | </transformers> |
Pierre De Rop | 3ce5c0b | 2014-07-19 21:02:30 +0000 | [diff] [blame] | 108 | <!-- Don't include anything from bndlib --> |
| 109 | <artifactSet> |
| 110 | <excludes> |
| 111 | <exclude>biz.aQute.bnd:bndlib</exclude> |
| 112 | </excludes> |
| 113 | </artifactSet> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 114 | </configuration> |
| 115 | </execution> |
| 116 | </executions> |
| 117 | </plugin> |
| 118 | |
| 119 | <!-- unpack cmpdm,asm,scr generator and annotations in target artifact --> |
| 120 | <plugin> |
| 121 | <artifactId>maven-dependency-plugin</artifactId> |
| 122 | <executions> |
| 123 | <execution> |
| 124 | <goals> |
| 125 | <goal>unpack-dependencies</goal> |
| 126 | </goals> |
| 127 | <configuration> |
| 128 | <includeArtifactIds> |
Pierre De Rop | a0f5944 | 2013-08-10 14:23:23 +0000 | [diff] [blame] | 129 | org.osgi.compendium,asm-all,org.apache.felix.scr.generator,org.apache.felix.scr.annotations |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 130 | </includeArtifactIds> |
| 131 | <outputDirectory> |
| 132 | ${project.build.outputDirectory} |
| 133 | </outputDirectory> |
| 134 | <excludes> |
| 135 | **/MANIFEST.MF |
| 136 | </excludes> |
| 137 | </configuration> |
| 138 | </execution> |
| 139 | </executions> |
| 140 | </plugin> |
Pierre De Rop | 96c881f | 2013-07-06 08:35:29 +0000 | [diff] [blame] | 141 | </plugins> |
| 142 | </build> |
| 143 | </project> |