Skip to content

Commit

Permalink
#1091 Modernize Karaf test container
Browse files Browse the repository at this point in the history
update Karaf to 4.4.6
  • Loading branch information
oliverlietz committed Oct 25, 2024
1 parent e963040 commit fa3ac60
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public String karafVersion() {
}

protected String getDefaultKarafVersion() {
return "4.4.5";
return "4.4.6";
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void test() throws Exception {
foundJarFiles++;
}
}
// Karaf 4.4.4 has 5 boot libs, we expect another one to show up
// Karaf 4.4.6 has 5 boot libs, we expect another one to show up
assertEquals(5 + 1, foundJarFiles);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Change this version to override the default
pax.exam.karaf.version = 4.4.5
pax.exam.karaf.version = 4.4.6
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.osgi.framework.system.packages.extra = \
sun.misc, \
com.sun.jmx.remote.protocol, \
com.sun.jmx.remote.protocol.jmxmp, \
org.apache.karaf.diagnostic.core;uses:=org.osgi.framework;version=4.4.5, \
org.apache.karaf.diagnostic.core.common;uses:=org.apache.karaf.diagnostic.core;version=4.4.5, \
org.apache.karaf.jaas.boot;uses:=\"javax.security.auth,javax.security.auth.callback,javax.security.auth.login,javax.security.auth.spi,org.osgi.framework\";version=4.4.5, \
org.apache.karaf.jaas.boot.principal;uses:=javax.security.auth;version=4.4.5
org.apache.karaf.diagnostic.core;uses:=org.osgi.framework;version=4.4.6, \
org.apache.karaf.diagnostic.core.common;uses:=org.apache.karaf.diagnostic.core;version=4.4.6, \
org.apache.karaf.jaas.boot;uses:=\"javax.security.auth,javax.security.auth.callback,javax.security.auth.login,javax.security.auth.spi,org.osgi.framework\";version=4.4.6, \
org.apache.karaf.jaas.boot.principal;uses:=javax.security.auth;version=4.4.6
2 changes: 1 addition & 1 deletion pom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dependency.junit.version>4.13.2</dependency.junit.version>
<dependency.osgicore.version>8.0.0</dependency.osgicore.version>
<dependency.atinject.version>1.0.5</dependency.atinject.version>
<dependency.karaf.version>4.4.5</dependency.karaf.version>
<dependency.karaf.version>4.4.6</dependency.karaf.version>

<dependency.logback.version>1.2.12</dependency.logback.version>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public Option[] config() {

public static String karafVersion() {
ConfigurationManager cm = new ConfigurationManager();
String karafVersion = cm.getProperty("pax.exam.karaf.version", "4.4.5");
String karafVersion = cm.getProperty("pax.exam.karaf.version", "4.4.6");
return karafVersion;
}

Expand Down

0 comments on commit fa3ac60

Please sign in to comment.