blob: e0a5d58d6ff4e3a3eb4e8b79b203eaaf9bb664ec [file] [log] [blame]
Guillaume Nodet916f28a2009-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 Nodet91fab3b2009-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 Vanthienen607b8522009-05-02 19:57:13 +000024 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodetb9103c82009-05-11 14:33:35 +000025 <artifactId>karaf</artifactId>
Guillaume Nodet4ce09002010-06-11 20:01:48 +000026 <version>1.6.2</version>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000027 </parent>
28
Gert Vanthienen607b8522009-05-02 19:57:13 +000029 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +000030 <artifactId>itests</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000031 <packaging>jar</packaging>
Guillaume Nodet4ce09002010-06-11 20:01:48 +000032 <version>1.6.2</version>
Gert Vanthienen607b8522009-05-02 19:57:13 +000033 <name>Apache Felix Karaf :: ITests</name>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000034
35 <description>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +000036 Integration tests
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000037 </description>
38
Guillaume Nodetc0d97722009-09-18 20:25:06 +000039 <properties>
40 <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
41 </properties>
42
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000043 <dependencies>
Guillaume Nodetf2015012009-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 Nodet91fab3b2009-04-27 10:01:58 +000046 <dependency>
Guillaume Nodet5c1894e2009-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 Nodetf2015012009-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 Nodet5c1894e2009-04-29 16:35:06 +000053 <dependency>
Guillaume Nodetf2015012009-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
Guillaume Nodeta9a1b5e2010-02-03 12:23:27 +000059 <dependency>
60 <groupId>org.apache.felix.karaf.tooling</groupId>
61 <artifactId>org.apache.felix.karaf.tooling.testing</artifactId>
62 <scope>test</scope>
63 </dependency>
Guillaume Nodet913b7ca2010-02-03 15:18:50 +000064 </dependencies>
Guillaume Nodet5c1894e2009-04-29 16:35:06 +000065
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000066 <build>
67 <plugins>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000068 <!-- generate dependencies versions -->
69 <plugin>
70 <groupId>org.apache.servicemix.tooling</groupId>
71 <artifactId>depends-maven-plugin</artifactId>
Guillaume Nodet4705d542009-09-21 08:05:12 +000072 <version>1.1</version>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000073 <executions>
74 <execution>
75 <id>generate-depends-file</id>
76 <goals>
77 <goal>generate-depends-file</goal>
78 </goals>
79 </execution>
80 </executions>
81 </plugin>
82 </plugins>
83 </build>
84
85 <profiles>
86 <profile>
87 <id>ci-build-profile</id>
88 <activation>
89 <property>
90 <name>maven.repo.local</name>
91 </property>
92 </activation>
93 <build>
94 <plugins>
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-surefire-plugin</artifactId>
98 <configuration>
99 <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url -->
100 <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine>
101 </configuration>
102 </plugin>
103 </plugins>
104 </build>
105 </profile>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000106 </profiles>
107
108</project>