blob: 30bb1a53ae12c90e21254886d11355049bc75cb4 [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>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000025 <groupId>org.apache.servicemix.kernel</groupId>
26 <artifactId>kernel</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000027 <version>1.2.0-SNAPSHOT</version>
28 </parent>
29
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000030 <groupId>org.apache.servicemix.kernel</groupId>
Guillaume Nodet59061172009-04-29 16:35:06 +000031 <artifactId>itests</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000032 <packaging>jar</packaging>
33 <version>1.2.0-SNAPSHOT</version>
Guillaume Nodet59061172009-04-29 16:35:06 +000034 <name>Apache ServiceMix Kernel :: 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
40 <dependencies>
Guillaume Nodetcbb5cb52009-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 Nodet05fac962009-04-27 10:01:58 +000043 <dependency>
Guillaume Nodet59061172009-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 Nodetcbb5cb52009-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 Nodet59061172009-04-29 16:35:06 +000050 <dependency>
Guillaume Nodetcbb5cb52009-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>
58 <groupId>org.apache.servicemix.kernel</groupId>
59 <artifactId>apache-servicemix-kernel</artifactId>
60 <type>xml</type>
61 <classifier>features</classifier>
Guillaume Nodet05fac962009-04-27 10:01:58 +000062 <scope>test</scope>
63 </dependency>
Guillaume Nodetcbb5cb52009-04-30 07:04:50 +000064
65 <!-- Pax EXAM -->
Guillaume Nodet05fac962009-04-27 10:01:58 +000066 <dependency>
Guillaume Nodet59061172009-04-29 16:35:06 +000067 <groupId>org.ops4j.pax.exam</groupId>
68 <artifactId>pax-exam</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000069 <scope>test</scope>
70 </dependency>
71 <dependency>
Guillaume Nodet59061172009-04-29 16:35:06 +000072 <groupId>org.ops4j.pax.exam</groupId>
73 <artifactId>pax-exam-junit</artifactId>
Guillaume Nodet05fac962009-04-27 10:01:58 +000074 <scope>test</scope>
75 </dependency>
Guillaume Nodet59061172009-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 Nodetcbb5cb52009-04-30 07:04:50 +000090 <scope>test</scope>
Guillaume Nodet59061172009-04-29 16:35:06 +000091 </dependency>
Guillaume Nodet05fac962009-04-27 10:01:58 +000092 </dependencies>
93
Guillaume Nodet59061172009-04-29 16:35:06 +000094 <repositories>
95 <repository>
96 <id>ops4j.releases</id>
97 <url>http://repository.ops4j.org/maven2</url>
98 </repository>
99 <repository>
100 <id>ops4j.snapshots</id>
101 <url>http://repository.ops4j.org/mvn-snapshots</url>
102 </repository>
103 </repositories>
104 <pluginRepositories>
105 <pluginRepository>
106 <id>ops4j.releases</id>
107 <url>http://repository.ops4j.org/maven2</url>
108 <snapshots>
109 <enabled>true</enabled>
110 </snapshots>
111 </pluginRepository>
112 </pluginRepositories>
113
Guillaume Nodet05fac962009-04-27 10:01:58 +0000114 <build>
115 <plugins>
Guillaume Nodet05fac962009-04-27 10:01:58 +0000116 <!-- generate dependencies versions -->
117 <plugin>
118 <groupId>org.apache.servicemix.tooling</groupId>
119 <artifactId>depends-maven-plugin</artifactId>
120 <executions>
121 <execution>
122 <id>generate-depends-file</id>
123 <goals>
124 <goal>generate-depends-file</goal>
125 </goals>
126 </execution>
127 </executions>
128 </plugin>
129 </plugins>
130 </build>
131
132 <profiles>
133 <profile>
134 <id>ci-build-profile</id>
135 <activation>
136 <property>
137 <name>maven.repo.local</name>
138 </property>
139 </activation>
140 <build>
141 <plugins>
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-surefire-plugin</artifactId>
145 <configuration>
146 <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url -->
147 <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine>
148 </configuration>
149 </plugin>
150 </plugins>
151 </build>
152 </profile>
153 <profile>
154 <activation>
155 <os>
156 <family>Windows</family>
157 </os>
158 </activation>
159 <build>
160 <plugins>
161 <plugin>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-surefire-plugin</artifactId>
164 <configuration>
165 <skip>true</skip>
166 </configuration>
167 </plugin>
168 </plugins>
169 </build>
170 </profile>
171 </profiles>
172
173</project>