blob: 5f38cd5a2c40493a9ce300ed3092751737057944 [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 Nodete21429b2010-05-20 20:08:17 +000026 <version>1.7.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 Nodete21429b2010-05-20 20:08:17 +000032 <version>1.7.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
Guillaume Nodeta446ec22010-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 Nodet7341aab2010-02-03 15:18:50 +000064 </dependencies>
Guillaume Nodet59061172009-04-29 16:35:06 +000065
Guillaume Nodet05fac962009-04-27 10:01:58 +000066 <build>
67 <plugins>
Guillaume Nodet05fac962009-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 Nodet0bac11c2009-09-21 08:05:12 +000072 <version>1.1</version>
Guillaume Nodet05fac962009-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 Nodet05fac962009-04-27 10:01:58 +0000106 </profiles>
107
108</project>