blob: 01d5a3cac0b9f025968d676ddde5cdec73bfd055 [file] [log] [blame]
Clement Escoffierd9571952013-02-27 15:51:08 +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-->
19<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/maven-v4_0_0.xsd">
21 <parent>
22 <groupId>org.apache.felix</groupId>
23 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000024 <version>2.1</version>
Clement Escoffierd9571952013-02-27 15:51:08 +000025 <relativePath>../../../../pom/pom.xml</relativePath>
26 </parent>
27 <modelVersion>4.0.0</modelVersion>
28 <packaging>bundle</packaging>
29 <name>Apache Felix iPOJO Event Admin Handler</name>
30 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
31 <version>1.9.0-SNAPSHOT</version>
32
33 <description>
34 iPOJO extension to easily interact with the OSGi Event Admin.
35 </description>
36 <url>http://felix.apache.org/site/event-admin-handlers.html</url>
37
Clement Escoffierd9571952013-02-27 15:51:08 +000038 <dependencies>
39 <dependency>
40 <groupId>org.apache.felix</groupId>
41 <artifactId>org.apache.felix.ipojo</artifactId>
42 <version>1.6.0</version>
43 </dependency>
44 <dependency>
45 <groupId>org.osgi</groupId>
46 <artifactId>org.osgi.core</artifactId>
47 <version>4.2.0</version>
48 </dependency>
49 <dependency>
50 <groupId>org.osgi</groupId>
51 <artifactId>org.osgi.compendium</artifactId>
52 <version>4.2.0</version>
53 </dependency>
54 </dependencies>
55 <build>
56 <plugins>
57 <plugin>
58 <groupId>org.apache.felix</groupId>
59 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000060 <version>2.3.7</version>
Clement Escoffierd9571952013-02-27 15:51:08 +000061 <extensions>true</extensions>
62 <configuration>
63 <instructions>
64 <Export-Package>org.apache.felix.ipojo.handlers.event*;version="1.2.0"</Export-Package>
65 <Bundle-Name>${project.name}</Bundle-Name>
66 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
67 <Bundle-Description>iPOJO Event Admin Handlers
68 </Bundle-Description>
69 <Bundle-DocURL>
70 http://felix.apache.org/site/event-admin-handlers.html
71 </Bundle-DocURL>
72 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
Clement Escoffierd9571952013-02-27 15:51:08 +000073 </instructions>
74 </configuration>
75 </plugin>
76 <plugin>
77 <groupId>org.apache.felix</groupId>
78 <artifactId>maven-ipojo-plugin</artifactId>
79 <version>1.9.0-SNAPSHOT</version>
80 <executions>
81 <execution>
82 <goals>
83 <goal>ipojo-bundle</goal>
84 </goals>
85 <configuration>
86 <metadata>metadata.xml</metadata>
87 </configuration>
88 </execution>
89 </executions>
90 </plugin>
91 <plugin>
Clement Escoffierd9571952013-02-27 15:51:08 +000092 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-checkstyle-plugin</artifactId>
94 <configuration>
95 <enableRulesSummary>false</enableRulesSummary>
96 <violationSeverity>warning</violationSeverity>
97 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
98 </configuration>
99 </plugin>
100 <plugin>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-compiler-plugin</artifactId>
103 <version>2.5.1</version>
104 <configuration>
105 <source>1.6</source>
106 <target>1.6</target>
107 </configuration>
108 </plugin>
109 </plugins>
110 </build>
111
112 <profiles>
113 <profile>
114 <id>test</id>
115 <activation>
116 <activeByDefault>true</activeByDefault>
117 </activation>
118 <build>
119 <plugins>
120 <plugin>
121 <groupId>org.apache.maven.plugins</groupId>
122 <artifactId>maven-invoker-plugin</artifactId>
123 <version>1.8</version>
124 <configuration>
125 <streamLogs>true</streamLogs>
126 <goals>
127 <goal>clean</goal>
128 <goal>test</goal>
129 </goals>
130 <cloneClean>true</cloneClean>
131 </configuration>
132 <executions>
133 <execution>
134 <id>regular</id>
135 <goals>
136 <goal>run</goal>
137 </goals>
138 <configuration>
139 <profiles>
140 <profile>felix</profile>
141 </profiles>
142 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
143 </configuration>
144 </execution>
145 </executions>
146 </plugin>
147 </plugins>
148 </build>
149 </profile>
150
151 <profile>
152 <id>test-all</id>
153 <activation>
154 <activeByDefault>false</activeByDefault>
155 </activation>
156 <build>
157 <plugins>
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-invoker-plugin</artifactId>
161 <version>1.8</version>
162 <configuration>
163 <streamLogs>true</streamLogs>
164 <goals>
165 <goal>clean</goal>
166 <goal>test</goal>
167 </goals>
168 <cloneClean>true</cloneClean>
169 </configuration>
170 <executions>
171 <execution>
172 <id>equinox-native</id>
173 <goals>
174 <goal>run</goal>
175 </goals>
176 <configuration>
177 <profiles>
178 <profile>equinox</profile>
179 </profiles>
180 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
181
182 </configuration>
183 </execution>
184 <execution>
185 <id>felix-native</id>
186 <goals>
187 <goal>run</goal>
188 </goals>
189 <configuration>
190 <profiles>
191 <profile>felix</profile>
192 </profiles>
193 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
194 </configuration>
195 </execution>
196 <execution>
197 <id>knopflerfish-native</id>
198 <goals>
199 <goal>run</goal>
200 </goals>
201 <configuration>
202 <profiles>
203 <profile>knopflerfish</profile>
204 </profiles>
205 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
206 </configuration>
207 </execution>
208 </executions>
209 </plugin>
210 </plugins>
211 </build>
212 </profile>
213 </profiles>
214</project>