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