blob: b6bc807450eed6ad982784a5950a87ac2ab1d0fc [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">
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
23 <version>2.1</version>
24 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>org.apache.felix.ipojo.ant</artifactId>
28 <version>1.11.3-SNAPSHOT</version>
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>
35
36 <properties>
37 <ipojo.import.packages>[1.11.0,2.0.0)</ipojo.import.packages>
38 </properties>
39
40 <dependencies>
41 <dependency>
42 <groupId>org.apache.felix</groupId>
43 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000044 </dependency>
45 <dependency>
46 <groupId>org.apache.felix</groupId>
47 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000048 </dependency>
49 <dependency>
50 <groupId>xerces</groupId>
51 <artifactId>xercesImpl</artifactId>
52 <version>2.9.1</version>
53 </dependency>
54 <dependency>
55 <groupId>ant</groupId>
56 <artifactId>ant</artifactId>
57 <version>1.6.5</version>
58 </dependency>
59 <dependency>
60 <groupId>commons-cli</groupId>
61 <artifactId>commons-cli</artifactId>
62 <version>1.2</version>
63 </dependency>
64 </dependencies>
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +000065
66 <dependencyManagement>
67 <dependencies>
68 <dependency>
69 <groupId>org.apache.felix</groupId>
70 <artifactId>ipojo-manipulator-bom</artifactId>
71 <version>${project.version}</version>
72 <type>pom</type>
73 <scope>import</scope>
74 </dependency>
75 </dependencies>
76 </dependencyManagement>
77
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000078 <build>
79 <resources>
80 <resource>
81 <directory>src/main/resources</directory>
82 <filtering>true</filtering>
83 </resource>
84 </resources>
85 <plugins>
86 <plugin>
Clement Escoffier803526d2011-12-03 09:12:04 +000087 <groupId>org.apache.felix</groupId>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000088 <artifactId>maven-bundle-plugin</artifactId>
89 <version>2.3.7</version>
90 <extensions>true</extensions>
91 <configuration>
92 <instructions>
93 <Bundle-Name>iPOJO Ant Task</Bundle-Name>
94 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
95 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
96 <Bundle-Description>iPOJO Ant Task</Bundle-Description>
97 <Bundle-DocURL>
98 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-ant-task.html
99 </Bundle-DocURL>
100 <Private-Package>
101 org.apache.felix.ipojo.metadata,
102 org.apache.felix.ipojo.manipulator*,
103 org.apache.felix.ipojo.xml.parser,
104 org.apache.felix.ipojo.manipulation*,
105 org.apache.felix.ipojo.annotations*,
106 org.objectweb.asm.util;-split-package:=merge-first,
107 org.objectweb.asm;-split-package:=merge-first,
108 org.objectweb.asm.commons;-split-package:=merge-first,
Clement Escoffiere818ffc2014-05-06 15:23:03 +0000109 org.objectweb.asm.tree*;-split-package:=merge-first,
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000110 org.apache.xerces.parsers, org.apache.xerces.xni*,
111 org.apache.xerces.impl*, org.apache.xerces.util.*,
112 org.apache.xerces.dom.*, org.apache.xerces.dom3.*,
113 <!-- commons-cli -->
114 org.apache.commons.cli
115 </Private-Package>
116 <Export-Package>org.apache.felix.ipojo.task</Export-Package>
117 <Main-Class>org.apache.felix.ipojo.task.IPojoc</Main-Class>
118 </instructions>
119 <obrRepository>NONE</obrRepository>
120 </configuration>
121 </plugin>
122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-checkstyle-plugin</artifactId>
125 <version>2.10</version>
126 <configuration>
127 <enableRulesSummary>false</enableRulesSummary>
128 <violationSeverity>warning</violationSeverity>
129 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
130 </configuration>
131 </plugin>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-compiler-plugin</artifactId>
135 <configuration>
136 <source>1.5</source>
137 <target>1.5</target>
138 </configuration>
139 </plugin>
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000140
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000141 <plugin>
142 <groupId>org.apache.rat</groupId>
143 <artifactId>apache-rat-plugin</artifactId>
144 <executions>
145 <execution>
146 <phase>verify</phase>
147 <goals>
148 <goal>check</goal>
149 </goals>
150 </execution>
151 </executions>
152 <configuration>
153 <!-- check src only (except remote resources additions) -->
154 <includes>
155 <include>src/**</include>
156 </includes>
157 <excludes>
158 <exclude>src/main/appended-resources/**</exclude>
159 <exclude>src/main/resources/META-INF/services/org.apache.felix.ipojo.manipulator.spi.Module
160 </exclude>
161 </excludes>
162 </configuration>
163 </plugin>
164 </plugins>
165 </build>
Clement Escoffier803526d2011-12-03 09:12:04 +0000166</project>