Skip to content

Commit

Permalink
Merge pull request apache#1059 from graben/KARAF-6593
Browse files Browse the repository at this point in the history
[KARAF-6593] Embed slf4j in client
  • Loading branch information
jbonofre authored Jan 16, 2020
2 parents 1ee8759 + 879913d commit 302c2c9
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ setupClassPath() {
CLASSPATH="${CLASSPATH}:${KARAF_HOME}/system/org/apache/sshd/sshd-core/@@sshd.version@@/sshd-core-@@sshd.version@@.jar"
CLASSPATH="${CLASSPATH}:${KARAF_HOME}/system/org/fusesource/jansi/jansi/@@jansi.version@@/jansi-@@jansi.version@@.jar"
CLASSPATH="${CLASSPATH}:${KARAF_HOME}/system/org/jline/jline/@@jline.version@@/jline-@@jline.version@@.jar"
CLASSPATH="${CLASSPATH}:${KARAF_HOME}/system/org/slf4j/slf4j-api/@@slf4j.version@@/slf4j-api-@@slf4j.version@@.jar"
}

init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ set CLASSPATH=%KARAF_HOME%\system\org\apache\karaf\org.apache.karaf.client\@@pro
set CLASSPATH=%CLASSPATH%;%KARAF_HOME%\system\org\apache\sshd\sshd-core\@@sshd.version@@\sshd-core-@@sshd.version@@.jar
set CLASSPATH=%CLASSPATH%;%KARAF_HOME%\system\org\jline\jline\@@jline.version@@\jline-@@jline.version@@.jar
set CLASSPATH=%CLASSPATH%;%KARAF_HOME%\system\org\fusesource\jansi\jansi\@@jansi.version@@\jansi-@@jansi.version@@.jar
set CLASSPATH=%CLASSPATH%;%KARAF_HOME%\system\org\slf4j\slf4j-api\@@slf4j.version@@\slf4j-api-@@slf4j.version@@.jar

:EXECUTE
set arg1=%~1
Expand Down
5 changes: 0 additions & 5 deletions assemblies/features/framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,6 @@
<artifactId>jline</artifactId>
<outputDirectory>target/classes/resources/system/org/jline/jline/${jline.version}</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<outputDirectory>target/classes/resources/system/org/slf4j/slf4j-api/${slf4j.version}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
Expand Down
2 changes: 1 addition & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<Bundle-Description>Shell client bundle for Apache Karaf.</Bundle-Description>
<Private-Package>
org.apache.karaf.client;
org.slf4j.impl;
org.slf4j*;
org.apache.felix.utils.properties;
org.apache.karaf.util.config;
META-INF;-split-package:=merge-first
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@

<portlet-api.version>2.0</portlet-api.version>
<plexus-utils.version>3.0.24</plexus-utils.version>
<slf4j.version>1.7.12</slf4j.version>
<slf4j.version>1.7.29</slf4j.version>

<spring.osgi.version>1.2.1</spring.osgi.version>
<spring31.version>3.1.4.RELEASE</spring31.version>
Expand Down

0 comments on commit 302c2c9

Please sign in to comment.