blob: 6644544e275fd5fc9d503bdc114500b57d9559eb [file] [log] [blame]
Clement Escoffiercdb4b172008-04-29 22:25:39 +00001<!--
Clement Escoffier0f181552009-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 Escoffierc80b73d2009-07-03 13:16:24 +00009
Clement Escoffier0f181552009-11-29 10:06:36 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffierc80b73d2009-07-03 13:16:24 +000011
Clement Escoffier0f181552009-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 Escoffiercdb4b172008-04-29 22:25:39 +000018-->
Clement Escoffierf4622e52010-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 Escoffier7211c052011-02-23 13:33:33 +000022 <groupId>ipojo.tests</groupId>
23 <artifactId>ipojo.tests</artifactId>
24 <version>1.5.0-SNAPSHOT</version>
Clement Escoffier621f3742012-04-21 11:03:41 +000025 <relativePath>../../pom.xml</relativePath>
Clement Escoffierf4622e52010-05-01 10:21:51 +000026 </parent>
27
Clement Escoffier0f181552009-11-29 10:06:36 +000028 <modelVersion>4.0.0</modelVersion>
29 <packaging>bundle</packaging>
30 <name>iPOJO Annotations Test Suite</name>
31 <artifactId>tests.core.annotations</artifactId>
32 <groupId>ipojo.tests</groupId>
Clement Escoffier345e79a2011-02-23 10:36:42 +000033 <version>${ipojo.core.snapshot}</version>
Clement Escoffier0f181552009-11-29 10:06:36 +000034 <dependencies>
35 <dependency>
36 <groupId>org.apache.felix</groupId>
37 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier621f3742012-04-21 11:03:41 +000038 <version>1.6.0</version>
Clement Escoffier0f181552009-11-29 10:06:36 +000039 </dependency>
40 <dependency>
41 <groupId>org.apache.felix</groupId>
Clement Escoffierf4622e52010-05-01 10:21:51 +000042 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier0f181552009-11-29 10:06:36 +000043 </dependency>
44 <dependency>
Clement Escoffierf4622e52010-05-01 10:21:51 +000045 <groupId>org.osgi</groupId>
Clement Escoffier0f181552009-11-29 10:06:36 +000046 <artifactId>org.osgi.core</artifactId>
Clement Escoffier0f181552009-11-29 10:06:36 +000047 </dependency>
48 <dependency>
Clement Escoffier7211c052011-02-23 13:33:33 +000049 <groupId>org.osgi</groupId>
50 <artifactId>org.osgi.compendium</artifactId>
51 <version>4.0.0</version>
52 </dependency>
Clement Escoffierf4622e52010-05-01 10:21:51 +000053 <dependency>
Clement Escoffier0f181552009-11-29 10:06:36 +000054 <groupId>junit</groupId>
55 <artifactId>junit</artifactId>
56 <version>3.8.1</version>
57 </dependency>
58 <dependency>
59 <groupId>org.apache.felix</groupId>
60 <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
61 <version>1.1.0-SNAPSHOT</version>
62 </dependency>
63 <dependency>
64 <groupId>org.apache.felix</groupId>
65 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffier345e79a2011-02-23 10:36:42 +000066 <version>${ipojo.core.snapshot}</version>
Clement Escoffier0f181552009-11-29 10:06:36 +000067 </dependency>
68 <dependency>
69 <groupId>org.apache.felix</groupId>
70 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
Clement Escoffier73a10692011-02-23 13:35:32 +000071 <version>${ipojo.eah.snapshot}</version>
Clement Escoffier0f181552009-11-29 10:06:36 +000072 </dependency>
Clement Escoffier86ea4652010-04-29 15:53:58 +000073
Clement Escoffier3cc5d2d2009-12-28 12:17:10 +000074 <dependency>
75 <groupId>org.apache.felix</groupId>
76 <artifactId>org.apache.felix.eventadmin</artifactId>
77 <version>1.0.0</version>
78 <scope>test</scope>
79 </dependency>
Clement Escoffier86ea4652010-04-29 15:53:58 +000080
Clement Escoffier0f181552009-11-29 10:06:36 +000081 </dependencies>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000082
Clement Escoffier0f181552009-11-29 10:06:36 +000083 <build>
84 <plugins>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-compiler-plugin</artifactId>
88 <configuration>
89 <source>1.5</source>
90 <target>1.5</target>
91 </configuration>
92 </plugin>
93 <plugin>
94 <groupId>org.apache.felix</groupId>
95 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffier0f181552009-11-29 10:06:36 +000096 <extensions>true</extensions>
97 <configuration>
98 <instructions>
99 <Export-Package>
100 org.apache.felix.ipojo.test.scenarios.annotations.service
101 </Export-Package>
102 <Bundle-SymbolicName>
Clement Escoffierfe606902010-05-01 10:46:02 +0000103 ${project.artifactId}
Clement Escoffier0f181552009-11-29 10:06:36 +0000104 </Bundle-SymbolicName>
105 <Private-Package>
Clement Escoffieraa55a302010-07-31 08:14:26 +0000106 org.apache.felix.ipojo.test*, foo
Clement Escoffier0f181552009-11-29 10:06:36 +0000107 </Private-Package>
108 <Test-Suite>
109 org.apache.felix.ipojo.test.scenarios.annotations.AnnotationsTestSuite
110 </Test-Suite>
111 </instructions>
112 </configuration>
113 </plugin>
114 <plugin>
115 <groupId>org.apache.felix</groupId>
116 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier7211c052011-02-23 13:33:33 +0000117 <version>${ipojo.core.snapshot}</version>
Clement Escoffier0f181552009-11-29 10:06:36 +0000118 <executions>
119 <execution>
120 <goals>
121 <goal>ipojo-bundle</goal>
122 </goals>
123 </execution>
124 </executions>
125 </plugin>
Clement Escoffier86ea4652010-04-29 15:53:58 +0000126
127
Clement Escoffier1d6dc4e2010-02-24 18:15:44 +0000128 <plugin>
Clement Escoffier3cc5d2d2009-12-28 12:17:10 +0000129 <groupId>org.apache.felix</groupId>
130 <artifactId>maven-junit4osgi-plugin</artifactId>
131 <version>1.1.0-SNAPSHOT</version>
132 <executions>
133 <execution>
134 <goals>
135 <goal>test</goal>
136 </goals>
137 <configuration>
138 <configuration>
139 <org.osgi.http.port>8083</org.osgi.http.port>
140 </configuration>
141 </configuration>
142 </execution>
143 </executions>
Clement Escoffier1d6dc4e2010-02-24 18:15:44 +0000144 </plugin>
Clement Escoffier0f181552009-11-29 10:06:36 +0000145 </plugins>
146 </build>
Clement Escoffiercdb4b172008-04-29 22:25:39 +0000147</project>