blob: 2a49463afe4294d53668b4b2d5d0e4e8d4dc0b9b [file] [log] [blame]
Clement Escoffier77374832008-04-29 22:25:39 +00001<!--
Clement Escoffierc0db3a82009-11-29 10:06:36 +00002 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 Escoffierc0db3a82009-11-29 10:06:36 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffier0b93f382009-07-03 13:16:24 +000011
Clement Escoffierc0db3a82009-11-29 10:06: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.
Clement Escoffier77374832008-04-29 22:25:39 +000018-->
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>
Clement Escoffier58c9b152011-02-23 13:33:33 +000022 <groupId>ipojo.tests</groupId>
23 <artifactId>ipojo.tests</artifactId>
24 <version>1.5.0-SNAPSHOT</version>
Clement Escoffier03e1db72010-05-01 10:21:51 +000025 </parent>
26
Clement Escoffierc0db3a82009-11-29 10:06:36 +000027 <modelVersion>4.0.0</modelVersion>
28 <packaging>bundle</packaging>
29 <name>iPOJO Annotations Test Suite</name>
30 <artifactId>tests.core.annotations</artifactId>
31 <groupId>ipojo.tests</groupId>
Clement Escoffier84075052011-02-23 10:36:42 +000032 <version>${ipojo.core.snapshot}</version>
Clement Escoffierc0db3a82009-11-29 10:06:36 +000033 <dependencies>
34 <dependency>
35 <groupId>org.apache.felix</groupId>
36 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffierc0db3a82009-11-29 10:06:36 +000037 </dependency>
38 <dependency>
39 <groupId>org.apache.felix</groupId>
Clement Escoffier03e1db72010-05-01 10:21:51 +000040 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffierc0db3a82009-11-29 10:06:36 +000041 </dependency>
42 <dependency>
Clement Escoffier03e1db72010-05-01 10:21:51 +000043 <groupId>org.osgi</groupId>
Clement Escoffierc0db3a82009-11-29 10:06:36 +000044 <artifactId>org.osgi.core</artifactId>
Clement Escoffierc0db3a82009-11-29 10:06:36 +000045 </dependency>
46 <dependency>
Clement Escoffier58c9b152011-02-23 13:33:33 +000047 <groupId>org.osgi</groupId>
48 <artifactId>org.osgi.compendium</artifactId>
49 <version>4.0.0</version>
50 </dependency>
Clement Escoffier03e1db72010-05-01 10:21:51 +000051 <dependency>
Clement Escoffierc0db3a82009-11-29 10:06:36 +000052 <groupId>junit</groupId>
53 <artifactId>junit</artifactId>
54 <version>3.8.1</version>
55 </dependency>
56 <dependency>
57 <groupId>org.apache.felix</groupId>
58 <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
59 <version>1.1.0-SNAPSHOT</version>
60 </dependency>
61 <dependency>
62 <groupId>org.apache.felix</groupId>
63 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffier84075052011-02-23 10:36:42 +000064 <version>${ipojo.core.snapshot}</version>
Clement Escoffierc0db3a82009-11-29 10:06:36 +000065 </dependency>
66 <dependency>
67 <groupId>org.apache.felix</groupId>
68 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
Clement Escoffier513ce452011-02-23 13:35:32 +000069 <version>${ipojo.eah.snapshot}</version>
Clement Escoffierc0db3a82009-11-29 10:06:36 +000070 </dependency>
Clement Escoffier2fdda122010-04-29 15:53:58 +000071
Clement Escoffier05069562009-12-28 12:17:10 +000072 <dependency>
73 <groupId>org.apache.felix</groupId>
74 <artifactId>org.apache.felix.eventadmin</artifactId>
75 <version>1.0.0</version>
76 <scope>test</scope>
77 </dependency>
Clement Escoffier2fdda122010-04-29 15:53:58 +000078
Clement Escoffierc0db3a82009-11-29 10:06:36 +000079 </dependencies>
Clement Escoffier0b93f382009-07-03 13:16:24 +000080
Clement Escoffierc0db3a82009-11-29 10:06:36 +000081 <build>
82 <plugins>
83 <plugin>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-compiler-plugin</artifactId>
86 <configuration>
87 <source>1.5</source>
88 <target>1.5</target>
89 </configuration>
90 </plugin>
91 <plugin>
92 <groupId>org.apache.felix</groupId>
93 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffierc0db3a82009-11-29 10:06:36 +000094 <extensions>true</extensions>
95 <configuration>
96 <instructions>
97 <Export-Package>
98 org.apache.felix.ipojo.test.scenarios.annotations.service
99 </Export-Package>
100 <Bundle-SymbolicName>
Clement Escoffier134b0062010-05-01 10:46:02 +0000101 ${project.artifactId}
Clement Escoffierc0db3a82009-11-29 10:06:36 +0000102 </Bundle-SymbolicName>
103 <Private-Package>
Clement Escoffiercfa777c2010-07-31 08:14:26 +0000104 org.apache.felix.ipojo.test*, foo
Clement Escoffierc0db3a82009-11-29 10:06:36 +0000105 </Private-Package>
106 <Test-Suite>
107 org.apache.felix.ipojo.test.scenarios.annotations.AnnotationsTestSuite
108 </Test-Suite>
109 </instructions>
110 </configuration>
111 </plugin>
112 <plugin>
113 <groupId>org.apache.felix</groupId>
114 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier58c9b152011-02-23 13:33:33 +0000115 <version>${ipojo.core.snapshot}</version>
Clement Escoffierc0db3a82009-11-29 10:06:36 +0000116 <executions>
117 <execution>
118 <goals>
119 <goal>ipojo-bundle</goal>
120 </goals>
121 </execution>
122 </executions>
123 </plugin>
Clement Escoffier2fdda122010-04-29 15:53:58 +0000124
125
Clement Escoffier5f7d5a82010-02-24 18:15:44 +0000126 <plugin>
Clement Escoffier05069562009-12-28 12:17:10 +0000127 <groupId>org.apache.felix</groupId>
128 <artifactId>maven-junit4osgi-plugin</artifactId>
129 <version>1.1.0-SNAPSHOT</version>
130 <executions>
131 <execution>
132 <goals>
133 <goal>test</goal>
134 </goals>
135 <configuration>
136 <configuration>
137 <org.osgi.http.port>8083</org.osgi.http.port>
138 </configuration>
139 </configuration>
140 </execution>
141 </executions>
Clement Escoffier5f7d5a82010-02-24 18:15:44 +0000142 </plugin>
Clement Escoffierc0db3a82009-11-29 10:06:36 +0000143 </plugins>
144 </build>
Clement Escoffier77374832008-04-29 22:25:39 +0000145</project>