blob: ad5bfde8eba1c9f62de525b089d9177c5fed1b7a [file] [log] [blame]
Clement Escoffierb89bd612008-07-07 16:46:09 +00001<project>
Clement Escoffier39558712008-07-30 18:05:29 +00002 <groupId>ipojo.tests</groupId>
Clement Escoffier4cb4ff32009-08-14 12:11:19 +00003 <version>1.5.0-SNAPSHOT</version>
Clement Escoffierb89bd612008-07-07 16:46:09 +00004 <modelVersion>4.0.0</modelVersion>
5 <packaging>bundle</packaging>
6 <name>iPOJO White Board Pattern Handler Test Suite</name>
Clement Escoffier69774b62008-07-24 10:06:34 +00007 <artifactId>tests.whiteboard</artifactId>
Clement Escoffierb89bd612008-07-07 16:46:09 +00008 <dependencies>
9 <dependency>
10 <groupId>org.apache.felix</groupId>
11 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000012 <version>${pom.version}</version>
Clement Escoffierb89bd612008-07-07 16:46:09 +000013 </dependency>
14 <dependency>
15 <groupId>org.apache.felix</groupId>
16 <artifactId>org.osgi.core</artifactId>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000017 <version>1.0.1</version>
Clement Escoffierb89bd612008-07-07 16:46:09 +000018 </dependency>
19 <dependency>
20 <groupId>junit</groupId>
21 <artifactId>junit</artifactId>
22 <version>3.8.1</version>
23 </dependency>
24 <dependency>
Clement Escoffier91fad492008-12-01 19:42:13 +000025 <groupId>org.apache.felix</groupId>
Clement Escoffierb89bd612008-07-07 16:46:09 +000026 <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
Clement Escoffier818e6922008-10-14 13:55:56 +000027 <version>1.1.0-SNAPSHOT</version>
Clement Escoffierb89bd612008-07-07 16:46:09 +000028 </dependency>
29 </dependencies>
30 <build>
31 <plugins>
32 <plugin>
33 <groupId>org.apache.felix</groupId>
34 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffier818e6922008-10-14 13:55:56 +000035 <version>1.4.3</version>
Clement Escoffierb89bd612008-07-07 16:46:09 +000036 <extensions>true</extensions>
37 <configuration>
38 <instructions>
39 <Private-Package>org.apache.felix.ipojo.test, org.apache.felix.ipojo.test.scenarios.util</Private-Package>
40 <Test-Suite>org.apache.felix.ipojo.test.WbpTests</Test-Suite>
41 </instructions>
42 </configuration>
43 </plugin>
Clement Escoffieraa8bd862008-12-23 13:21:58 +000044 <plugin>
45 <groupId>org.apache.felix</groupId>
46 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000047 <version>${pom.version}</version>
Clement Escoffieraa8bd862008-12-23 13:21:58 +000048 <executions>
49 <execution>
50 <goals>
51 <goal>ipojo-bundle</goal>
52 </goals>
53 <configuration>
54 <ignoreAnnotations>true</ignoreAnnotations>
55 <metadata>
56 <![CDATA[
Clement Escoffierc80b73d2009-07-03 13:16:24 +000057 <ipojo
Clement Escoffieraa8bd862008-12-23 13:21:58 +000058 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Clement Escoffierc80b73d2009-07-03 13:16:24 +000059 xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/SNAPSHOT/core.xsd
60 org.apache.felix.ipojo.whiteboard http://felix.apache.org/ipojo/schemas/SNAPSHOT/whiteboard-pattern.xsd"
Clement Escoffieraa8bd862008-12-23 13:21:58 +000061 xmlns="org.apache.felix.ipojo"
62 xmlns:wbp="org.apache.felix.ipojo.whiteboard">
63 <component classname="org.apache.felix.ipojo.test.FooProvider" name="fooprovider">
64 <provides>
65 <property field="foo" value="foo"/>
66 </provides>
67 </component>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000068
Clement Escoffieraa8bd862008-12-23 13:21:58 +000069 <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers">
Clement Escoffierc80b73d2009-07-03 13:16:24 +000070 <wbp:wbp
71 filter="(objectclass=org.apache.felix.ipojo.test.FooService)"
Clement Escoffieraa8bd862008-12-23 13:21:58 +000072 onArrival="onArrival" onDeparture="onDeparture" onModification="onModification"
73 />
74 <provides/>
75 </component>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000076
Clement Escoffieraa8bd862008-12-23 13:21:58 +000077 <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-properties">
Clement Escoffierc80b73d2009-07-03 13:16:24 +000078 <wbp:wbp filter="(foo=foo)" onArrival="onArrival" onDeparture="onDeparture"
Clement Escoffieraa8bd862008-12-23 13:21:58 +000079 onModification="onModification"
80 />
81 <provides/>
82 </component>
83 </ipojo>
84 ]]>
85 </metadata>
86 </configuration>
87 </execution>
88 </executions>
89 </plugin>
Clement Escoffierb89bd612008-07-07 16:46:09 +000090 </plugins>
91 </build>
92</project>