blob: dae670759f6e1da29acb7fb9fcbfb3115c260d37 [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 Escoffier3037b742014-05-12 11:13:32 +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 Escoffier9b0f3f32014-05-07 19:04:33 +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>
Clement Escoffieree977242014-12-16 13:14:44 +000028 <version>1.12.2-SNAPSHOT</version>
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000029 <packaging>bundle</packaging>
30 <name>Apache Felix iPOJO Ant Task</name>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000031
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000032 <description>
33 Ant task to package iPOJO-powered bundles.
34 </description>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000035
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000036 <properties>
Clement Escoffierf4a9e9a2014-12-16 10:38:30 +000037 <ipojo.import.packages>[1.12.1,2.0.0)</ipojo.import.packages>
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000038 </properties>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000039
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +000040 <dependencies>
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000041 <dependency>
42 <groupId>org.apache.felix</groupId>
43 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
44 </dependency>
45 <dependency>
46 <groupId>org.apache.felix</groupId>
47 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
48 </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>
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +000064 </dependencies>
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +000065
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000066 <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>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000077
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000078 <build>
79 <resources>
80 <resource>
81 <directory>src/main/resources</directory>
82 <filtering>true</filtering>
83 </resource>
84 </resources>
85 <plugins>
86 <plugin>
87 <groupId>org.apache.felix</groupId>
88 <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,
109 org.objectweb.asm.tree*;-split-package:=merge-first,
110 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>
140
141 <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>