Skip to content

Commit

Permalink
Fix logging package imports to avoid log4j warning when deploying in …
Browse files Browse the repository at this point in the history
…OSGi
  • Loading branch information
gnodet committed Jun 6, 2013
1 parent d3829d7 commit 6d17b0e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions hawtio-web/pom.xml
Expand Up @@ -301,9 +301,18 @@
<Embed-Transitive>true</Embed-Transitive>

<!-- fix jgit, and slf4j imports -->
<Import-Package>!com.jcraft.jzlib,org.slf4j;resolution:=optional,
!org.slf4j.impl,!com.ibm.uvm.tools*,!com.sun.jdmk.comm*,!javax.jmdns*,!javax.jms*,!javax.portlet*,
!org.apache.commons.io*,!org.apache.log*,*</Import-Package>
<Import-Package>
org.apache.commons.logging;resolution:=optional,
org.slf4j;resolution:=optional,
!org.slf4j.impl,
!org.apache.avalon*,
!org.apache.log*,

!com.jcraft.jzlib,
!com.ibm.uvm.tools*,!com.sun.jdmk.comm*,!javax.jmdns*,!javax.jms*,!javax.portlet*,
!org.apache.commons.io*,
*
</Import-Package>

<Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath>
<Bundle-Name>${project.description}</Bundle-Name>
Expand Down

0 comments on commit 6d17b0e

Please sign in to comment.