OPS4J Pax Logging - Service.
Pax Logging Service is a Log4J driven service that supports Jakarta Commons Logging, Log4J, Avalon Logging, SLF4J and Pax Logging clients. Note that all this clients must use the Pax Logging Client library in the proper way. See documentation for details..
Here is the list of declaration for pax-logging-service. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.ops4j.pax.logging</groupId> <artifactId>pax-logging-service</artifactId> <version>1.6.1</version> </dependency>
If you think this Maven repository POM file listing for pax-logging-service is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following plugins are used in the pax-logging-service-1.6.1.jar
The following packages are defined in the pax-logging-service-1.6.1.jar
org.apache.log4j org.apache.log4j.chainsaw org.apache.log4j.config org.apache.log4j.helpers org.apache.log4j.jdbc org.apache.log4j.jmx org.apache.log4j.lf5 org.apache.log4j.lf5.util org.apache.log4j.lf5.viewer org.apache.log4j.lf5.viewer.categoryexplorer org.apache.log4j.lf5.viewer.configure org.apache.log4j.net org.apache.log4j.nt org.apache.log4j.or org.apache.log4j.or.jms org.apache.log4j.or.sax org.apache.log4j.pattern org.apache.log4j.sift org.apache.log4j.spi org.apache.log4j.varia org.apache.log4j.xml org.ops4j.pax.logging.internal org.ops4j.pax.logging.service.internal org.ops4j.pax.logging.spi
Here is the content of the POM file.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.ops4j.pax</groupId> <artifactId>logging</artifactId> <version>1.6.1</version> </parent> <groupId>org.ops4j.pax.logging</groupId> <artifactId>pax-logging-service</artifactId> <packaging>bundle</packaging> <name>OPS4J Pax Logging - Service</name> <description>Pax Logging Service is a Log4J driven service that supports Jakarta Commons Logging, Log4J, Avalon Logging, SLF4J and Pax Logging clients. Note that all this clients must use the Pax Logging Client library in the proper way. See documentation for details. </description> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> </plugin> <plugin> <groupId>org.ops4j</groupId> <artifactId>maven-pax-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack</id> <phase>generate-resources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </artifactItem> </artifactItems> <outputDirectory> ${project.build.directory}/classes </outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <phase>process-classes</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <includes> <include>log4j:log4j</include> <include>${project.groupId}:${project.artifactId}</include> </includes> </artifactSet> <!-- <filters> <filter> <artifact>log4j:log4j</artifact> <excludes> <exclude>org/**</exclude> </excludes> </filter> </filters> --> <createSourcesJar>true</createSourcesJar> <promoteTransitiveDependencies>false</promoteTransitiveDependencies> <createDependencyReducedPom>false</createDependencyReducedPom> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.compendium</artifactId> </dependency> <dependency> <groupId>jmock</groupId> <artifactId>jmock</artifactId> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <exclusions> <exclusion> <groupId>javax.jms</groupId> <artifactId>jms</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.ops4j.pax.logging</groupId> <artifactId>pax-logging-api</artifactId> <scope>provided</scope> </dependency> </dependencies> </project>