Clement Escoffier | 03e1db7 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 1 | <!--
|
| 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 Escoffier | af9ad1b | 2009-08-14 12:11:19 +0000 | [diff] [blame] | 26 | <version>1.5.0-SNAPSHOT</version>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion>
|
| 28 | <packaging>bundle</packaging>
|
| 29 | <name>iPOJO White Board Pattern Handler Test Suite</name>
|
Clement Escoffier | eb15bc6 | 2008-07-24 10:06:34 +0000 | [diff] [blame] | 30 | <artifactId>tests.whiteboard</artifactId>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 31 | <dependencies>
|
| 32 | <dependency>
|
| 33 | <groupId>org.apache.felix</groupId>
|
| 34 | <artifactId>org.apache.felix.ipojo</artifactId>
|
Clement Escoffier | 2fdda12 | 2010-04-29 15:53:58 +0000 | [diff] [blame] | 35 | <version>1.7.0-SNAPSHOT</version>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 36 | </dependency>
|
Clement Escoffier | 001f096 | 2010-09-12 10:14:52 +0000 | [diff] [blame] | 37 | <dependency>
|
| 38 | <groupId>org.apache.felix</groupId>
|
| 39 | <artifactId>org.apache.felix.ipojo.handler.whiteboard</artifactId>
|
| 40 | <version>1.5.0-SNAPSHOT</version>
|
| 41 | </dependency>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 42 | <dependency>
|
Clement Escoffier | 03e1db7 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 43 | <groupId>org.osgi</groupId>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 44 | <artifactId>org.osgi.core</artifactId>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 45 | </dependency>
|
| 46 | <dependency>
|
| 47 | <groupId>junit</groupId>
|
| 48 | <artifactId>junit</artifactId>
|
| 49 | <version>3.8.1</version>
|
| 50 | </dependency>
|
| 51 | <dependency>
|
Clement Escoffier | 18bfd02 | 2008-12-01 19:42:13 +0000 | [diff] [blame] | 52 | <groupId>org.apache.felix</groupId>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 53 | <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
|
Clement Escoffier | 2e9f4b3 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 54 | <version>1.1.0-SNAPSHOT</version>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 55 | </dependency>
|
Clement Escoffier | 03e1db7 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 56 | <dependency>
|
| 57 | <groupId>org.osgi</groupId>
|
| 58 | <artifactId>org.osgi.compendium</artifactId>
|
| 59 | <version>4.0.0</version>
|
| 60 | </dependency>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 61 | </dependencies>
|
| 62 | <build>
|
| 63 | <plugins>
|
| 64 | <plugin>
|
| 65 | <groupId>org.apache.felix</groupId>
|
| 66 | <artifactId>maven-bundle-plugin</artifactId>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 67 | <extensions>true</extensions>
|
| 68 | <configuration>
|
| 69 | <instructions>
|
| 70 | <Private-Package>org.apache.felix.ipojo.test, org.apache.felix.ipojo.test.scenarios.util</Private-Package>
|
| 71 | <Test-Suite>org.apache.felix.ipojo.test.WbpTests</Test-Suite>
|
| 72 | </instructions>
|
| 73 | </configuration>
|
| 74 | </plugin>
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 75 | <plugin>
|
| 76 | <groupId>org.apache.felix</groupId>
|
| 77 | <artifactId>maven-ipojo-plugin</artifactId>
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 78 | <executions>
|
| 79 | <execution>
|
| 80 | <goals>
|
| 81 | <goal>ipojo-bundle</goal>
|
| 82 | </goals>
|
| 83 | <configuration>
|
| 84 | <ignoreAnnotations>true</ignoreAnnotations>
|
| 85 | <metadata>
|
| 86 | <![CDATA[
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 87 | <ipojo
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 88 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
Clement Escoffier | 8c0fcd4 | 2010-11-07 10:16:28 +0000 | [diff] [blame] | 89 | xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/SNAPSHOT/core.xsd"
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 90 | xmlns="org.apache.felix.ipojo"
|
| 91 | xmlns:wbp="org.apache.felix.ipojo.whiteboard">
|
| 92 | <component classname="org.apache.felix.ipojo.test.FooProvider" name="fooprovider">
|
| 93 | <provides>
|
| 94 | <property field="foo" value="foo"/>
|
| 95 | </provides>
|
| 96 | </component>
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 97 |
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 98 | <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers">
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 99 | <wbp:wbp
|
| 100 | filter="(objectclass=org.apache.felix.ipojo.test.FooService)"
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 101 | onArrival="onArrival" onDeparture="onDeparture" onModification="onModification"
|
| 102 | />
|
| 103 | <provides/>
|
| 104 | </component>
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 105 |
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 106 | <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-properties">
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 107 | <wbp:wbp filter="(foo=foo)" onArrival="onArrival" onDeparture="onDeparture"
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 108 | onModification="onModification"
|
| 109 | />
|
| 110 | <provides/>
|
| 111 | </component>
|
Clement Escoffier | 001f096 | 2010-09-12 10:14:52 +0000 | [diff] [blame] | 112 |
|
Clement Escoffier | 8c0fcd4 | 2010-11-07 10:16:28 +0000 | [diff] [blame] | 113 | <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers-2">
|
| 114 | <wbp:whiteboards>
|
| 115 | <wbp:wbp
|
| 116 | filter="(objectclass=org.apache.felix.ipojo.test.FooService)"
|
| 117 | onArrival="onArrival" onDeparture="onDeparture" onModification="onModification"
|
| 118 | />
|
| 119 | </wbp:whiteboards>
|
| 120 | <provides/>
|
| 121 | </component>
|
| 122 |
|
Clement Escoffier | 001f096 | 2010-09-12 10:14:52 +0000 | [diff] [blame] | 123 | <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers-lifecycle">
|
| 124 | <wbp:wbp
|
| 125 | filter="(objectclass=org.apache.felix.ipojo.test.FooService)"
|
| 126 | onArrival="onArrival" onDeparture="onDeparture" onModification="onModification"
|
| 127 | />
|
| 128 | <provides/>
|
| 129 | <callback transition="validate" method="start"/>
|
| 130 | <callback transition="invalidate" method="stop"/>
|
| 131 | </component>
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 132 | </ipojo>
|
| 133 | ]]>
|
| 134 | </metadata>
|
| 135 | </configuration>
|
| 136 | </execution>
|
| 137 | </executions>
|
| 138 | </plugin>
|
Clement Escoffier | 001f096 | 2010-09-12 10:14:52 +0000 | [diff] [blame] | 139 | <plugin>
|
| 140 | <groupId>org.apache.felix</groupId>
|
| 141 | <artifactId>maven-junit4osgi-plugin</artifactId>
|
| 142 | <version>1.1.0-SNAPSHOT</version>
|
| 143 | <executions>
|
| 144 | <execution>
|
| 145 | <goals>
|
| 146 | <goal>test</goal>
|
| 147 | </goals>
|
| 148 | <configuration>
|
| 149 | <configuration>
|
| 150 | <org.osgi.http.port>8083</org.osgi.http.port>
|
| 151 | </configuration>
|
| 152 | </configuration>
|
| 153 | </execution>
|
| 154 | </executions>
|
| 155 | </plugin>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 156 | </plugins>
|
| 157 | </build>
|
| 158 | </project>
|