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