blob: 867ac13be3ba64268c0727b8dc96d69a368245f0 [file] [log] [blame]
Clement Escoffierce0e1e52008-03-28 15:33:36 +00001<!--
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 Escoffier0b93f382009-07-03 13:16:24 +00009
Clement Escoffierce0e1e52008-03-28 15:33:36 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffier0b93f382009-07-03 13:16:24 +000011
Clement Escoffierce0e1e52008-03-28 15:33:36 +000012 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 Escoffier03e1db72010-05-01 10:21:51 +000019<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 Escoffierce0e1e52008-03-28 15:33:36 +000027 <modelVersion>4.0.0</modelVersion>
28 <packaging>bundle</packaging>
Clement Escoffierad6c5552008-04-25 16:49:43 +000029 <name>iPOJO Lifecycle controller Test Suite</name>
30 <artifactId>tests.core.lifecycle.controller</artifactId>
Clement Escoffier7d116ff2008-03-29 15:04:02 +000031 <groupId>ipojo.tests</groupId>
Clement Escoffieraf9ad1b2009-08-14 12:11:19 +000032 <version>1.5.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000033 <dependencies>
34 <dependency>
35 <groupId>org.apache.felix</groupId>
36 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier2fdda122010-04-29 15:53:58 +000037 <version>1.7.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000038 </dependency>
39 <dependency>
40 <groupId>org.apache.felix</groupId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000041 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000042 </dependency>
43 <dependency>
Clement Escoffier03e1db72010-05-01 10:21:51 +000044 <groupId>org.osgi</groupId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000045 <artifactId>org.osgi.core</artifactId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000046 </dependency>
47 <dependency>
48 <groupId>junit</groupId>
49 <artifactId>junit</artifactId>
50 <version>3.8.1</version>
51 </dependency>
52 <dependency>
Clement Escoffier18bfd022008-12-01 19:42:13 +000053 <groupId>org.apache.felix</groupId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000054 <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
Clement Escoffier2e9f4b32008-10-14 13:55:56 +000055 <version>1.1.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000056 </dependency>
Clement Escoffier03e1db72010-05-01 10:21:51 +000057 <dependency>
58 <groupId>org.osgi</groupId>
59 <artifactId>org.osgi.compendium</artifactId>
60 <version>4.0.0</version>
61 </dependency>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000062 </dependencies>
63 <build>
64 <plugins>
65 <plugin>
66 <groupId>org.apache.felix</groupId>
67 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000068 <extensions>true</extensions>
69 <configuration>
70 <instructions>
71 <Export-Package>
Clement Escoffierad6c5552008-04-25 16:49:43 +000072 org.apache.felix.ipojo.test.scenarios.lfc.service
Clement Escoffierce0e1e52008-03-28 15:33:36 +000073 </Export-Package>
74 <Bundle-SymbolicName>
Clement Escoffier134b0062010-05-01 10:46:02 +000075 ${project.artifactId}
Clement Escoffierce0e1e52008-03-28 15:33:36 +000076 </Bundle-SymbolicName>
77 <Private-Package>
78 org.apache.felix.ipojo.test*
79 </Private-Package>
80 <Test-Suite>
Clement Escoffierad6c5552008-04-25 16:49:43 +000081 org.apache.felix.ipojo.test.scenarios.lfc.LifeCycleControllerTestSuite
Clement Escoffierce0e1e52008-03-28 15:33:36 +000082 </Test-Suite>
83 </instructions>
84 </configuration>
85 </plugin>
86 <plugin>
87 <groupId>org.apache.felix</groupId>
88 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000089 <executions>
90 <execution>
91 <goals>
92 <goal>ipojo-bundle</goal>
93 </goals>
94 <configuration>
95 <ignoreAnnotations>true</ignoreAnnotations>
Clement Escoffierd9128542008-12-23 13:21:58 +000096 <metadata>
97 <![CDATA[
98 <ipojo
99 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Clement Escoffier0b93f382009-07-03 13:16:24 +0000100 xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/SNAPSHOT/core.xsd"
Clement Escoffierd9128542008-12-23 13:21:58 +0000101 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>
121 </ipojo>
122 ]]>
123 </metadata>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000124 </configuration>
125 </execution>
126 </executions>
127 </plugin>
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-compiler-plugin</artifactId>
131 <configuration>
Clement Escoffierad6c5552008-04-25 16:49:43 +0000132 <source>1.4</source>
133 <target>1.4</target>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000134 </configuration>
135 </plugin>
136 </plugins>
137 </build>
138</project>