Clement Escoffier | ce0e1e5 | 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 | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 9 |
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 10 | http://www.apache.org/licenses/LICENSE-2.0
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 11 |
|
Clement Escoffier | ce0e1e5 | 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 | 03e1db7 | 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 | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion>
|
| 28 | <packaging>bundle</packaging>
|
Clement Escoffier | ad6c555 | 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 | 7d116ff | 2008-03-29 15:04:02 +0000 | [diff] [blame] | 31 | <groupId>ipojo.tests</groupId>
|
Clement Escoffier | 8407505 | 2011-02-23 10:36:42 +0000 | [diff] [blame] | 32 | <version>${ipojo.core.snapshot}</version>
|
Clement Escoffier | ce0e1e5 | 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 | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 37 | </dependency>
|
| 38 | <dependency>
|
| 39 | <groupId>org.apache.felix</groupId>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 40 | <artifactId>org.apache.felix.ipojo.metadata</artifactId>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 41 | </dependency>
|
| 42 | <dependency>
|
Clement Escoffier | 03e1db7 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 43 | <groupId>org.osgi</groupId>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 44 | <artifactId>org.osgi.core</artifactId>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +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 | ce0e1e5 | 2008-03-28 15:33:36 +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 | ce0e1e5 | 2008-03-28 15:33:36 +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 | ce0e1e5 | 2008-03-28 15:33:36 +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 | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 67 | <extensions>true</extensions>
|
| 68 | <configuration>
|
| 69 | <instructions>
|
| 70 | <Export-Package>
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 71 | org.apache.felix.ipojo.test.scenarios.lfc.service
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 72 | </Export-Package>
|
| 73 | <Bundle-SymbolicName>
|
Clement Escoffier | 134b006 | 2010-05-01 10:46:02 +0000 | [diff] [blame] | 74 | ${project.artifactId}
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 75 | </Bundle-SymbolicName>
|
| 76 | <Private-Package>
|
| 77 | org.apache.felix.ipojo.test*
|
| 78 | </Private-Package>
|
| 79 | <Test-Suite>
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 80 | org.apache.felix.ipojo.test.scenarios.lfc.LifeCycleControllerTestSuite
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 81 | </Test-Suite>
|
| 82 | </instructions>
|
| 83 | </configuration>
|
| 84 | </plugin>
|
| 85 | <plugin>
|
| 86 | <groupId>org.apache.felix</groupId>
|
| 87 | <artifactId>maven-ipojo-plugin</artifactId>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 88 | <executions>
|
| 89 | <execution>
|
| 90 | <goals>
|
| 91 | <goal>ipojo-bundle</goal>
|
| 92 | </goals>
|
| 93 | <configuration>
|
| 94 | <ignoreAnnotations>true</ignoreAnnotations>
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 95 | <metadata>
|
| 96 | <![CDATA[
|
| 97 | <ipojo
|
| 98 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
Clement Escoffier | 0b93f38 | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 99 | 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] | 100 | xmlns="org.apache.felix.ipojo">
|
| 101 | <component
|
| 102 | classname="org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest"
|
| 103 | name="LFC-Test">
|
| 104 | <provides />
|
| 105 | <controller field="m_state" />
|
| 106 | <properties>
|
| 107 | <property name="conf" field="m_conf" method="setConf" />
|
| 108 | </properties>
|
| 109 | </component>
|
| 110 |
|
| 111 | <component
|
| 112 | classname="org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest"
|
| 113 | name="LFC-Test-Immediate" immediate="true" architecture="true">
|
| 114 | <provides />
|
| 115 | <controller field="m_state" />
|
| 116 | <properties>
|
| 117 | <property name="conf" field="m_conf" method="setConf" />
|
| 118 | </properties>
|
| 119 | </component>
|
Clement Escoffier | 6341939 | 2010-10-07 17:56:58 +0000 | [diff] [blame] | 120 |
|
| 121 | <component
|
| 122 | classname="org.apache.felix.ipojo.test.scenarios.component.ConfigurableLifecycleControllerTest"
|
| 123 | name="LFC-Test-Configurable" architecture="true">
|
| 124 | <provides />
|
| 125 | <!-- The property and the controller share the same field -->
|
| 126 | <controller field="m_state" />
|
| 127 | <properties>
|
| 128 | <property name="state" field="m_state" />
|
| 129 | </properties>
|
| 130 | </component>
|
Clement Escoffier | d912854 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 131 | </ipojo>
|
| 132 | ]]>
|
| 133 | </metadata>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 134 | </configuration>
|
| 135 | </execution>
|
| 136 | </executions>
|
| 137 | </plugin>
|
| 138 | <plugin>
|
| 139 | <groupId>org.apache.maven.plugins</groupId>
|
| 140 | <artifactId>maven-compiler-plugin</artifactId>
|
| 141 | <configuration>
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 142 | <source>1.4</source>
|
| 143 | <target>1.4</target>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 144 | </configuration>
|
| 145 | </plugin>
|
Clement Escoffier | 6341939 | 2010-10-07 17:56:58 +0000 | [diff] [blame] | 146 | <plugin>
|
| 147 | <groupId>org.apache.felix</groupId>
|
| 148 | <artifactId>maven-junit4osgi-plugin
|
| 149 | </artifactId>
|
| 150 | <version>1.1.0-SNAPSHOT</version>
|
| 151 | <executions>
|
| 152 | <execution>
|
| 153 | <goals>
|
| 154 | <goal>test</goal>
|
| 155 | </goals>
|
| 156 | <configuration>
|
| 157 | <logService>false</logService>
|
| 158 | <configuration>
|
| 159 | <org.osgi.http.port>8083</org.osgi.http.port>
|
| 160 | </configuration>
|
| 161 | </configuration>
|
| 162 | </execution>
|
| 163 | </executions>
|
| 164 | </plugin>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 165 | </plugins>
|
| 166 | </build>
|
Clement Escoffier | 6341939 | 2010-10-07 17:56:58 +0000 | [diff] [blame] | 167 | </project> |