blob: 43aab676644282177e015d02fbfef869446e1521 [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 Escoffier7abd7012009-02-09 09:27:51 +00003 <version>1.3.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 Escoffier7abd7012009-02-09 09:27:51 +000012 <version>1.3.0-SNAPSHOT</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 Escoffier7abd7012009-02-09 09:27:51 +000047 <version>1.3.0-SNAPSHOT</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[
57 <ipojo
58 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
59 xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/1.1.0-SNAPSHOT/core.xsd
60 org.apache.felix.ipojo.whiteboard http://felix.apache.org/ipojo/schemas/1.1.0-SNAPSHOT/whiteboard-pattern.xsd"
61 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>
68
69 <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers">
70 <wbp:wbp
71 filter="(objectclass=org.apache.felix.ipojo.test.FooService)"
72 onArrival="onArrival" onDeparture="onDeparture" onModification="onModification"
73 />
74 <provides/>
75 </component>
76
77 <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-properties">
78 <wbp:wbp filter="(foo=foo)" onArrival="onArrival" onDeparture="onDeparture"
79 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>