Felix Meschberger | 00b9b9d | 2010-10-21 10:55:34 +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 | |
| 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 | |
Carsten Ziegeler | 926f399 | 2011-07-14 17:01:27 +0000 | [diff] [blame] | 32 | <version>1.1.3-SNAPSHOT</version> |
Felix Meschberger | 00b9b9d | 2010-10-21 10:55:34 +0000 | [diff] [blame] | 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> |
Carsten Ziegeler | 926f399 | 2011-07-14 17:01:27 +0000 | [diff] [blame] | 42 | <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/scrplugin/scrtask</connection> |
| 43 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/scrplugin/scrtask</developerConnection> |
| 44 | <url>http://svn.apache.org/repos/asf/felix/scrplugin/scrtask</url> |
Felix Meschberger | 00b9b9d | 2010-10-21 10:55:34 +0000 | [diff] [blame] | 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> |
Carsten Ziegeler | 204766e | 2011-11-08 23:07:14 +0000 | [diff] [blame] | 57 | <version>1.1.4</version> |
Felix Meschberger | 00b9b9d | 2010-10-21 10:55:34 +0000 | [diff] [blame] | 58 | <scope>compile</scope> |
| 59 | </dependency> |
| 60 | </dependencies> |
| 61 | |
| 62 | <build> |
Felix Meschberger | 502fe7e | 2010-10-21 12:29:22 +0000 | [diff] [blame] | 63 | <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 Meschberger | 00b9b9d | 2010-10-21 10:55:34 +0000 | [diff] [blame] | 77 | <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 Meschberger | a617d0b | 2010-10-21 11:04:23 +0000 | [diff] [blame] | 88 | org.apache.felix.scr.generator,qdox,asm-all,org.apache.felix.scr.annotations |
Felix Meschberger | 00b9b9d | 2010-10-21 10:55:34 +0000 | [diff] [blame] | 89 | </includeArtifactIds> |
| 90 | <outputDirectory> |
| 91 | ${project.build.outputDirectory} |
| 92 | </outputDirectory> |
Felix Meschberger | 21abde5 | 2010-11-01 21:40:38 +0000 | [diff] [blame] | 93 | <excludes> |
| 94 | **/DEPENDENCIES,**/NOTICE,**/LICENSE,**/MANIFEST.MF |
| 95 | </excludes> |
Felix Meschberger | 00b9b9d | 2010-10-21 10:55:34 +0000 | [diff] [blame] | 96 | </configuration> |
| 97 | </execution> |
| 98 | </executions> |
| 99 | </plugin> |
Felix Meschberger | 8a97e67 | 2010-10-21 11:01:04 +0000 | [diff] [blame] | 100 | <!-- 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 Meschberger | 00b9b9d | 2010-10-21 10:55:34 +0000 | [diff] [blame] | 109 | </plugins> |
| 110 | </build> |
| 111 | </project> |