blob: d56df9122afa388a90e7825c1c376af00253d5be [file] [log] [blame]
Felix Meschberger54773372010-10-21 10:55:34 +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-->
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
21 <modelVersion>4.0.0</modelVersion>
22 <parent>
23 <artifactId>felix-parent</artifactId>
24 <groupId>org.apache.felix</groupId>
25 <version>1.2.0</version>
26 <relativePath>../pom/pom.xml</relativePath>
27 </parent>
28
29 <groupId>org.apache.felix</groupId>
30 <artifactId>org.apache.felix.scr.ant</artifactId>
31
32 <version>0.0.1-SNAPSHOT</version>
33 <packaging>jar</packaging>
34
35 <name>SCR Ant Task</name>
36 <description>
37 Implements the Ant Task to generate Declarative Services and Metatype
38 Service descriptors from Java 5 annotations and/or JavaDoc tags.
39 </description>
40
41 <scm>
42 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/scrplugin/scrtask</connection>
43 <developerConnection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/scrplugin/scrtask</developerConnection>
44 <url>http://svn.apache.org/repos/asf/felix/scrplugin/scrtask</url>
45 </scm>
46
47 <dependencies>
48 <dependency>
49 <groupId>org.apache.ant</groupId>
50 <artifactId>ant</artifactId>
51 <version>1.7.0</version>
52 <scope>provided</scope>
53 </dependency>
54 <dependency>
55 <groupId>org.apache.felix</groupId>
56 <artifactId>org.apache.felix.scr.generator</artifactId>
57 <version>0.0.1-SNAPSHOT</version>
58 <scope>compile</scope>
59 </dependency>
60 </dependencies>
61
62 <build>
Felix Meschberger665e8fd2010-10-21 12:29:22 +000063 <resources>
64 <resource>
65 <directory>${basedir}/src/main/resources</directory>
66 </resource>
67 <resource>
68 <targetPath>META-INF</targetPath>
69 <directory>${basedir}</directory>
70 <includes>
71 <include>LICENSE</include>
72 <include>NOTICE</include>
73 <include>DEPENDENCIES</include>
74 </includes>
75 </resource>
76 </resources>
Felix Meschberger54773372010-10-21 10:55:34 +000077 <plugins>
78 <!-- unpack qdox, asm and annotations into bundle package -->
79 <plugin>
80 <artifactId>maven-dependency-plugin</artifactId>
81 <executions>
82 <execution>
83 <goals>
84 <goal>unpack-dependencies</goal>
85 </goals>
86 <configuration>
87 <includeArtifactIds>
Felix Meschberger53dd92d2010-10-21 11:04:23 +000088 org.apache.felix.scr.generator,qdox,asm-all,org.apache.felix.scr.annotations
Felix Meschberger54773372010-10-21 10:55:34 +000089 </includeArtifactIds>
90 <outputDirectory>
91 ${project.build.outputDirectory}
92 </outputDirectory>
Felix Meschberger780b14a2010-11-01 21:40:38 +000093 <excludes>
94 **/DEPENDENCIES,**/NOTICE,**/LICENSE,**/MANIFEST.MF
95 </excludes>
Felix Meschberger54773372010-10-21 10:55:34 +000096 </configuration>
97 </execution>
98 </executions>
99 </plugin>
Felix Meschberger58593d82010-10-21 11:01:04 +0000100 <!-- JDK 1.5 needed for annotation support -->
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-compiler-plugin</artifactId>
104 <configuration>
105 <source>1.5</source>
106 <target>1.5</target>
107 </configuration>
108 </plugin>
Felix Meschberger54773372010-10-21 10:55:34 +0000109 </plugins>
110 </build>
111</project>