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