blob: 586b64eb5a10a30694826de2fd898e2ac1de9b2f [file] [log] [blame]
Clement Escoffierf4622e52010-05-01 10:21:51 +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>ipojo.tests</groupId>
23 <artifactId>ipojo.tests</artifactId>
24 <version>1.5.0-SNAPSHOT</version>
25 </parent> <groupId>ipojo.tests</groupId>
Clement Escoffier4cb4ff32009-08-14 12:11:19 +000026 <version>1.5.0-SNAPSHOT</version>
Clement Escoffierb89bd612008-07-07 16:46:09 +000027 <modelVersion>4.0.0</modelVersion>
28 <packaging>bundle</packaging>
29 <name>iPOJO White Board Pattern Handler Test Suite</name>
Clement Escoffier69774b62008-07-24 10:06:34 +000030 <artifactId>tests.whiteboard</artifactId>
Clement Escoffierb89bd612008-07-07 16:46:09 +000031 <dependencies>
32 <dependency>
33 <groupId>org.apache.felix</groupId>
34 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier86ea4652010-04-29 15:53:58 +000035 <version>1.7.0-SNAPSHOT</version>
Clement Escoffierb89bd612008-07-07 16:46:09 +000036 </dependency>
37 <dependency>
Clement Escoffierf4622e52010-05-01 10:21:51 +000038 <groupId>org.osgi</groupId>
Clement Escoffierb89bd612008-07-07 16:46:09 +000039 <artifactId>org.osgi.core</artifactId>
Clement Escoffierb89bd612008-07-07 16:46:09 +000040 </dependency>
41 <dependency>
42 <groupId>junit</groupId>
43 <artifactId>junit</artifactId>
44 <version>3.8.1</version>
45 </dependency>
46 <dependency>
Clement Escoffier91fad492008-12-01 19:42:13 +000047 <groupId>org.apache.felix</groupId>
Clement Escoffierb89bd612008-07-07 16:46:09 +000048 <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
Clement Escoffier818e6922008-10-14 13:55:56 +000049 <version>1.1.0-SNAPSHOT</version>
Clement Escoffierb89bd612008-07-07 16:46:09 +000050 </dependency>
Clement Escoffierf4622e52010-05-01 10:21:51 +000051 <dependency>
52 <groupId>org.osgi</groupId>
53 <artifactId>org.osgi.compendium</artifactId>
54 <version>4.0.0</version>
55 </dependency>
Clement Escoffierb89bd612008-07-07 16:46:09 +000056 </dependencies>
57 <build>
58 <plugins>
59 <plugin>
60 <groupId>org.apache.felix</groupId>
61 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffierb89bd612008-07-07 16:46:09 +000062 <extensions>true</extensions>
63 <configuration>
64 <instructions>
65 <Private-Package>org.apache.felix.ipojo.test, org.apache.felix.ipojo.test.scenarios.util</Private-Package>
66 <Test-Suite>org.apache.felix.ipojo.test.WbpTests</Test-Suite>
67 </instructions>
68 </configuration>
69 </plugin>
Clement Escoffieraa8bd862008-12-23 13:21:58 +000070 <plugin>
71 <groupId>org.apache.felix</groupId>
72 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffieraa8bd862008-12-23 13:21:58 +000073 <executions>
74 <execution>
75 <goals>
76 <goal>ipojo-bundle</goal>
77 </goals>
78 <configuration>
79 <ignoreAnnotations>true</ignoreAnnotations>
80 <metadata>
81 <![CDATA[
Clement Escoffierc80b73d2009-07-03 13:16:24 +000082 <ipojo
Clement Escoffieraa8bd862008-12-23 13:21:58 +000083 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Clement Escoffierc80b73d2009-07-03 13:16:24 +000084 xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/SNAPSHOT/core.xsd
85 org.apache.felix.ipojo.whiteboard http://felix.apache.org/ipojo/schemas/SNAPSHOT/whiteboard-pattern.xsd"
Clement Escoffieraa8bd862008-12-23 13:21:58 +000086 xmlns="org.apache.felix.ipojo"
87 xmlns:wbp="org.apache.felix.ipojo.whiteboard">
88 <component classname="org.apache.felix.ipojo.test.FooProvider" name="fooprovider">
89 <provides>
90 <property field="foo" value="foo"/>
91 </provides>
92 </component>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000093
Clement Escoffieraa8bd862008-12-23 13:21:58 +000094 <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers">
Clement Escoffierc80b73d2009-07-03 13:16:24 +000095 <wbp:wbp
96 filter="(objectclass=org.apache.felix.ipojo.test.FooService)"
Clement Escoffieraa8bd862008-12-23 13:21:58 +000097 onArrival="onArrival" onDeparture="onDeparture" onModification="onModification"
98 />
99 <provides/>
100 </component>
Clement Escoffierc80b73d2009-07-03 13:16:24 +0000101
Clement Escoffieraa8bd862008-12-23 13:21:58 +0000102 <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-properties">
Clement Escoffierc80b73d2009-07-03 13:16:24 +0000103 <wbp:wbp filter="(foo=foo)" onArrival="onArrival" onDeparture="onDeparture"
Clement Escoffieraa8bd862008-12-23 13:21:58 +0000104 onModification="onModification"
105 />
106 <provides/>
107 </component>
108 </ipojo>
109 ]]>
110 </metadata>
111 </configuration>
112 </execution>
113 </executions>
114 </plugin>
Clement Escoffierb89bd612008-07-07 16:46:09 +0000115 </plugins>
116 </build>
117</project>