blob: 0ea3fdfc186397dd22d33b3a31ee001d03332a41 [file] [log] [blame]
Carsten Ziegelerca034f42007-08-24 07:43:23 +00001<!--
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 Ziegeler4490ee92007-08-24 07:39:56 +000019<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">
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000020
21 <modelVersion>4.0.0</modelVersion>
22 <parent>
Carsten Ziegeler9aa4f3b2009-05-14 20:05:45 +000023 <artifactId>felix-parent</artifactId>
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000024 <groupId>org.apache.felix</groupId>
Carsten Ziegeler9aa4f3b2009-05-14 20:05:45 +000025 <version>1.2.0</version>
Carsten Ziegelerb5618fe2009-03-31 17:18:17 +000026 <relativePath>../pom/pom.xml</relativePath>
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000027 </parent>
28
29 <groupId>org.apache.felix</groupId>
30 <artifactId>maven-scr-plugin</artifactId>
31
Carsten Ziegeler810ca2e2010-04-27 10:28:47 +000032 <version>1.4.5-SNAPSHOT</version>
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000033 <packaging>maven-plugin</packaging>
34
Carsten Ziegeler1bcecbb2007-08-27 14:40:26 +000035 <name>Maven SCR Plugin</name>
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000036 <description>
37 Maven plugin for generating OSGi service descriptors based on annotations.
38 </description>
39
40 <scm>
Carsten Ziegeler810ca2e2010-04-27 10:28:47 +000041 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/scrplugin</connection>
42 <developerConnection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/scrplugin</developerConnection>
43 <url>http://svn.apache.org/repos/asf/felix/scrplugin</url>
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000044 </scm>
45
46 <dependencies>
Felix Meschberger684b57f2009-10-02 13:54:55 +000047 <dependency>
48 <groupId>org.apache.maven</groupId>
49 <artifactId>maven-plugin-api</artifactId>
50 <version>2.0.7</version>
51 </dependency>
Felix Meschberger684b57f2009-10-02 13:54:55 +000052 <dependency>
53 <groupId>org.apache.maven</groupId>
54 <artifactId>maven-archiver</artifactId>
55 <version>2.2</version>
56 </dependency>
Felix Meschberger01926192010-10-20 21:13:22 +000057
58 <!-- Ant Task Implementation -->
59 <dependency>
60 <groupId>org.apache.ant</groupId>
61 <artifactId>ant</artifactId>
62 <version>1.7.0</version>
63 <scope>provided</scope>
64 </dependency>
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000065
Felix Meschberger684b57f2009-10-02 13:54:55 +000066 <!-- JavaDoc Tags -->
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000067 <dependency>
68 <groupId>com.thoughtworks.qdox</groupId>
69 <artifactId>qdox</artifactId>
Carsten Ziegeler76360992010-07-14 07:27:58 +000070 <version>1.12</version>
Felix Meschberger01926192010-10-20 21:13:22 +000071 <scope>provided</scope>
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +000072 </dependency>
Carsten Ziegeler829c1932008-02-04 08:34:12 +000073
Felix Meschberger684b57f2009-10-02 13:54:55 +000074 <!-- SCR Annotations -->
Carsten Ziegeler5de92da2009-03-31 17:12:40 +000075 <dependency>
76 <groupId>org.apache.felix</groupId>
Carsten Ziegelerba751bd2009-04-18 18:31:43 +000077 <artifactId>org.apache.felix.scr.annotations</artifactId>
Carsten Ziegeler341b7872010-07-19 11:32:29 +000078 <version>1.3.1-SNAPSHOT</version>
Felix Meschberger01926192010-10-20 21:13:22 +000079 <scope>provided</scope>
Carsten Ziegeler5de92da2009-03-31 17:12:40 +000080 </dependency>
Felix Meschberger684b57f2009-10-02 13:54:55 +000081
Felix Meschberger684b57f2009-10-02 13:54:55 +000082 <!-- bind/unbind method generation -->
83 <dependency>
84 <groupId>asm</groupId>
85 <artifactId>asm-all</artifactId>
86 <version>3.1</version>
Felix Meschberger01926192010-10-20 21:13:22 +000087 <scope>provided</scope>
Felix Meschberger684b57f2009-10-02 13:54:55 +000088 </dependency>
89
Felix Meschberger01926192010-10-20 21:13:22 +000090 <!-- OSGi APIs (some constant references used only) -->
Felix Meschberger684b57f2009-10-02 13:54:55 +000091 <dependency>
92 <groupId>org.osgi</groupId>
93 <artifactId>org.osgi.core</artifactId>
94 <version>4.0.0</version>
Felix Meschberger01926192010-10-20 21:13:22 +000095 <scope>provided</scope>
Felix Meschberger684b57f2009-10-02 13:54:55 +000096 </dependency>
97 <dependency>
98 <groupId>org.osgi</groupId>
99 <artifactId>org.osgi.compendium</artifactId>
100 <version>4.0.0</version>
Felix Meschberger01926192010-10-20 21:13:22 +0000101 <scope>provided</scope>
Felix Meschberger684b57f2009-10-02 13:54:55 +0000102 </dependency>
Carsten Ziegeler4ccaaeb2007-08-20 07:20:03 +0000103 </dependencies>
Carsten Ziegeler5de92da2009-03-31 17:12:40 +0000104
105 <build>
106 <plugins>
Felix Meschberger01926192010-10-20 21:13:22 +0000107 <!-- unpack qdox, asm and annotations into bundle package -->
108 <plugin>
109 <artifactId>maven-dependency-plugin</artifactId>
110 <executions>
111 <execution>
112 <goals>
113 <goal>unpack-dependencies</goal>
114 </goals>
115 <configuration>
116 <includeArtifactIds>
117 qdox,asm-all,org.apache.felix.scr.annotations
118 </includeArtifactIds>
119 <outputDirectory>
120 ${project.build.outputDirectory}
121 </outputDirectory>
122 </configuration>
123 </execution>
124 </executions>
125 </plugin>
Carsten Ziegeler5de92da2009-03-31 17:12:40 +0000126
Felix Meschberger01926192010-10-20 21:13:22 +0000127 <!-- JDK 1.5 needed for annotation support -->
Carsten Ziegeler5de92da2009-03-31 17:12:40 +0000128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-compiler-plugin</artifactId>
131 <configuration>
132 <source>1.5</source>
133 <target>1.5</target>
134 </configuration>
135 </plugin>
Carsten Ziegeler5de92da2009-03-31 17:12:40 +0000136 </plugins>
137 </build>
Stuart McCulloch617bb532008-01-28 08:51:49 +0000138</project>