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