blob: 2a07997a5b7c01901887face51ef7d1cd557d827 [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 Escoffier95358cb2011-08-18 11:36:08 +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 Escoffier0f181552009-11-29 10:06:36 +000038 </dependency>
39 <dependency>
40 <groupId>org.apache.felix</groupId>
Clement Escoffierf4622e52010-05-01 10:21:51 +000041 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier0f181552009-11-29 10:06:36 +000042 </dependency>
43 <dependency>
Clement Escoffierf4622e52010-05-01 10:21:51 +000044 <groupId>org.osgi</groupId>
Clement Escoffier0f181552009-11-29 10:06:36 +000045 <artifactId>org.osgi.core</artifactId>
Clement Escoffier0f181552009-11-29 10:06:36 +000046 </dependency>
47 <dependency>
Clement Escoffier7211c052011-02-23 13:33:33 +000048 <groupId>org.osgi</groupId>
49 <artifactId>org.osgi.compendium</artifactId>
50 <version>4.0.0</version>
51 </dependency>
Clement Escoffierf4622e52010-05-01 10:21:51 +000052 <dependency>
Clement Escoffier0f181552009-11-29 10:06:36 +000053 <groupId>junit</groupId>
54 <artifactId>junit</artifactId>
55 <version>3.8.1</version>
56 </dependency>
57 <dependency>
58 <groupId>org.apache.felix</groupId>
59 <artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>
60 <version>1.1.0-SNAPSHOT</version>
61 </dependency>
62 <dependency>
63 <groupId>org.apache.felix</groupId>
64 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffier345e79a2011-02-23 10:36:42 +000065 <version>${ipojo.core.snapshot}</version>
Clement Escoffier0f181552009-11-29 10:06:36 +000066 </dependency>
67 <dependency>
68 <groupId>org.apache.felix</groupId>
69 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
Clement Escoffier73a10692011-02-23 13:35:32 +000070 <version>${ipojo.eah.snapshot}</version>
Clement Escoffier0f181552009-11-29 10:06:36 +000071 </dependency>
Clement Escoffier86ea4652010-04-29 15:53:58 +000072
Clement Escoffier3cc5d2d2009-12-28 12:17:10 +000073 <dependency>
74 <groupId>org.apache.felix</groupId>
75 <artifactId>org.apache.felix.eventadmin</artifactId>
76 <version>1.0.0</version>
77 <scope>test</scope>
78 </dependency>
Clement Escoffier86ea4652010-04-29 15:53:58 +000079
Clement Escoffier0f181552009-11-29 10:06:36 +000080 </dependencies>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000081
Clement Escoffier0f181552009-11-29 10:06:36 +000082 <build>
83 <plugins>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-compiler-plugin</artifactId>
87 <configuration>
88 <source>1.5</source>
89 <target>1.5</target>
90 </configuration>
91 </plugin>
92 <plugin>
93 <groupId>org.apache.felix</groupId>
94 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffier0f181552009-11-29 10:06:36 +000095 <extensions>true</extensions>
96 <configuration>
97 <instructions>
98 <Export-Package>
99 org.apache.felix.ipojo.test.scenarios.annotations.service
100 </Export-Package>
101 <Bundle-SymbolicName>
Clement Escoffierfe606902010-05-01 10:46:02 +0000102 ${project.artifactId}
Clement Escoffier0f181552009-11-29 10:06:36 +0000103 </Bundle-SymbolicName>
104 <Private-Package>
Clement Escoffieraa55a302010-07-31 08:14:26 +0000105 org.apache.felix.ipojo.test*, foo
Clement Escoffier0f181552009-11-29 10:06:36 +0000106 </Private-Package>
107 <Test-Suite>
108 org.apache.felix.ipojo.test.scenarios.annotations.AnnotationsTestSuite
109 </Test-Suite>
110 </instructions>
111 </configuration>
112 </plugin>
113 <plugin>
114 <groupId>org.apache.felix</groupId>
115 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier7211c052011-02-23 13:33:33 +0000116 <version>${ipojo.core.snapshot}</version>
Clement Escoffier0f181552009-11-29 10:06:36 +0000117 <executions>
118 <execution>
119 <goals>
120 <goal>ipojo-bundle</goal>
121 </goals>
122 </execution>
123 </executions>
124 </plugin>
Clement Escoffier86ea4652010-04-29 15:53:58 +0000125
126
Clement Escoffier1d6dc4e2010-02-24 18:15:44 +0000127 <plugin>
Clement Escoffier3cc5d2d2009-12-28 12:17:10 +0000128 <groupId>org.apache.felix</groupId>
129 <artifactId>maven-junit4osgi-plugin</artifactId>
130 <version>1.1.0-SNAPSHOT</version>
131 <executions>
132 <execution>
133 <goals>
134 <goal>test</goal>
135 </goals>
136 <configuration>
137 <configuration>
138 <org.osgi.http.port>8083</org.osgi.http.port>
139 </configuration>
140 </configuration>
141 </execution>
142 </executions>
Clement Escoffier1d6dc4e2010-02-24 18:15:44 +0000143 </plugin>
Clement Escoffier0f181552009-11-29 10:06:36 +0000144 </plugins>
145 </build>
Clement Escoffiercdb4b172008-04-29 22:25:39 +0000146</project>