Improve integration test speed
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@770162 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/karaf/itests/pom.xml b/karaf/itests/pom.xml
index 30bb1a5..2285ae6 100644
--- a/karaf/itests/pom.xml
+++ b/karaf/itests/pom.xml
@@ -89,6 +89,35 @@
<version>4.5</version>
<scope>test</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.ops4j.pax.runner.profiles</groupId>
+ <artifactId>log</artifactId>
+ <version>1.3.0</version>
+ <type>composite</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.ops4j.pax.runner.profiles</groupId>
+ <artifactId>felix.config</artifactId>
+ <version>1.0.10</version>
+ <type>composite</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.ops4j.pax.runner.profiles</groupId>
+ <artifactId>spring</artifactId>
+ <version>2.5.6</version>
+ <type>composite</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.ops4j.pax.runner.profiles</groupId>
+ <artifactId>spring.dm</artifactId>
+ <version>1.2.0-rc1</version>
+ <type>composite</type>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<repositories>
@@ -97,17 +126,14 @@
<url>http://repository.ops4j.org/maven2</url>
</repository>
<repository>
- <id>ops4j.snapshots</id>
- <url>http://repository.ops4j.org/mvn-snapshots</url>
+ <id>ops4j.profiles</id>
+ <url>http://scm.ops4j.org/repos/ops4j/projects/pax/runner-repository</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>ops4j.releases</id>
<url>http://repository.ops4j.org/maven2</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
</pluginRepository>
</pluginRepositories>
diff --git a/karaf/itests/src/test/java/org/apache/servicemix/kernel/gshell/itests/AbstractIntegrationTest.java b/karaf/itests/src/test/java/org/apache/servicemix/kernel/gshell/itests/AbstractIntegrationTest.java
index 4506991..e43e40c 100644
--- a/karaf/itests/src/test/java/org/apache/servicemix/kernel/gshell/itests/AbstractIntegrationTest.java
+++ b/karaf/itests/src/test/java/org/apache/servicemix/kernel/gshell/itests/AbstractIntegrationTest.java
@@ -108,8 +108,8 @@
public static Option[] configuration() {
Option[] options = options(
// install log service using pax runners profile abstraction (there are more profiles, like DS)
- logProfile(),
- configProfile(),
+ profile("log").version("1.3.0"),
+ profile("felix.config").version("1.0.10"),
profile("spring.dm").version("1.2.0-rc1"),
// this is how you set the default log level when using pax logging (logProfile)