Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 1 | <project>
|
Clement Escoffier | 3955871 | 2008-07-30 18:05:29 +0000 | [diff] [blame] | 2 | <groupId>ipojo.tests</groupId>
|
Clement Escoffier | 7abd701 | 2009-02-09 09:27:51 +0000 | [diff] [blame] | 3 | <version>1.3.0-SNAPSHOT</version>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 4 | <modelVersion>4.0.0</modelVersion>
|
| 5 | <packaging>bundle</packaging>
|
| 6 | <name>iPOJO White Board Pattern Handler Test Suite</name>
|
Clement Escoffier | 69774b6 | 2008-07-24 10:06:34 +0000 | [diff] [blame] | 7 | <artifactId>tests.whiteboard</artifactId>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 8 | <dependencies>
|
| 9 | <dependency>
|
| 10 | <groupId>org.apache.felix</groupId>
|
| 11 | <artifactId>org.apache.felix.ipojo</artifactId>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 12 | <version>${pom.version}</version>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 13 | </dependency>
|
| 14 | <dependency>
|
| 15 | <groupId>org.apache.felix</groupId>
|
| 16 | <artifactId>org.osgi.core</artifactId>
|
Clement Escoffier | b8fe137 | 2008-11-20 15:51:56 +0000 | [diff] [blame] | 17 | <version>1.0.1</version>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 18 | </dependency>
|
| 19 | <dependency>
|
| 20 | <groupId>junit</groupId>
|
| 21 | <artifactId>junit</artifactId>
|
| 22 | <version>3.8.1</version>
|
| 23 | </dependency>
|
| 24 | <dependency>
|
Clement Escoffier | 91fad49 | 2008-12-01 19:42:13 +0000 | [diff] [blame] | 25 | <groupId>org.apache.felix</groupId>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 26 | <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
|
Clement Escoffier | 818e692 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 27 | <version>1.1.0-SNAPSHOT</version>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 28 | </dependency>
|
| 29 | </dependencies>
|
| 30 | <build>
|
| 31 | <plugins>
|
| 32 | <plugin>
|
| 33 | <groupId>org.apache.felix</groupId>
|
| 34 | <artifactId>maven-bundle-plugin</artifactId>
|
Clement Escoffier | 818e692 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 35 | <version>1.4.3</version>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 36 | <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 Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 44 | <plugin>
|
| 45 | <groupId>org.apache.felix</groupId>
|
| 46 | <artifactId>maven-ipojo-plugin</artifactId>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 47 | <version>${pom.version}</version>
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 48 | <executions>
|
| 49 | <execution>
|
| 50 | <goals>
|
| 51 | <goal>ipojo-bundle</goal>
|
| 52 | </goals>
|
| 53 | <configuration>
|
| 54 | <ignoreAnnotations>true</ignoreAnnotations>
|
| 55 | <metadata>
|
| 56 | <![CDATA[
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 57 | <ipojo
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 58 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 59 | 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 Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 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>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 68 |
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 69 | <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers">
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 70 | <wbp:wbp
|
| 71 | filter="(objectclass=org.apache.felix.ipojo.test.FooService)"
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 72 | onArrival="onArrival" onDeparture="onDeparture" onModification="onModification"
|
| 73 | />
|
| 74 | <provides/>
|
| 75 | </component>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 76 |
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 77 | <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-properties">
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 78 | <wbp:wbp filter="(foo=foo)" onArrival="onArrival" onDeparture="onDeparture"
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 79 | onModification="onModification"
|
| 80 | />
|
| 81 | <provides/>
|
| 82 | </component>
|
| 83 | </ipojo>
|
| 84 | ]]>
|
| 85 | </metadata>
|
| 86 | </configuration>
|
| 87 | </execution>
|
| 88 | </executions>
|
| 89 | </plugin>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 90 | </plugins>
|
| 91 | </build>
|
| 92 | </project>
|