Felix Meschberger | 5477337 | 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 | |
| 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> |
Felix Meschberger | 53dd92d | 2010-10-21 11:04:23 +0000 | [diff] [blame] | 60 | <dependency> |
| 61 | <groupId>org.apache.felix</groupId> |
| 62 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 63 | <version>1.3.1-SNAPSHOT</version> |
| 64 | <scope>compile</scope> |
| 65 | </dependency> |
Felix Meschberger | 5477337 | 2010-10-21 10:55:34 +0000 | [diff] [blame] | 66 | </dependencies> |
| 67 | |
| 68 | <build> |
Felix Meschberger | 665e8fd | 2010-10-21 12:29:22 +0000 | [diff] [blame^] | 69 | <resources> |
| 70 | <resource> |
| 71 | <directory>${basedir}/src/main/resources</directory> |
| 72 | </resource> |
| 73 | <resource> |
| 74 | <targetPath>META-INF</targetPath> |
| 75 | <directory>${basedir}</directory> |
| 76 | <includes> |
| 77 | <include>LICENSE</include> |
| 78 | <include>NOTICE</include> |
| 79 | <include>DEPENDENCIES</include> |
| 80 | </includes> |
| 81 | </resource> |
| 82 | </resources> |
Felix Meschberger | 5477337 | 2010-10-21 10:55:34 +0000 | [diff] [blame] | 83 | <plugins> |
| 84 | <!-- unpack qdox, asm and annotations into bundle package --> |
| 85 | <plugin> |
| 86 | <artifactId>maven-dependency-plugin</artifactId> |
| 87 | <executions> |
| 88 | <execution> |
| 89 | <goals> |
| 90 | <goal>unpack-dependencies</goal> |
| 91 | </goals> |
| 92 | <configuration> |
| 93 | <includeArtifactIds> |
Felix Meschberger | 53dd92d | 2010-10-21 11:04:23 +0000 | [diff] [blame] | 94 | org.apache.felix.scr.generator,qdox,asm-all,org.apache.felix.scr.annotations |
Felix Meschberger | 5477337 | 2010-10-21 10:55:34 +0000 | [diff] [blame] | 95 | </includeArtifactIds> |
| 96 | <outputDirectory> |
| 97 | ${project.build.outputDirectory} |
| 98 | </outputDirectory> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | </executions> |
| 102 | </plugin> |
Felix Meschberger | 58593d8 | 2010-10-21 11:01:04 +0000 | [diff] [blame] | 103 | <!-- JDK 1.5 needed for annotation support --> |
| 104 | <plugin> |
| 105 | <groupId>org.apache.maven.plugins</groupId> |
| 106 | <artifactId>maven-compiler-plugin</artifactId> |
| 107 | <configuration> |
| 108 | <source>1.5</source> |
| 109 | <target>1.5</target> |
| 110 | </configuration> |
| 111 | </plugin> |
Felix Meschberger | 5477337 | 2010-10-21 10:55:34 +0000 | [diff] [blame] | 112 | </plugins> |
| 113 | </build> |
| 114 | </project> |