Clement Escoffier | 803526d | 2011-12-03 09:12:04 +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 | --> |
Clement Escoffier | 07527a4 | 2013-04-22 12:09:44 +0000 | [diff] [blame] | 19 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 20 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 21 | <parent> |
Clement Escoffier | 803526d | 2011-12-03 09:12:04 +0000 | [diff] [blame] | 22 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 23 | <artifactId>felix-parent</artifactId> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 24 | <version>2.1</version> |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 25 | <relativePath>../../../pom/pom.xml</relativePath> |
| 26 | </parent> |
| 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | <artifactId>org.apache.felix.ipojo.ant</artifactId> |
Clement Escoffier | 54689a3 | 2012-10-28 13:52:47 +0000 | [diff] [blame] | 29 | <version>1.9.0-SNAPSHOT</version> |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 30 | <packaging>bundle</packaging> |
| 31 | <name>Apache Felix iPOJO Ant Task</name> |
| 32 | |
| 33 | <description> |
| 34 | Ant task to package iPOJO-powered bundles. |
| 35 | </description> |
Clement Escoffier | 07527a4 | 2013-04-22 12:09:44 +0000 | [diff] [blame] | 36 | |
| 37 | <properties> |
| 38 | <ipojo.import.packages>[1.8.0,2.0.0)</ipojo.import.packages> |
| 39 | </properties> |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 40 | |
| 41 | <dependencies> |
| 42 | <dependency> |
| 43 | <groupId>org.apache.felix</groupId> |
| 44 | <artifactId>org.apache.felix.ipojo.metadata</artifactId> |
| 45 | <version>1.4.0</version> |
| 46 | </dependency> |
| 47 | <dependency> |
| 48 | <groupId>org.apache.felix</groupId> |
| 49 | <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
Clement Escoffier | 54689a3 | 2012-10-28 13:52:47 +0000 | [diff] [blame] | 50 | <version>1.9.0-SNAPSHOT</version> |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 51 | </dependency> |
| 52 | <dependency> |
| 53 | <groupId>xerces</groupId> |
| 54 | <artifactId>xercesImpl</artifactId> |
| 55 | <version>2.9.1</version> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>ant</groupId> |
| 59 | <artifactId>ant</artifactId> |
| 60 | <version>1.6.5</version> |
| 61 | </dependency> |
| 62 | </dependencies> |
| 63 | <build> |
Clement Escoffier | 07527a4 | 2013-04-22 12:09:44 +0000 | [diff] [blame] | 64 | <resources> |
| 65 | <resource> |
| 66 | <directory>src/main/resources</directory> |
| 67 | <filtering>true</filtering> |
| 68 | </resource> |
| 69 | </resources> |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 70 | <plugins> |
| 71 | <plugin> |
| 72 | <groupId>org.apache.felix</groupId> |
| 73 | <artifactId>maven-bundle-plugin</artifactId> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 74 | <version>2.3.7</version> |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 75 | <extensions>true</extensions> |
| 76 | <configuration> |
| 77 | <instructions> |
| 78 | <Bundle-Name>iPOJO Ant Task</Bundle-Name> |
| 79 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| 80 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| 81 | <Bundle-Description>iPOJO Ant Task</Bundle-Description> |
| 82 | <Bundle-DocURL>http://felix.apache.org/site/ipojo-ant-task.html</Bundle-DocURL> |
Clement Escoffier | 07527a4 | 2013-04-22 12:09:44 +0000 | [diff] [blame] | 83 | <Private-Package> |
| 84 | org.apache.felix.ipojo.metadata, |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 85 | org.apache.felix.ipojo.manipulator*, |
| 86 | org.apache.felix.ipojo.xml.parser, |
| 87 | org.apache.felix.ipojo.manipulation*, |
Clement Escoffier | 07527a4 | 2013-04-22 12:09:44 +0000 | [diff] [blame] | 88 | org.apache.felix.ipojo.annotations*, |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 89 | org.objectweb.asm.util;-split-package:=merge-first, |
| 90 | org.objectweb.asm;-split-package:=merge-first, |
| 91 | org.objectweb.asm.commons;-split-package:=merge-first, |
Clement Escoffier | 07527a4 | 2013-04-22 12:09:44 +0000 | [diff] [blame] | 92 | org.objectweb.asm.tree;-split-package:=merge-first, |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 93 | org.apache.xerces.parsers, org.apache.xerces.xni*, |
| 94 | org.apache.xerces.impl*, org.apache.xerces.util.*, |
| 95 | org.apache.xerces.dom.*, org.apache.xerces.dom3.* |
| 96 | </Private-Package> |
| 97 | <Export-Package>org.apache.felix.ipojo.task</Export-Package> |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 98 | </instructions> |
| 99 | <obrRepository>NONE</obrRepository> |
| 100 | </configuration> |
| 101 | </plugin> |
| 102 | <plugin> |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 103 | <groupId>org.apache.maven.plugins</groupId> |
| 104 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 105 | <configuration> |
| 106 | <enableRulesSummary>false</enableRulesSummary> |
| 107 | <violationSeverity>warning</violationSeverity> |
| 108 | <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| 109 | </configuration> |
| 110 | </plugin> |
| 111 | <plugin> |
| 112 | <groupId>org.apache.maven.plugins</groupId> |
| 113 | <artifactId>maven-compiler-plugin</artifactId> |
| 114 | <configuration> |
| 115 | <source>1.5</source> |
| 116 | <target>1.5</target> |
| 117 | </configuration> |
| 118 | </plugin> |
Clement Escoffier | 07527a4 | 2013-04-22 12:09:44 +0000 | [diff] [blame] | 119 | |
| 120 | <plugin> |
| 121 | <groupId>org.apache.rat</groupId> |
| 122 | <artifactId>apache-rat-plugin</artifactId> |
| 123 | <executions> |
| 124 | <execution> |
| 125 | <phase>verify</phase> |
| 126 | <goals> |
| 127 | <goal>check</goal> |
| 128 | </goals> |
| 129 | </execution> |
| 130 | </executions> |
| 131 | <configuration> |
| 132 | <!-- check src only (except remote resources additions) --> |
| 133 | <includes> |
| 134 | <include>src/**</include> |
| 135 | </includes> |
| 136 | <excludes> |
| 137 | <exclude>src/main/appended-resources/**</exclude> |
| 138 | <exclude>src/main/resources/META-INF/services/org.apache.felix.ipojo.manipulator.spi.Module |
| 139 | </exclude> |
| 140 | </excludes> |
| 141 | </configuration> |
| 142 | </plugin> |
Clement Escoffier | 195bb8f | 2011-12-06 15:04:44 +0000 | [diff] [blame] | 143 | </plugins> |
| 144 | </build> |
Clement Escoffier | 803526d | 2011-12-03 09:12:04 +0000 | [diff] [blame] | 145 | </project> |