blob: 19400c97175146610262c32d71a62fe1617012cb [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
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
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 Escoffierce0e1e52008-03-28 15:33:36 +000020 <modelVersion>4.0.0</modelVersion>
21 <packaging>bundle</packaging>
Clement Escoffierad6c5552008-04-25 16:49:43 +000022 <name>iPOJO Lifecycle controller Test Suite</name>
23 <artifactId>tests.core.lifecycle.controller</artifactId>
Clement Escoffier7d116ff2008-03-29 15:04:02 +000024 <groupId>ipojo.tests</groupId>
Clement Escoffier3b6ee432009-02-09 09:27:51 +000025 <version>1.3.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000026 <dependencies>
27 <dependency>
28 <groupId>org.apache.felix</groupId>
29 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier3b6ee432009-02-09 09:27:51 +000030 <version>1.3.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000031 </dependency>
32 <dependency>
33 <groupId>org.apache.felix</groupId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000034 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier3b6ee432009-02-09 09:27:51 +000035 <version>1.3.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000036 </dependency>
37 <dependency>
38 <groupId>org.apache.felix</groupId>
39 <artifactId>org.osgi.core</artifactId>
Clement Escoffier31f25df2008-11-20 15:51:56 +000040 <version>1.0.1</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000041 </dependency>
42 <dependency>
43 <groupId>junit</groupId>
44 <artifactId>junit</artifactId>
45 <version>3.8.1</version>
46 </dependency>
47 <dependency>
Clement Escoffier18bfd022008-12-01 19:42:13 +000048 <groupId>org.apache.felix</groupId>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000049 <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
Clement Escoffier2e9f4b32008-10-14 13:55:56 +000050 <version>1.1.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000051 </dependency>
52 </dependencies>
53 <build>
54 <plugins>
55 <plugin>
56 <groupId>org.apache.felix</groupId>
57 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffier2e9f4b32008-10-14 13:55:56 +000058 <version>1.4.3</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000059 <extensions>true</extensions>
60 <configuration>
61 <instructions>
62 <Export-Package>
Clement Escoffierad6c5552008-04-25 16:49:43 +000063 org.apache.felix.ipojo.test.scenarios.lfc.service
Clement Escoffierce0e1e52008-03-28 15:33:36 +000064 </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 Escoffierad6c5552008-04-25 16:49:43 +000072 org.apache.felix.ipojo.test.scenarios.lfc.LifeCycleControllerTestSuite
Clement Escoffierce0e1e52008-03-28 15:33:36 +000073 </Test-Suite>
74 </instructions>
75 </configuration>
76 </plugin>
77 <plugin>
78 <groupId>org.apache.felix</groupId>
79 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier3b6ee432009-02-09 09:27:51 +000080 <version>1.3.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000081 <executions>
82 <execution>
83 <goals>
84 <goal>ipojo-bundle</goal>
85 </goals>
86 <configuration>
87 <ignoreAnnotations>true</ignoreAnnotations>
Clement Escoffierd9128542008-12-23 13:21:58 +000088 <metadata>
89 <![CDATA[
90 <ipojo
91 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
92 xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/1.1.0-SNAPSHOT/core.xsd"
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 Escoffierce0e1e52008-03-28 15:33:36 +0000116 </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 Escoffierad6c5552008-04-25 16:49:43 +0000124 <source>1.4</source>
125 <target>1.4</target>
Clement Escoffierce0e1e52008-03-28 15:33:36 +0000126 </configuration>
127 </plugin>
128 </plugins>
129 </build>
130</project>