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>
|
| 37 | <dependency>
|
Clement Escoffier | 03e1db7 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 38 | <groupId>org.osgi</groupId>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 39 | <artifactId>org.osgi.core</artifactId>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 40 | </dependency>
|
| 41 | <dependency>
|
| 42 | <groupId>junit</groupId>
|
| 43 | <artifactId>junit</artifactId>
|
| 44 | <version>3.8.1</version>
|
| 45 | </dependency>
|
| 46 | <dependency>
|
Clement Escoffier | 18bfd02 | 2008-12-01 19:42:13 +0000 | [diff] [blame] | 47 | <groupId>org.apache.felix</groupId>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 48 | <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
|
Clement Escoffier | 2e9f4b3 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 49 | <version>1.1.0-SNAPSHOT</version>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 50 | </dependency>
|
Clement Escoffier | 03e1db7 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 51 | <dependency>
|
| 52 | <groupId>org.osgi</groupId>
|
| 53 | <artifactId>org.osgi.compendium</artifactId>
|
| 54 | <version>4.0.0</version>
|
| 55 | </dependency>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 56 | </dependencies>
|
| 57 | <build>
|
| 58 | <plugins>
|
| 59 | <plugin>
|
| 60 | <groupId>org.apache.felix</groupId>
|
| 61 | <artifactId>maven-bundle-plugin</artifactId>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 62 | <extensions>true</extensions>
|
| 63 | <configuration>
|
| 64 | <instructions>
|
| 65 | <Private-Package>org.apache.felix.ipojo.test, org.apache.felix.ipojo.test.scenarios.util</Private-Package>
|
| 66 | <Test-Suite>org.apache.felix.ipojo.test.WbpTests</Test-Suite>
|
| 67 | </instructions>
|
| 68 | </configuration>
|
| 69 | </plugin>
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 70 | <plugin>
|
| 71 | <groupId>org.apache.felix</groupId>
|
| 72 | <artifactId>maven-ipojo-plugin</artifactId>
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 73 | <executions>
|
| 74 | <execution>
|
| 75 | <goals>
|
| 76 | <goal>ipojo-bundle</goal>
|
| 77 | </goals>
|
| 78 | <configuration>
|
| 79 | <ignoreAnnotations>true</ignoreAnnotations>
|
| 80 | <metadata>
|
| 81 | <![CDATA[
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 82 | <ipojo
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 83 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 84 | xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/SNAPSHOT/core.xsd
|
| 85 | org.apache.felix.ipojo.whiteboard http://felix.apache.org/ipojo/schemas/SNAPSHOT/whiteboard-pattern.xsd"
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 86 | xmlns="org.apache.felix.ipojo"
|
| 87 | xmlns:wbp="org.apache.felix.ipojo.whiteboard">
|
| 88 | <component classname="org.apache.felix.ipojo.test.FooProvider" name="fooprovider">
|
| 89 | <provides>
|
| 90 | <property field="foo" value="foo"/>
|
| 91 | </provides>
|
| 92 | </component>
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 93 |
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 94 | <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-providers">
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 95 | <wbp:wbp
|
| 96 | filter="(objectclass=org.apache.felix.ipojo.test.FooService)"
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 97 | onArrival="onArrival" onDeparture="onDeparture" onModification="onModification"
|
| 98 | />
|
| 99 | <provides/>
|
| 100 | </component>
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 101 |
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 102 | <component classname="org.apache.felix.ipojo.test.FooWhiteBoardPattern" name="under-properties">
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 103 | <wbp:wbp filter="(foo=foo)" onArrival="onArrival" onDeparture="onDeparture"
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 104 | onModification="onModification"
|
| 105 | />
|
| 106 | <provides/>
|
| 107 | </component>
|
| 108 | </ipojo>
|
| 109 | ]]>
|
| 110 | </metadata>
|
| 111 | </configuration>
|
| 112 | </execution>
|
| 113 | </executions>
|
| 114 | </plugin>
|
Clement Escoffier | a39317c | 2008-07-07 16:46:09 +0000 | [diff] [blame] | 115 | </plugins>
|
| 116 | </build>
|
| 117 | </project>
|