blob: 5c620c2e79daf5db809db9152ff952b886543086 [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">
Clement Escoffier195bb8f2011-12-06 15:04:44 +000020 <parent>
Clement Escoffier803526d2011-12-03 09:12:04 +000021 <groupId>org.apache.felix</groupId>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000022 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000023 <version>2.1</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000024 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>org.apache.felix.ipojo.ant</artifactId>
Clement Escoffier6658d502013-06-16 06:27:29 +000028 <version>1.10.2-SNAPSHOT</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000029 <packaging>bundle</packaging>
30 <name>Apache Felix iPOJO Ant Task</name>
31
32 <description>
33 Ant task to package iPOJO-powered bundles.
34 </description>
Clement Escoffier07527a42013-04-22 12:09:44 +000035
36 <properties>
37 <ipojo.import.packages>[1.8.0,2.0.0)</ipojo.import.packages>
38 </properties>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000039
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>
Guillaume Sauthier8c8c7c22013-06-01 18:45:03 +000049 <version>${project.version}</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000050 </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>
Clement Escoffier4d2f31e2013-05-09 15:09:43 +000061 <dependency>
62 <groupId>commons-cli</groupId>
63 <artifactId>commons-cli</artifactId>
64 <version>1.2</version>
65 </dependency>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000066 </dependencies>
67 <build>
Clement Escoffier07527a42013-04-22 12:09:44 +000068 <resources>
69 <resource>
70 <directory>src/main/resources</directory>
71 <filtering>true</filtering>
72 </resource>
73 </resources>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000074 <plugins>
75 <plugin>
76 <groupId>org.apache.felix</groupId>
77 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000078 <version>2.3.7</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000079 <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>
Clement Escoffierb76fae72013-05-28 04:37:54 +000086 <Bundle-DocURL>
87 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-ant-task.html
88 </Bundle-DocURL>
Clement Escoffier07527a42013-04-22 12:09:44 +000089 <Private-Package>
90 org.apache.felix.ipojo.metadata,
Clement Escoffier195bb8f2011-12-06 15:04:44 +000091 org.apache.felix.ipojo.manipulator*,
92 org.apache.felix.ipojo.xml.parser,
93 org.apache.felix.ipojo.manipulation*,
Clement Escoffier07527a42013-04-22 12:09:44 +000094 org.apache.felix.ipojo.annotations*,
Clement Escoffier195bb8f2011-12-06 15:04:44 +000095 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,
Clement Escoffier07527a42013-04-22 12:09:44 +000098 org.objectweb.asm.tree;-split-package:=merge-first,
Clement Escoffier195bb8f2011-12-06 15:04:44 +000099 org.apache.xerces.parsers, org.apache.xerces.xni*,
100 org.apache.xerces.impl*, org.apache.xerces.util.*,
Clement Escoffier4d2f31e2013-05-09 15:09:43 +0000101 org.apache.xerces.dom.*, org.apache.xerces.dom3.*,
102 <!-- commons-cli -->
103 org.apache.commons.cli
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000104 </Private-Package>
105 <Export-Package>org.apache.felix.ipojo.task</Export-Package>
Clement Escoffier4d2f31e2013-05-09 15:09:43 +0000106 <Main-Class>org.apache.felix.ipojo.task.IPojoc</Main-Class>
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000107 </instructions>
108 <obrRepository>NONE</obrRepository>
109 </configuration>
110 </plugin>
111 <plugin>
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-checkstyle-plugin</artifactId>
114 <configuration>
115 <enableRulesSummary>false</enableRulesSummary>
116 <violationSeverity>warning</violationSeverity>
117 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
118 </configuration>
119 </plugin>
120 <plugin>
121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-compiler-plugin</artifactId>
123 <configuration>
124 <source>1.5</source>
125 <target>1.5</target>
126 </configuration>
127 </plugin>
Clement Escoffier07527a42013-04-22 12:09:44 +0000128
129 <plugin>
130 <groupId>org.apache.rat</groupId>
131 <artifactId>apache-rat-plugin</artifactId>
132 <executions>
133 <execution>
134 <phase>verify</phase>
135 <goals>
136 <goal>check</goal>
137 </goals>
138 </execution>
139 </executions>
140 <configuration>
141 <!-- check src only (except remote resources additions) -->
142 <includes>
143 <include>src/**</include>
144 </includes>
145 <excludes>
146 <exclude>src/main/appended-resources/**</exclude>
147 <exclude>src/main/resources/META-INF/services/org.apache.felix.ipojo.manipulator.spi.Module
148 </exclude>
149 </excludes>
150 </configuration>
151 </plugin>
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000152 </plugins>
153 </build>
Clement Escoffier803526d2011-12-03 09:12:04 +0000154</project>