blob: 6eb3c9e14ed09cbe7004279b2e57ab39d3852cff [file] [log] [blame]
Clement Escoffiera39317c2008-07-07 16:46:09 +00001<project>
Clement Escoffierdfce6b32008-07-30 18:05:29 +00002 <groupId>ipojo.tests</groupId>
Clement Escoffier3b6ee432009-02-09 09:27:51 +00003 <version>1.3.0-SNAPSHOT</version>
Clement Escoffiera39317c2008-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 Escoffiereb15bc62008-07-24 10:06:34 +00007 <artifactId>tests.whiteboard</artifactId>
Clement Escoffiera39317c2008-07-07 16:46:09 +00008 <dependencies>
9 <dependency>
10 <groupId>org.apache.felix</groupId>
11 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier0b93f382009-07-03 13:16:24 +000012 <version>${pom.version}</version>
Clement Escoffiera39317c2008-07-07 16:46:09 +000013 </dependency>
14 <dependency>
15 <groupId>org.apache.felix</groupId>
16 <artifactId>org.osgi.core</artifactId>
Clement Escoffier31f25df2008-11-20 15:51:56 +000017 <version>1.0.1</version>
Clement Escoffiera39317c2008-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 Escoffier18bfd022008-12-01 19:42:13 +000025 <groupId>org.apache.felix</groupId>
Clement Escoffiera39317c2008-07-07 16:46:09 +000026 <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
Clement Escoffier2e9f4b32008-10-14 13:55:56 +000027 <version>1.1.0-SNAPSHOT</version>
Clement Escoffiera39317c2008-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 Escoffier2e9f4b32008-10-14 13:55:56 +000035 <version>1.4.3</version>
Clement Escoffiera39317c2008-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 Escoffierd9128542008-12-23 13:21:58 +000044 <plugin>
45 <groupId>org.apache.felix</groupId>
46 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier0b93f382009-07-03 13:16:24 +000047 <version>${pom.version}</version>
Clement Escoffierd9128542008-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 Escoffier0b93f382009-07-03 13:16:24 +000057 <ipojo
Clement Escoffierd9128542008-12-23 13:21:58 +000058 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Clement Escoffier0b93f382009-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 Escoffierd9128542008-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 Escoffier0b93f382009-07-03 13:16:24 +000068
Clement Escoffierd9128542008-12-23 13:21:58 +000069 <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers">
Clement Escoffier0b93f382009-07-03 13:16:24 +000070 <wbp:wbp
71 filter="(objectclass=org.apache.felix.ipojo.test.FooService)"
Clement Escoffierd9128542008-12-23 13:21:58 +000072 onArrival="onArrival" onDeparture="onDeparture" onModification="onModification"
73 />
74 <provides/>
75 </component>
Clement Escoffier0b93f382009-07-03 13:16:24 +000076
Clement Escoffierd9128542008-12-23 13:21:58 +000077 <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-properties">
Clement Escoffier0b93f382009-07-03 13:16:24 +000078 <wbp:wbp filter="(foo=foo)" onArrival="onArrival" onDeparture="onDeparture"
Clement Escoffierd9128542008-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 Escoffiera39317c2008-07-07 16:46:09 +000090 </plugins>
91 </build>
92</project>