blob: cd1c85f57cb66ec37ce58af32ef9002cd824d970 [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>
44 <version>1.4.0</version>
45 </dependency>
46 <dependency>
47 <groupId>org.apache.felix</groupId>
48 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
49 <version>${project.version}</version>
50 </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>
61 <dependency>
62 <groupId>commons-cli</groupId>
63 <artifactId>commons-cli</artifactId>
64 <version>1.2</version>
65 </dependency>
66 </dependencies>
67 <build>
68 <resources>
69 <resource>
70 <directory>src/main/resources</directory>
71 <filtering>true</filtering>
72 </resource>
73 </resources>
74 <plugins>
75 <plugin>
Clement Escoffier803526d2011-12-03 09:12:04 +000076 <groupId>org.apache.felix</groupId>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000077 <artifactId>maven-bundle-plugin</artifactId>
78 <version>2.3.7</version>
79 <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>
86 <Bundle-DocURL>
87 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-ant-task.html
88 </Bundle-DocURL>
89 <Private-Package>
90 org.apache.felix.ipojo.metadata,
91 org.apache.felix.ipojo.manipulator*,
92 org.apache.felix.ipojo.xml.parser,
93 org.apache.felix.ipojo.manipulation*,
94 org.apache.felix.ipojo.annotations*,
95 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,
98 org.objectweb.asm.tree;-split-package:=merge-first,
99 org.apache.xerces.parsers, org.apache.xerces.xni*,
100 org.apache.xerces.impl*, org.apache.xerces.util.*,
101 org.apache.xerces.dom.*, org.apache.xerces.dom3.*,
102 <!-- commons-cli -->
103 org.apache.commons.cli
104 </Private-Package>
105 <Export-Package>org.apache.felix.ipojo.task</Export-Package>
106 <Main-Class>org.apache.felix.ipojo.task.IPojoc</Main-Class>
107 </instructions>
108 <obrRepository>NONE</obrRepository>
109 </configuration>
110 </plugin>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-checkstyle-plugin</artifactId>
114 <version>2.10</version>
115 <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 Escoffier195bb8f2011-12-06 15:04:44 +0000129
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000130 <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>
153 </plugins>
154 </build>
Clement Escoffier803526d2011-12-03 09:12:04 +0000155</project>