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 | -->
|
| 19 | <project>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 20 | <modelVersion>4.0.0</modelVersion>
|
| 21 | <packaging>bundle</packaging>
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 22 | <name>iPOJO Lifecycle controller Test Suite</name>
|
| 23 | <artifactId>tests.core.lifecycle.controller</artifactId>
|
Clement Escoffier | a414211 | 2008-03-29 15:04:02 +0000 | [diff] [blame] | 24 | <groupId>ipojo.tests</groupId>
|
Clement Escoffier | 4cb4ff3 | 2009-08-14 12:11:19 +0000 | [diff] [blame^] | 25 | <version>1.5.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 26 | <dependencies>
|
| 27 | <dependency>
|
| 28 | <groupId>org.apache.felix</groupId>
|
| 29 | <artifactId>org.apache.felix.ipojo</artifactId>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 30 | <version>${pom.version}</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 31 | </dependency>
|
| 32 | <dependency>
|
| 33 | <groupId>org.apache.felix</groupId>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 34 | <artifactId>org.apache.felix.ipojo.metadata</artifactId>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 35 | <version>${pom.version}</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 36 | </dependency>
|
| 37 | <dependency>
|
| 38 | <groupId>org.apache.felix</groupId>
|
| 39 | <artifactId>org.osgi.core</artifactId>
|
Clement Escoffier | b8fe137 | 2008-11-20 15:51:56 +0000 | [diff] [blame] | 40 | <version>1.0.1</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 41 | </dependency>
|
| 42 | <dependency>
|
| 43 | <groupId>junit</groupId>
|
| 44 | <artifactId>junit</artifactId>
|
| 45 | <version>3.8.1</version>
|
| 46 | </dependency>
|
| 47 | <dependency>
|
Clement Escoffier | 91fad49 | 2008-12-01 19:42:13 +0000 | [diff] [blame] | 48 | <groupId>org.apache.felix</groupId>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 49 | <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
|
Clement Escoffier | 818e692 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 50 | <version>1.1.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 51 | </dependency>
|
| 52 | </dependencies>
|
| 53 | <build>
|
| 54 | <plugins>
|
| 55 | <plugin>
|
| 56 | <groupId>org.apache.felix</groupId>
|
| 57 | <artifactId>maven-bundle-plugin</artifactId>
|
Clement Escoffier | 818e692 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 58 | <version>1.4.3</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 59 | <extensions>true</extensions>
|
| 60 | <configuration>
|
| 61 | <instructions>
|
| 62 | <Export-Package>
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 63 | org.apache.felix.ipojo.test.scenarios.lfc.service
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 64 | </Export-Package>
|
| 65 | <Bundle-SymbolicName>
|
| 66 | ${pom.artifactId}
|
| 67 | </Bundle-SymbolicName>
|
| 68 | <Private-Package>
|
| 69 | org.apache.felix.ipojo.test*
|
| 70 | </Private-Package>
|
| 71 | <Test-Suite>
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 72 | org.apache.felix.ipojo.test.scenarios.lfc.LifeCycleControllerTestSuite
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 73 | </Test-Suite>
|
| 74 | </instructions>
|
| 75 | </configuration>
|
| 76 | </plugin>
|
| 77 | <plugin>
|
| 78 | <groupId>org.apache.felix</groupId>
|
| 79 | <artifactId>maven-ipojo-plugin</artifactId>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 80 | <version>${pom.version}</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 81 | <executions>
|
| 82 | <execution>
|
| 83 | <goals>
|
| 84 | <goal>ipojo-bundle</goal>
|
| 85 | </goals>
|
| 86 | <configuration>
|
| 87 | <ignoreAnnotations>true</ignoreAnnotations>
|
Clement Escoffier | aa8bd86 | 2008-12-23 13:21:58 +0000 | [diff] [blame] | 88 | <metadata>
|
| 89 | <![CDATA[
|
| 90 | <ipojo
|
| 91 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 92 | 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] | 93 | xmlns="org.apache.felix.ipojo">
|
| 94 | <component
|
| 95 | classname="org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest"
|
| 96 | name="LFC-Test">
|
| 97 | <provides />
|
| 98 | <controller field="m_state" />
|
| 99 | <properties>
|
| 100 | <property name="conf" field="m_conf" method="setConf" />
|
| 101 | </properties>
|
| 102 | </component>
|
| 103 |
|
| 104 | <component
|
| 105 | classname="org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest"
|
| 106 | name="LFC-Test-Immediate" immediate="true" architecture="true">
|
| 107 | <provides />
|
| 108 | <controller field="m_state" />
|
| 109 | <properties>
|
| 110 | <property name="conf" field="m_conf" method="setConf" />
|
| 111 | </properties>
|
| 112 | </component>
|
| 113 | </ipojo>
|
| 114 | ]]>
|
| 115 | </metadata>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 116 | </configuration>
|
| 117 | </execution>
|
| 118 | </executions>
|
| 119 | </plugin>
|
| 120 | <plugin>
|
| 121 | <groupId>org.apache.maven.plugins</groupId>
|
| 122 | <artifactId>maven-compiler-plugin</artifactId>
|
| 123 | <configuration>
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 124 | <source>1.4</source>
|
| 125 | <target>1.4</target>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 126 | </configuration>
|
| 127 | </plugin>
|
| 128 | </plugins>
|
| 129 | </build>
|
| 130 | </project>
|