| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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"> |
| <parent> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>felix-parent</artifactId> |
| <version>2.1</version> |
| <relativePath>../../../pom/pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>org.apache.felix.ipojo.ant</artifactId> |
| <version>1.12.2-SNAPSHOT</version> |
| <packaging>bundle</packaging> |
| <name>Apache Felix iPOJO Ant Task</name> |
| |
| <description> |
| Ant task to package iPOJO-powered bundles. |
| </description> |
| |
| <properties> |
| <ipojo.import.packages>[1.12.1,2.0.0)</ipojo.import.packages> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.ipojo.metadata</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</artifactId> |
| <version>2.9.1</version> |
| </dependency> |
| <dependency> |
| <groupId>ant</groupId> |
| <artifactId>ant</artifactId> |
| <version>1.6.5</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| <version>1.2</version> |
| </dependency> |
| </dependencies> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>ipojo-manipulator-bom</artifactId> |
| <version>${project.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.3.7</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-Name>iPOJO Ant Task</Bundle-Name> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| <Bundle-Description>iPOJO Ant Task</Bundle-Description> |
| <Bundle-DocURL> |
| http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-ant-task.html |
| </Bundle-DocURL> |
| <Private-Package> |
| org.apache.felix.ipojo.metadata, |
| org.apache.felix.ipojo.manipulator*, |
| org.apache.felix.ipojo.xml.parser, |
| org.apache.felix.ipojo.manipulation*, |
| org.apache.felix.ipojo.annotations*, |
| org.objectweb.asm.util;-split-package:=merge-first, |
| org.objectweb.asm;-split-package:=merge-first, |
| org.objectweb.asm.commons;-split-package:=merge-first, |
| org.objectweb.asm.tree*;-split-package:=merge-first, |
| org.apache.xerces.parsers, org.apache.xerces.xni*, |
| org.apache.xerces.impl*, org.apache.xerces.util.*, |
| org.apache.xerces.dom.*, org.apache.xerces.dom3.*, |
| <!-- commons-cli --> |
| org.apache.commons.cli |
| </Private-Package> |
| <Export-Package>org.apache.felix.ipojo.task</Export-Package> |
| <Main-Class>org.apache.felix.ipojo.task.IPojoc</Main-Class> |
| </instructions> |
| <obrRepository>NONE</obrRepository> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.10</version> |
| <configuration> |
| <enableRulesSummary>false</enableRulesSummary> |
| <violationSeverity>warning</violationSeverity> |
| <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <!-- check src only (except remote resources additions) --> |
| <includes> |
| <include>src/**</include> |
| </includes> |
| <excludes> |
| <exclude>src/main/appended-resources/**</exclude> |
| <exclude>src/main/resources/META-INF/services/org.apache.felix.ipojo.manipulator.spi.Module |
| </exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |