blob: 33b0ffb748052351d0d2db88f0e4446444a1a178 [file] [log] [blame]
Clement Escoffier803526d2011-12-03 09:12:04 +00001<!--
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 Escoffierec4c3eb2013-05-15 13:29:45 +000019<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 Escoffier195bb8f2011-12-06 15:04:44 +000020 <parent>
Clement Escoffier803526d2011-12-03 09:12:04 +000021 <groupId>org.apache.felix</groupId>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000022 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000023 <version>2.1</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000024 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>org.apache.felix.ipojo.ant</artifactId>
Clement Escoffier890b0df2014-01-20 15:21:36 +000028 <version>1.11.2-SNAPSHOT</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000029 <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 Escoffier07527a42013-04-22 12:09:44 +000035
36 <properties>
Clement Escoffier24b42a72013-10-03 14:09:29 +000037 <ipojo.import.packages>[1.11.0,2.0.0)</ipojo.import.packages>
Clement Escoffier07527a42013-04-22 12:09:44 +000038 </properties>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000039
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 Sauthier8c8c7c22013-06-01 18:45:03 +000049 <version>${project.version}</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000050 </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 Escoffier4d2f31e2013-05-09 15:09:43 +000061 <dependency>
62 <groupId>commons-cli</groupId>
63 <artifactId>commons-cli</artifactId>
64 <version>1.2</version>
65 </dependency>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000066 </dependencies>
67 <build>
Clement Escoffier07527a42013-04-22 12:09:44 +000068 <resources>
69 <resource>
70 <directory>src/main/resources</directory>
71 <filtering>true</filtering>
72 </resource>
73 </resources>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000074 <plugins>
75 <plugin>
76 <groupId>org.apache.felix</groupId>
77 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000078 <version>2.3.7</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000079 <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 Escoffierb76fae72013-05-28 04:37:54 +000086 <Bundle-DocURL>
87 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-ant-task.html
88 </Bundle-DocURL>
Clement Escoffier07527a42013-04-22 12:09:44 +000089 <Private-Package>
90 org.apache.felix.ipojo.metadata,
Clement Escoffier195bb8f2011-12-06 15:04:44 +000091 org.apache.felix.ipojo.manipulator*,
92 org.apache.felix.ipojo.xml.parser,
93 org.apache.felix.ipojo.manipulation*,
Clement Escoffier07527a42013-04-22 12:09:44 +000094 org.apache.felix.ipojo.annotations*,
Clement Escoffier195bb8f2011-12-06 15:04:44 +000095 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 Escoffier07527a42013-04-22 12:09:44 +000098 org.objectweb.asm.tree;-split-package:=merge-first,
Clement Escoffier195bb8f2011-12-06 15:04:44 +000099 org.apache.xerces.parsers, org.apache.xerces.xni*,
100 org.apache.xerces.impl*, org.apache.xerces.util.*,
Clement Escoffier4d2f31e2013-05-09 15:09:43 +0000101 org.apache.xerces.dom.*, org.apache.xerces.dom3.*,
102 <!-- commons-cli -->
103 org.apache.commons.cli
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000104 </Private-Package>
105 <Export-Package>org.apache.felix.ipojo.task</Export-Package>
Clement Escoffier4d2f31e2013-05-09 15:09:43 +0000106 <Main-Class>org.apache.felix.ipojo.task.IPojoc</Main-Class>
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000107 </instructions>
108 <obrRepository>NONE</obrRepository>
109 </configuration>
110 </plugin>
111 <plugin>
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-checkstyle-plugin</artifactId>
Guillaume Sauthier842f2ae2013-07-04 14:45:59 +0000114 <version>2.10</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000115 <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 Escoffier07527a42013-04-22 12:09:44 +0000129
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 Escoffier195bb8f2011-12-06 15:04:44 +0000153 </plugins>
154 </build>
Clement Escoffier803526d2011-12-03 09:12:04 +0000155</project>