blob: 006b54381d52db68226332692d3d313adc2d9abc [file] [log] [blame]
Guillaume Nodet91fab3b2009-04-27 10:01:58 +00001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
4 <!--
5
6 Licensed to the Apache Software Foundation (ASF) under one or more
7 contributor license agreements. See the NOTICE file distributed with
8 this work for additional information regarding copyright ownership.
9 The ASF licenses this file to You under the Apache License, Version 2.0
10 (the "License"); you may not use this file except in compliance with
11 the License. You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 -->
21
22 <modelVersion>4.0.0</modelVersion>
23
24 <parent>
Gert Vanthienen607b8522009-05-02 19:57:13 +000025 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodetf2015012009-04-30 07:04:50 +000026 <artifactId>kernel</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000027 <version>1.2.0-SNAPSHOT</version>
28 </parent>
29
Gert Vanthienen607b8522009-05-02 19:57:13 +000030 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +000031 <artifactId>itests</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000032 <packaging>jar</packaging>
33 <version>1.2.0-SNAPSHOT</version>
Gert Vanthienen607b8522009-05-02 19:57:13 +000034 <name>Apache Felix Karaf :: ITests</name>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000035
36 <description>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +000037 Integration tests
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000038 </description>
39
40 <dependencies>
Guillaume Nodetf2015012009-04-30 07:04:50 +000041 <!-- This is required to be first so that pax-exam classloader is not messed up with a newer version of felix
42 which would lead to java.lang.NoSuchMethodError: org.apache.felix.framework.Logger.<init>(I)V -->
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000043 <dependency>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +000044 <groupId>org.apache.felix</groupId>
45 <artifactId>org.apache.felix.framework</artifactId>
46 <version>1.0.0</version>
47 </dependency>
Guillaume Nodetf2015012009-04-30 07:04:50 +000048 <!-- This is required to be first so that pax-exam classloader is not messed up with a newer version of felix
49 which would lead to java.lang.RuntimeException: Could not create [service.obr] -->
Guillaume Nodet5c1894e2009-04-29 16:35:06 +000050 <dependency>
Guillaume Nodetf2015012009-04-30 07:04:50 +000051 <groupId>org.apache.felix</groupId>
52 <artifactId>org.apache.felix.bundlerepository</artifactId>
53 <version>1.2.1</version>
54 </dependency>
55
56 <!-- The assembly and all the dependencies -->
57 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000058 <groupId>org.apache.felix.karaf</groupId>
59 <artifactId>apache-felix-karaf</artifactId>
Guillaume Nodetf2015012009-04-30 07:04:50 +000060 <type>xml</type>
61 <classifier>features</classifier>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000062 <scope>test</scope>
63 </dependency>
Guillaume Nodetf2015012009-04-30 07:04:50 +000064
65 <!-- Pax EXAM -->
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000066 <dependency>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +000067 <groupId>org.ops4j.pax.exam</groupId>
68 <artifactId>pax-exam</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000069 <scope>test</scope>
70 </dependency>
71 <dependency>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +000072 <groupId>org.ops4j.pax.exam</groupId>
73 <artifactId>pax-exam-junit</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000074 <scope>test</scope>
75 </dependency>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +000076 <dependency>
77 <groupId>org.ops4j.pax.exam</groupId>
78 <artifactId>pax-exam-container-default</artifactId>
79 <scope>test</scope>
80 </dependency>
81 <dependency>
82 <groupId>org.ops4j.pax.exam</groupId>
83 <artifactId>pax-exam-junit-extender-impl</artifactId>
84 <scope>test</scope>
85 </dependency>
86 <dependency>
87 <groupId>junit</groupId>
88 <artifactId>junit</artifactId>
89 <version>4.5</version>
Guillaume Nodetf2015012009-04-30 07:04:50 +000090 <scope>test</scope>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +000091 </dependency>
Guillaume Nodet331282e2009-04-30 11:04:29 +000092
93 <dependency>
94 <groupId>org.ops4j.pax.runner.profiles</groupId>
95 <artifactId>log</artifactId>
96 <version>1.3.0</version>
97 <type>composite</type>
98 <scope>test</scope>
99 </dependency>
100 <dependency>
101 <groupId>org.ops4j.pax.runner.profiles</groupId>
102 <artifactId>felix.config</artifactId>
103 <version>1.0.10</version>
104 <type>composite</type>
105 <scope>test</scope>
106 </dependency>
107 <dependency>
108 <groupId>org.ops4j.pax.runner.profiles</groupId>
109 <artifactId>spring</artifactId>
110 <version>2.5.6</version>
111 <type>composite</type>
112 <scope>test</scope>
113 </dependency>
114 <dependency>
115 <groupId>org.ops4j.pax.runner.profiles</groupId>
116 <artifactId>spring.dm</artifactId>
117 <version>1.2.0-rc1</version>
118 <type>composite</type>
119 <scope>test</scope>
120 </dependency>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000121 </dependencies>
122
Guillaume Nodet5c1894e2009-04-29 16:35:06 +0000123 <repositories>
124 <repository>
125 <id>ops4j.releases</id>
126 <url>http://repository.ops4j.org/maven2</url>
127 </repository>
128 <repository>
Guillaume Nodet331282e2009-04-30 11:04:29 +0000129 <id>ops4j.profiles</id>
130 <url>http://scm.ops4j.org/repos/ops4j/projects/pax/runner-repository</url>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +0000131 </repository>
132 </repositories>
133 <pluginRepositories>
134 <pluginRepository>
135 <id>ops4j.releases</id>
136 <url>http://repository.ops4j.org/maven2</url>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +0000137 </pluginRepository>
138 </pluginRepositories>
139
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000140 <build>
141 <plugins>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000142 <!-- generate dependencies versions -->
143 <plugin>
144 <groupId>org.apache.servicemix.tooling</groupId>
145 <artifactId>depends-maven-plugin</artifactId>
Guillaume Nodet1de714b2009-04-30 20:37:09 +0000146 <version>1.2-SNAPSHOT</version>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000147 <executions>
148 <execution>
149 <id>generate-depends-file</id>
150 <goals>
151 <goal>generate-depends-file</goal>
152 </goals>
153 </execution>
154 </executions>
155 </plugin>
156 </plugins>
157 </build>
158
159 <profiles>
160 <profile>
161 <id>ci-build-profile</id>
162 <activation>
163 <property>
164 <name>maven.repo.local</name>
165 </property>
166 </activation>
167 <build>
168 <plugins>
169 <plugin>
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-surefire-plugin</artifactId>
172 <configuration>
173 <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url -->
174 <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine>
175 </configuration>
176 </plugin>
177 </plugins>
178 </build>
179 </profile>
180 <profile>
181 <activation>
182 <os>
183 <family>Windows</family>
184 </os>
185 </activation>
186 <build>
187 <plugins>
188 <plugin>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-surefire-plugin</artifactId>
191 <configuration>
192 <skip>true</skip>
193 </configuration>
194 </plugin>
195 </plugins>
196 </build>
197 </profile>
198 </profiles>
199
200</project>