Clement Escoffier | f4622e5 | 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 | 4cb4ff3 | 2009-08-14 12:11:19 +0000 | [diff] [blame] | 26 | <version>1.5.0-SNAPSHOT</version>
|
Clement Escoffier | b89bd61 | 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 | 69774b6 | 2008-07-24 10:06:34 +0000 | [diff] [blame] | 30 | <artifactId>tests.whiteboard</artifactId>
|
Clement Escoffier | b89bd61 | 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 | 86ea465 | 2010-04-29 15:53:58 +0000 | [diff] [blame] | 35 | <version>1.7.0-SNAPSHOT</version>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 36 | </dependency>
|
Clement Escoffier | 5bfca39 | 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 | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 42 | <dependency>
|
Clement Escoffier | f4622e5 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 43 | <groupId>org.osgi</groupId>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 44 | <artifactId>org.osgi.core</artifactId>
|
Clement Escoffier | b89bd61 | 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 | 91fad49 | 2008-12-01 19:42:13 +0000 | [diff] [blame] | 52 | <groupId>org.apache.felix</groupId>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 53 | <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
|
Clement Escoffier | 818e692 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 54 | <version>1.1.0-SNAPSHOT</version>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 55 | </dependency>
|
Clement Escoffier | f4622e5 | 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 | b89bd61 | 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 | b89bd61 | 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 | aa8bd86 | 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 | aa8bd86 | 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 | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 87 | <ipojo
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 88 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 89 | xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/SNAPSHOT/core.xsd
|
| 90 | 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] | 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 | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 99 | <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers">
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 100 | <wbp:wbp
|
| 101 | filter="(objectclass=org.apache.felix.ipojo.test.FooService)"
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 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 | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 107 | <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-properties">
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 108 | <wbp:wbp filter="(foo=foo)" onArrival="onArrival" onDeparture="onDeparture"
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 109 | onModification="onModification"
|
| 110 | />
|
| 111 | <provides/>
|
| 112 | </component>
|
Clement Escoffier | 5bfca39 | 2010-09-12 10:14:52 +0000 | [diff] [blame] | 113 |
|
| 114 | <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers-lifecycle">
|
| 115 | <wbp:wbp
|
| 116 | filter="(objectclass=org.apache.felix.ipojo.test.FooService)"
|
| 117 | onArrival="onArrival" onDeparture="onDeparture" onModification="onModification"
|
| 118 | />
|
| 119 | <provides/>
|
| 120 | <callback transition="validate" method="start"/>
|
| 121 | <callback transition="invalidate" method="stop"/>
|
| 122 | </component>
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 123 | </ipojo>
|
| 124 | ]]>
|
| 125 | </metadata>
|
| 126 | </configuration>
|
| 127 | </execution>
|
| 128 | </executions>
|
| 129 | </plugin>
|
Clement Escoffier | 5bfca39 | 2010-09-12 10:14:52 +0000 | [diff] [blame] | 130 | <plugin>
|
| 131 | <groupId>org.apache.felix</groupId>
|
| 132 | <artifactId>maven-junit4osgi-plugin</artifactId>
|
| 133 | <version>1.1.0-SNAPSHOT</version>
|
| 134 | <executions>
|
| 135 | <execution>
|
| 136 | <goals>
|
| 137 | <goal>test</goal>
|
| 138 | </goals>
|
| 139 | <configuration>
|
| 140 | <configuration>
|
| 141 | <org.osgi.http.port>8083</org.osgi.http.port>
|
| 142 | </configuration>
|
| 143 | </configuration>
|
| 144 | </execution>
|
| 145 | </executions>
|
| 146 | </plugin>
|
Clement Escoffier | b89bd61 | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 147 | </plugins>
|
| 148 | </build>
|
| 149 | </project>
|