Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +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
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 9 |
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 10 | http://www.apache.org/licenses/LICENSE-2.0
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 11 |
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +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.
|
| 18 | -->
|
Clement Escoffier | f4622e5 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 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>
|
| 26 |
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion>
|
| 28 | <packaging>bundle</packaging>
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 29 | <name>iPOJO Lifecycle controller Test Suite</name>
|
| 30 | <artifactId>tests.core.lifecycle.controller</artifactId>
|
Clement Escoffier | a414211 | 2008-03-29 15:04:02 +0000 | [diff] [blame] | 31 | <groupId>ipojo.tests</groupId>
|
Clement Escoffier | 4cb4ff3 | 2009-08-14 12:11:19 +0000 | [diff] [blame] | 32 | <version>1.5.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 33 | <dependencies>
|
| 34 | <dependency>
|
| 35 | <groupId>org.apache.felix</groupId>
|
| 36 | <artifactId>org.apache.felix.ipojo</artifactId>
|
Clement Escoffier | 86ea465 | 2010-04-29 15:53:58 +0000 | [diff] [blame] | 37 | <version>1.7.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 38 | </dependency>
|
| 39 | <dependency>
|
| 40 | <groupId>org.apache.felix</groupId>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 41 | <artifactId>org.apache.felix.ipojo.metadata</artifactId>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 42 | </dependency>
|
| 43 | <dependency>
|
Clement Escoffier | f4622e5 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 44 | <groupId>org.osgi</groupId>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 45 | <artifactId>org.osgi.core</artifactId>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 46 | </dependency>
|
| 47 | <dependency>
|
| 48 | <groupId>junit</groupId>
|
| 49 | <artifactId>junit</artifactId>
|
| 50 | <version>3.8.1</version>
|
| 51 | </dependency>
|
| 52 | <dependency>
|
Clement Escoffier | 91fad49 | 2008-12-01 19:42:13 +0000 | [diff] [blame] | 53 | <groupId>org.apache.felix</groupId>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 54 | <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
|
Clement Escoffier | 818e692 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 55 | <version>1.1.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 56 | </dependency>
|
Clement Escoffier | f4622e5 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 57 | <dependency>
|
| 58 | <groupId>org.osgi</groupId>
|
| 59 | <artifactId>org.osgi.compendium</artifactId>
|
| 60 | <version>4.0.0</version>
|
| 61 | </dependency>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 62 | </dependencies>
|
| 63 | <build>
|
| 64 | <plugins>
|
| 65 | <plugin>
|
| 66 | <groupId>org.apache.felix</groupId>
|
| 67 | <artifactId>maven-bundle-plugin</artifactId>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 68 | <extensions>true</extensions>
|
| 69 | <configuration>
|
| 70 | <instructions>
|
| 71 | <Export-Package>
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 72 | org.apache.felix.ipojo.test.scenarios.lfc.service
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 73 | </Export-Package>
|
| 74 | <Bundle-SymbolicName>
|
Clement Escoffier | fe60690 | 2010-05-01 10:46:02 +0000 | [diff] [blame] | 75 | ${project.artifactId}
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 76 | </Bundle-SymbolicName>
|
| 77 | <Private-Package>
|
| 78 | org.apache.felix.ipojo.test*
|
| 79 | </Private-Package>
|
| 80 | <Test-Suite>
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 81 | org.apache.felix.ipojo.test.scenarios.lfc.LifeCycleControllerTestSuite
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 82 | </Test-Suite>
|
| 83 | </instructions>
|
| 84 | </configuration>
|
| 85 | </plugin>
|
| 86 | <plugin>
|
| 87 | <groupId>org.apache.felix</groupId>
|
| 88 | <artifactId>maven-ipojo-plugin</artifactId>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 89 | <executions>
|
| 90 | <execution>
|
| 91 | <goals>
|
| 92 | <goal>ipojo-bundle</goal>
|
| 93 | </goals>
|
| 94 | <configuration>
|
| 95 | <ignoreAnnotations>true</ignoreAnnotations>
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 96 | <metadata>
|
| 97 | <![CDATA[
|
| 98 | <ipojo
|
| 99 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 100 | xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/SNAPSHOT/core.xsd"
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 101 | xmlns="org.apache.felix.ipojo">
|
| 102 | <component
|
| 103 | classname="org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest"
|
| 104 | name="LFC-Test">
|
| 105 | <provides />
|
| 106 | <controller field="m_state" />
|
| 107 | <properties>
|
| 108 | <property name="conf" field="m_conf" method="setConf" />
|
| 109 | </properties>
|
| 110 | </component>
|
| 111 |
|
| 112 | <component
|
| 113 | classname="org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest"
|
| 114 | name="LFC-Test-Immediate" immediate="true" architecture="true">
|
| 115 | <provides />
|
| 116 | <controller field="m_state" />
|
| 117 | <properties>
|
| 118 | <property name="conf" field="m_conf" method="setConf" />
|
| 119 | </properties>
|
| 120 | </component>
|
Clement Escoffier | a947d90 | 2010-10-07 17:56:58 +0000 | [diff] [blame] | 121 |
|
| 122 | <component
|
| 123 | classname="org.apache.felix.ipojo.test.scenarios.component.ConfigurableLifecycleControllerTest"
|
| 124 | name="LFC-Test-Configurable" architecture="true">
|
| 125 | <provides />
|
| 126 | <!-- The property and the controller share the same field -->
|
| 127 | <controller field="m_state" />
|
| 128 | <properties>
|
| 129 | <property name="state" field="m_state" />
|
| 130 | </properties>
|
| 131 | </component>
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 132 | </ipojo>
|
| 133 | ]]>
|
| 134 | </metadata>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 135 | </configuration>
|
| 136 | </execution>
|
| 137 | </executions>
|
| 138 | </plugin>
|
| 139 | <plugin>
|
| 140 | <groupId>org.apache.maven.plugins</groupId>
|
| 141 | <artifactId>maven-compiler-plugin</artifactId>
|
| 142 | <configuration>
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 143 | <source>1.4</source>
|
| 144 | <target>1.4</target>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 145 | </configuration>
|
| 146 | </plugin>
|
Clement Escoffier | a947d90 | 2010-10-07 17:56:58 +0000 | [diff] [blame] | 147 | <plugin>
|
| 148 | <groupId>org.apache.felix</groupId>
|
| 149 | <artifactId>maven-junit4osgi-plugin
|
| 150 | </artifactId>
|
| 151 | <version>1.1.0-SNAPSHOT</version>
|
| 152 | <executions>
|
| 153 | <execution>
|
| 154 | <goals>
|
| 155 | <goal>test</goal>
|
| 156 | </goals>
|
| 157 | <configuration>
|
| 158 | <logService>false</logService>
|
| 159 | <configuration>
|
| 160 | <org.osgi.http.port>8083</org.osgi.http.port>
|
| 161 | </configuration>
|
| 162 | </configuration>
|
| 163 | </execution>
|
| 164 | </executions>
|
| 165 | </plugin>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 166 | </plugins>
|
| 167 | </build>
|
Clement Escoffier | a947d90 | 2010-10-07 17:56:58 +0000 | [diff] [blame] | 168 | </project> |