blob: 77dc9c241b093e952629fe212411dd8d14f8b3b9 [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 Escoffier0ed54202011-12-06 15:10:09 +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>
23 <version>1.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 <groupId>org.apache.felix</groupId>
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>
36 <url>
37 http://felix.apache.org/site/ipojo-ant-task.html
38 </url>
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>
Clement Escoffier54689a32012-10-28 13:52:47 +000049 <version>1.9.0-SNAPSHOT</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>
61 </dependencies>
62 <build>
Clement Escoffier114b2e02012-03-30 08:20:36 +000063 <resources>
64 <resource>
65 <directory>src/main/resources</directory>
66 </resource>
67 <resource>
68 <directory>.</directory>
69 <targetPath>META-INF</targetPath>
70 <includes>
71 <include>LICENSE*</include>
72 <include>NOTICE*</include>
73 <include>DEPENDENCIES*</include>
74 </includes>
75 </resource>
76 </resources>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000077 <plugins>
78 <plugin>
79 <groupId>org.apache.felix</groupId>
80 <artifactId>maven-bundle-plugin</artifactId>
81 <version>1.4.3</version>
82 <extensions>true</extensions>
83 <configuration>
84 <instructions>
85 <Bundle-Name>iPOJO Ant Task</Bundle-Name>
86 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
87 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
88 <Bundle-Description>iPOJO Ant Task</Bundle-Description>
89 <Bundle-DocURL>http://felix.apache.org/site/ipojo-ant-task.html</Bundle-DocURL>
90 <Private-Package>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.objectweb.asm.util;-split-package:=merge-first,
95 org.objectweb.asm;-split-package:=merge-first,
96 org.objectweb.asm.commons;-split-package:=merge-first,
97 org.apache.xerces.parsers, org.apache.xerces.xni*,
98 org.apache.xerces.impl*, org.apache.xerces.util.*,
99 org.apache.xerces.dom.*, org.apache.xerces.dom3.*
100 </Private-Package>
101 <Export-Package>org.apache.felix.ipojo.task</Export-Package>
102 <Include-Resource>
103 META-INF/LICENSE=LICENSE,
104 META-INF/NOTICE=NOTICE,
105 META-INF/LICENSE.asm=LICENSE.asm,
106 META-INF/DEPENDENCIES=DEPENDENCIES
107 </Include-Resource>
108 <Import-Package>!org.objectweb.asm.signature, !org.objectweb.asm.tree,
109 !org.objectweb.asm.tree.analysis, *
110 </Import-Package>
111 </instructions>
112 <obrRepository>NONE</obrRepository>
113 </configuration>
114 </plugin>
115 <plugin>
116 <groupId>org.codehaus.mojo</groupId>
117 <artifactId>rat-maven-plugin</artifactId>
118 <configuration>
119 <excludeSubProjects>false</excludeSubProjects>
120 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
121 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
122 <excludes>
123 <param>doc/**/*</param>
124 <param>maven-eclipse.xml</param>
125 <param>.checkstyle</param>
126 <param>.externalToolBuilders/*</param>
127 <param>LICENSE.asm</param>
128 </excludes>
129 </configuration>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-checkstyle-plugin</artifactId>
134 <configuration>
135 <enableRulesSummary>false</enableRulesSummary>
136 <violationSeverity>warning</violationSeverity>
137 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
138 </configuration>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-compiler-plugin</artifactId>
143 <configuration>
144 <source>1.5</source>
145 <target>1.5</target>
146 </configuration>
147 </plugin>
148 </plugins>
149 </build>
150
151 <profiles>
152 <profile>
153 <id>release</id>
154 <build>
155 <plugins>
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-javadoc-plugin</artifactId>
159 <executions>
160 <execution>
161 <id>attach-javadocs</id>
162 <goals>
163 <goal>jar</goal>
164 </goals>
165 </execution>
166 </executions>
167 </plugin>
168 </plugins>
169 </build>
170 </profile>
171 </profiles>
Clement Escoffier803526d2011-12-03 09:12:04 +0000172</project>