blob: 5ae6cffa540d00ddcff332805a588a411c72f66d [file] [log] [blame]
Guillaume Nodet6896d702009-09-22 09:11:12 +00001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Guillaume Nodet05fac962009-04-27 10:01:58 +00002
3 <!--
4
5 Licensed to the Apache Software Foundation (ASF) under one or more
6 contributor license agreements. See the NOTICE file distributed with
7 this work for additional information regarding copyright ownership.
8 The ASF licenses this file to You under the Apache License, Version 2.0
9 (the "License"); you may not use this file except in compliance with
10 the License. You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 -->
20
21 <modelVersion>4.0.0</modelVersion>
22
23 <parent>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000024 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodet60dbfd72009-05-11 14:33:35 +000025 <artifactId>karaf</artifactId>
Guillaume Nodet6f17f4f2009-09-22 09:15:21 +000026 <version>1.1.0-SNAPSHOT</version>
Guillaume Nodet05fac962009-04-27 10:01:58 +000027 </parent>
28
Gert Vanthienenf54a8392009-05-02 19:57:13 +000029 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodet59061172009-04-29 16:35:06 +000030 <artifactId>itests</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000031 <packaging>jar</packaging>
Guillaume Nodet6f17f4f2009-09-22 09:15:21 +000032 <version>1.1.0-SNAPSHOT</version>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000033 <name>Apache Felix Karaf :: ITests</name>
Guillaume Nodet05fac962009-04-27 10:01:58 +000034
35 <description>
Guillaume Nodet59061172009-04-29 16:35:06 +000036 Integration tests
Guillaume Nodet05fac962009-04-27 10:01:58 +000037 </description>
38
Guillaume Nodete73545e2009-09-18 20:25:06 +000039 <properties>
40 <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
41 </properties>
42
Guillaume Nodet05fac962009-04-27 10:01:58 +000043 <dependencies>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000044 <!-- This is required to be first so that pax-exam classloader is not messed up with a newer version of felix
45 which would lead to java.lang.NoSuchMethodError: org.apache.felix.framework.Logger.<init>(I)V -->
Guillaume Nodet05fac962009-04-27 10:01:58 +000046 <dependency>
Guillaume Nodet59061172009-04-29 16:35:06 +000047 <groupId>org.apache.felix</groupId>
48 <artifactId>org.apache.felix.framework</artifactId>
49 <version>1.0.0</version>
50 </dependency>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000051 <!-- This is required to be first so that pax-exam classloader is not messed up with a newer version of felix
52 which would lead to java.lang.RuntimeException: Could not create [service.obr] -->
Guillaume Nodet59061172009-04-29 16:35:06 +000053 <dependency>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000054 <groupId>org.apache.felix</groupId>
55 <artifactId>org.apache.felix.bundlerepository</artifactId>
56 <version>1.2.1</version>
57 </dependency>
58
59 <!-- The assembly and all the dependencies -->
60 <dependency>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000061 <groupId>org.apache.felix.karaf</groupId>
62 <artifactId>apache-felix-karaf</artifactId>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000063 <type>xml</type>
64 <classifier>features</classifier>
Guillaume Nodet05fac962009-04-27 10:01:58 +000065 <scope>test</scope>
66 </dependency>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000067
68 <!-- Pax EXAM -->
Guillaume Nodet05fac962009-04-27 10:01:58 +000069 <dependency>
Guillaume Nodet59061172009-04-29 16:35:06 +000070 <groupId>org.ops4j.pax.exam</groupId>
71 <artifactId>pax-exam</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000072 <scope>test</scope>
73 </dependency>
74 <dependency>
Guillaume Nodet59061172009-04-29 16:35:06 +000075 <groupId>org.ops4j.pax.exam</groupId>
76 <artifactId>pax-exam-junit</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000077 <scope>test</scope>
78 </dependency>
Guillaume Nodet59061172009-04-29 16:35:06 +000079 <dependency>
80 <groupId>org.ops4j.pax.exam</groupId>
81 <artifactId>pax-exam-container-default</artifactId>
82 <scope>test</scope>
83 </dependency>
84 <dependency>
85 <groupId>org.ops4j.pax.exam</groupId>
86 <artifactId>pax-exam-junit-extender-impl</artifactId>
87 <scope>test</scope>
88 </dependency>
89 <dependency>
90 <groupId>junit</groupId>
91 <artifactId>junit</artifactId>
92 <version>4.5</version>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000093 <scope>test</scope>
Guillaume Nodet59061172009-04-29 16:35:06 +000094 </dependency>
Guillaume Nodet05fac962009-04-27 10:01:58 +000095 </dependencies>
96
Guillaume Nodet59061172009-04-29 16:35:06 +000097 <repositories>
98 <repository>
99 <id>ops4j.releases</id>
100 <url>http://repository.ops4j.org/maven2</url>
101 </repository>
Guillaume Nodet59061172009-04-29 16:35:06 +0000102 </repositories>
103 <pluginRepositories>
104 <pluginRepository>
105 <id>ops4j.releases</id>
106 <url>http://repository.ops4j.org/maven2</url>
Guillaume Nodet59061172009-04-29 16:35:06 +0000107 </pluginRepository>
108 </pluginRepositories>
109
Guillaume Nodet05fac962009-04-27 10:01:58 +0000110 <build>
111 <plugins>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000112 <!-- generate dependencies versions -->
113 <plugin>
114 <groupId>org.apache.servicemix.tooling</groupId>
115 <artifactId>depends-maven-plugin</artifactId>
Guillaume Nodet0bac11c2009-09-21 08:05:12 +0000116 <version>1.1</version>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000117 <executions>
118 <execution>
119 <id>generate-depends-file</id>
120 <goals>
121 <goal>generate-depends-file</goal>
122 </goals>
123 </execution>
124 </executions>
125 </plugin>
126 </plugins>
127 </build>
128
129 <profiles>
130 <profile>
131 <id>ci-build-profile</id>
132 <activation>
133 <property>
134 <name>maven.repo.local</name>
135 </property>
136 </activation>
137 <build>
138 <plugins>
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-surefire-plugin</artifactId>
142 <configuration>
143 <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url -->
144 <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine>
145 </configuration>
146 </plugin>
147 </plugins>
148 </build>
149 </profile>
150 <profile>
151 <activation>
152 <os>
153 <family>Windows</family>
154 </os>
155 </activation>
156 <build>
157 <plugins>
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-surefire-plugin</artifactId>
161 <configuration>
162 <skip>true</skip>
163 </configuration>
164 </plugin>
165 </plugins>
166 </build>
167 </profile>
168 </profiles>
169
170</project>