blob: f6f5a346973c5ebb59cdbbccaef0e3d5f18a53ac [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 Escoffier07527a42013-04-22 12:09:44 +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">
Clement Escoffier195bb8f2011-12-06 15:04:44 +000021 <parent>
Clement Escoffier803526d2011-12-03 09:12:04 +000022 <groupId>org.apache.felix</groupId>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000023 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000024 <version>2.1</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000025 <relativePath>../../../pom/pom.xml</relativePath>
26 </parent>
27 <modelVersion>4.0.0</modelVersion>
28 <artifactId>org.apache.felix.ipojo.ant</artifactId>
Clement Escoffier54689a32012-10-28 13:52:47 +000029 <version>1.9.0-SNAPSHOT</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000030 <packaging>bundle</packaging>
31 <name>Apache Felix iPOJO Ant Task</name>
32
33 <description>
34 Ant task to package iPOJO-powered bundles.
35 </description>
Clement Escoffier07527a42013-04-22 12:09:44 +000036
37 <properties>
38 <ipojo.import.packages>[1.8.0,2.0.0)</ipojo.import.packages>
39 </properties>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000040
41 <dependencies>
42 <dependency>
43 <groupId>org.apache.felix</groupId>
44 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
45 <version>1.4.0</version>
46 </dependency>
47 <dependency>
48 <groupId>org.apache.felix</groupId>
49 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier54689a32012-10-28 13:52:47 +000050 <version>1.9.0-SNAPSHOT</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000051 </dependency>
52 <dependency>
53 <groupId>xerces</groupId>
54 <artifactId>xercesImpl</artifactId>
55 <version>2.9.1</version>
56 </dependency>
57 <dependency>
58 <groupId>ant</groupId>
59 <artifactId>ant</artifactId>
60 <version>1.6.5</version>
61 </dependency>
62 </dependencies>
63 <build>
Clement Escoffier07527a42013-04-22 12:09:44 +000064 <resources>
65 <resource>
66 <directory>src/main/resources</directory>
67 <filtering>true</filtering>
68 </resource>
69 </resources>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000070 <plugins>
71 <plugin>
72 <groupId>org.apache.felix</groupId>
73 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000074 <version>2.3.7</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000075 <extensions>true</extensions>
76 <configuration>
77 <instructions>
78 <Bundle-Name>iPOJO Ant Task</Bundle-Name>
79 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
80 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
81 <Bundle-Description>iPOJO Ant Task</Bundle-Description>
82 <Bundle-DocURL>http://felix.apache.org/site/ipojo-ant-task.html</Bundle-DocURL>
Clement Escoffier07527a42013-04-22 12:09:44 +000083 <Private-Package>
84 org.apache.felix.ipojo.metadata,
Clement Escoffier195bb8f2011-12-06 15:04:44 +000085 org.apache.felix.ipojo.manipulator*,
86 org.apache.felix.ipojo.xml.parser,
87 org.apache.felix.ipojo.manipulation*,
Clement Escoffier07527a42013-04-22 12:09:44 +000088 org.apache.felix.ipojo.annotations*,
Clement Escoffier195bb8f2011-12-06 15:04:44 +000089 org.objectweb.asm.util;-split-package:=merge-first,
90 org.objectweb.asm;-split-package:=merge-first,
91 org.objectweb.asm.commons;-split-package:=merge-first,
Clement Escoffier07527a42013-04-22 12:09:44 +000092 org.objectweb.asm.tree;-split-package:=merge-first,
Clement Escoffier195bb8f2011-12-06 15:04:44 +000093 org.apache.xerces.parsers, org.apache.xerces.xni*,
94 org.apache.xerces.impl*, org.apache.xerces.util.*,
95 org.apache.xerces.dom.*, org.apache.xerces.dom3.*
96 </Private-Package>
97 <Export-Package>org.apache.felix.ipojo.task</Export-Package>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000098 </instructions>
99 <obrRepository>NONE</obrRepository>
100 </configuration>
101 </plugin>
102 <plugin>
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-checkstyle-plugin</artifactId>
105 <configuration>
106 <enableRulesSummary>false</enableRulesSummary>
107 <violationSeverity>warning</violationSeverity>
108 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
109 </configuration>
110 </plugin>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-compiler-plugin</artifactId>
114 <configuration>
115 <source>1.5</source>
116 <target>1.5</target>
117 </configuration>
118 </plugin>
Clement Escoffier07527a42013-04-22 12:09:44 +0000119
120 <plugin>
121 <groupId>org.apache.rat</groupId>
122 <artifactId>apache-rat-plugin</artifactId>
123 <executions>
124 <execution>
125 <phase>verify</phase>
126 <goals>
127 <goal>check</goal>
128 </goals>
129 </execution>
130 </executions>
131 <configuration>
132 <!-- check src only (except remote resources additions) -->
133 <includes>
134 <include>src/**</include>
135 </includes>
136 <excludes>
137 <exclude>src/main/appended-resources/**</exclude>
138 <exclude>src/main/resources/META-INF/services/org.apache.felix.ipojo.manipulator.spi.Module
139 </exclude>
140 </excludes>
141 </configuration>
142 </plugin>
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000143 </plugins>
144 </build>
Clement Escoffier803526d2011-12-03 09:12:04 +0000145</project>