blob: 9024dbd6d2c0598e99f147274ce08df4ac6b67f7 [file] [log] [blame]
Guillaume Nodet05fac962009-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 Vanthienenf54a8392009-05-02 19:57:13 +000025 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodet60dbfd72009-05-11 14:33:35 +000026 <artifactId>karaf</artifactId>
Guillaume Nodetadc9d282009-08-25 09:03:55 +000027 <version>0.9.0-SNAPSHOT</version>
Guillaume Nodet05fac962009-04-27 10:01:58 +000028 </parent>
29
Gert Vanthienenf54a8392009-05-02 19:57:13 +000030 <groupId>org.apache.felix.karaf</groupId>
Guillaume Nodet59061172009-04-29 16:35:06 +000031 <artifactId>itests</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000032 <packaging>jar</packaging>
Guillaume Nodetadc9d282009-08-25 09:03:55 +000033 <version>0.9.0-SNAPSHOT</version>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000034 <name>Apache Felix Karaf :: ITests</name>
Guillaume Nodet05fac962009-04-27 10:01:58 +000035
36 <description>
Guillaume Nodet59061172009-04-29 16:35:06 +000037 Integration tests
Guillaume Nodet05fac962009-04-27 10:01:58 +000038 </description>
39
Guillaume Nodete73545e2009-09-18 20:25:06 +000040 <properties>
41 <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
42 </properties>
43
Guillaume Nodet05fac962009-04-27 10:01:58 +000044 <dependencies>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000045 <!-- This is required to be first so that pax-exam classloader is not messed up with a newer version of felix
46 which would lead to java.lang.NoSuchMethodError: org.apache.felix.framework.Logger.<init>(I)V -->
Guillaume Nodet05fac962009-04-27 10:01:58 +000047 <dependency>
Guillaume Nodet59061172009-04-29 16:35:06 +000048 <groupId>org.apache.felix</groupId>
49 <artifactId>org.apache.felix.framework</artifactId>
50 <version>1.0.0</version>
51 </dependency>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000052 <!-- This is required to be first so that pax-exam classloader is not messed up with a newer version of felix
53 which would lead to java.lang.RuntimeException: Could not create [service.obr] -->
Guillaume Nodet59061172009-04-29 16:35:06 +000054 <dependency>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000055 <groupId>org.apache.felix</groupId>
56 <artifactId>org.apache.felix.bundlerepository</artifactId>
57 <version>1.2.1</version>
58 </dependency>
59
60 <!-- The assembly and all the dependencies -->
61 <dependency>
Gert Vanthienenf54a8392009-05-02 19:57:13 +000062 <groupId>org.apache.felix.karaf</groupId>
63 <artifactId>apache-felix-karaf</artifactId>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000064 <type>xml</type>
65 <classifier>features</classifier>
Guillaume Nodet05fac962009-04-27 10:01:58 +000066 <scope>test</scope>
67 </dependency>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000068
69 <!-- Pax EXAM -->
Guillaume Nodet05fac962009-04-27 10:01:58 +000070 <dependency>
Guillaume Nodet59061172009-04-29 16:35:06 +000071 <groupId>org.ops4j.pax.exam</groupId>
72 <artifactId>pax-exam</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000073 <scope>test</scope>
74 </dependency>
75 <dependency>
Guillaume Nodet59061172009-04-29 16:35:06 +000076 <groupId>org.ops4j.pax.exam</groupId>
77 <artifactId>pax-exam-junit</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000078 <scope>test</scope>
79 </dependency>
Guillaume Nodet59061172009-04-29 16:35:06 +000080 <dependency>
81 <groupId>org.ops4j.pax.exam</groupId>
82 <artifactId>pax-exam-container-default</artifactId>
83 <scope>test</scope>
84 </dependency>
85 <dependency>
86 <groupId>org.ops4j.pax.exam</groupId>
87 <artifactId>pax-exam-junit-extender-impl</artifactId>
88 <scope>test</scope>
89 </dependency>
90 <dependency>
91 <groupId>junit</groupId>
92 <artifactId>junit</artifactId>
93 <version>4.5</version>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000094 <scope>test</scope>
Guillaume Nodet59061172009-04-29 16:35:06 +000095 </dependency>
Guillaume Nodet05fac962009-04-27 10:01:58 +000096 </dependencies>
97
Guillaume Nodet59061172009-04-29 16:35:06 +000098 <repositories>
99 <repository>
100 <id>ops4j.releases</id>
101 <url>http://repository.ops4j.org/maven2</url>
102 </repository>
Guillaume Nodet59061172009-04-29 16:35:06 +0000103 </repositories>
104 <pluginRepositories>
105 <pluginRepository>
106 <id>ops4j.releases</id>
107 <url>http://repository.ops4j.org/maven2</url>
Guillaume Nodet59061172009-04-29 16:35:06 +0000108 </pluginRepository>
109 </pluginRepositories>
110
Guillaume Nodet05fac962009-04-27 10:01:58 +0000111 <build>
112 <plugins>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000113 <!-- generate dependencies versions -->
114 <plugin>
115 <groupId>org.apache.servicemix.tooling</groupId>
116 <artifactId>depends-maven-plugin</artifactId>
Guillaume Nodet0bac11c2009-09-21 08:05:12 +0000117 <version>1.1</version>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000118 <executions>
119 <execution>
120 <id>generate-depends-file</id>
121 <goals>
122 <goal>generate-depends-file</goal>
123 </goals>
124 </execution>
125 </executions>
126 </plugin>
127 </plugins>
128 </build>
129
130 <profiles>
131 <profile>
132 <id>ci-build-profile</id>
133 <activation>
134 <property>
135 <name>maven.repo.local</name>
136 </property>
137 </activation>
138 <build>
139 <plugins>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-surefire-plugin</artifactId>
143 <configuration>
144 <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url -->
145 <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine>
146 </configuration>
147 </plugin>
148 </plugins>
149 </build>
150 </profile>
151 <profile>
152 <activation>
153 <os>
154 <family>Windows</family>
155 </os>
156 </activation>
157 <build>
158 <plugins>
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-surefire-plugin</artifactId>
162 <configuration>
163 <skip>true</skip>
164 </configuration>
165 </plugin>
166 </plugins>
167 </build>
168 </profile>
169 </profiles>
170
171</project>