Author: olamy
Date: Thu Jun 27 12:38:09 2013
New Revision: 1497330

URL: http://svn.apache.org/r1497330
Log:
fix test: osgi my love :-)

Modified:
    directmemory/trunk/itests/osgi/pom.xml
    
directmemory/trunk/itests/osgi/src/test/java/org/apache/directmemory/tests/osgi/DirectMemoryOsgiTestSupport.java

Modified: directmemory/trunk/itests/osgi/pom.xml
URL: 
http://svn.apache.org/viewvc/directmemory/trunk/itests/osgi/pom.xml?rev=1497330&r1=1497329&r2=1497330&view=diff
==============================================================================
--- directmemory/trunk/itests/osgi/pom.xml (original)
+++ directmemory/trunk/itests/osgi/pom.xml Thu Jun 27 12:38:09 2013
@@ -33,6 +33,7 @@ under the License.
     <osgi.debug>false</osgi.debug>
     <osgi.debug.port>5005</osgi.debug.port>
     <osgi.debug.suspend>true</osgi.debug.suspend>
+    <pax.logging.version>1.7.0</pax.logging.version>
   </properties>
   <dependencies>
 
@@ -61,6 +62,20 @@ under the License.
     </dependency>
 
     <dependency>
+      <groupId>org.ops4j.pax.logging</groupId>
+      <artifactId>pax-logging-api</artifactId>
+      <version>${pax.logging.version}</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.ops4j.pax.logging</groupId>
+      <artifactId>pax-logging-service</artifactId>
+      <version>${pax.logging.version}</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
       <groupId>org.ops4j.pax.exam</groupId>
       <artifactId>pax-exam</artifactId>
       <scope>test</scope>
@@ -101,6 +116,7 @@ under the License.
             <osgi.debug.suspend>${osgi.debug.suspend}</osgi.debug.suspend>
             <direct.memory.version>${project.version}</direct.memory.version>
             
<ehcache.bundle.version>${ehcache.bundle.version}</ehcache.bundle.version>
+            <pax.logging.version>${pax.logging.version}</pax.logging.version>
             <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
           </systemPropertyVariables>
         </configuration>

Modified: 
directmemory/trunk/itests/osgi/src/test/java/org/apache/directmemory/tests/osgi/DirectMemoryOsgiTestSupport.java
URL: 
http://svn.apache.org/viewvc/directmemory/trunk/itests/osgi/src/test/java/org/apache/directmemory/tests/osgi/DirectMemoryOsgiTestSupport.java?rev=1497330&r1=1497329&r2=1497330&view=diff
==============================================================================
--- 
directmemory/trunk/itests/osgi/src/test/java/org/apache/directmemory/tests/osgi/DirectMemoryOsgiTestSupport.java
 (original)
+++ 
directmemory/trunk/itests/osgi/src/test/java/org/apache/directmemory/tests/osgi/DirectMemoryOsgiTestSupport.java
 Thu Jun 27 12:38:09 2013
@@ -163,8 +163,8 @@ public class DirectMemoryOsgiTestSupport
     {
         List<MavenArtifactProvisionOption> mavenOptions = Arrays.asList(
             mavenBundle().groupId( "org.apache.felix" ).artifactId( 
"org.apache.felix.configadmin" ).version( "1.2.8" ),
-            mavenBundle().groupId( "org.ops4j.pax.logging" ).artifactId( 
"pax-logging-api" ).version( "1.6.2" ),
-            mavenBundle().groupId( "org.ops4j.pax.logging" ).artifactId( 
"pax-logging-service" ).version( "1.6.2" ),
+            mavenBundle().groupId( "org.ops4j.pax.logging" ).artifactId( 
"pax-logging-api" ).version( System.getProperty( "pax.logging.version" ) ),
+            mavenBundle().groupId( "org.ops4j.pax.logging" ).artifactId( 
"pax-logging-service" ).version( System.getProperty( "pax.logging.version" ) ),
             mavenBundle().groupId( "org.apache.servicemix.bundles" 
).artifactId(
                 "org.apache.servicemix.bundles.guava" ).version( "09_1" ),
             mavenBundle().groupId( "org.apache.servicemix.bundles" 
).artifactId(


Reply via email to