Apache Log4j.
Apache Log4j 1.2.
Here is the list of declaration for log4j. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.15</version> </dependency>
If you think this Maven repository POM file listing for log4j is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:The Apache Software License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.
The log4j-1.2.15 has 6 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Network | mail 1.4 The JavaMail API provides a platform-independent and protocol-independent framework to build mail and messaging applications. | 461 |
JMS | jms 1.1 The Java Message Service (JMS) API is a messaging standard that allows application components based on the Java 2 Platform, Enterprise Edition (J2EE) to create, send, receive, and read messages. It enables distributed communication that is loosely coupled, reliable, and asynchronous. | 62 |
JUnit | junit 3.8.1 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 1966 |
The following table lists the most popular artifacts which are depending on log4j-1.2.15. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Development | stripes 1.5 Stripes web framework jar, including tag library. | 8 |
JEE | opencms-core 8.0.1 Opencms-core is the JAR-Library for OpenCms. OpenCms is a Content Management System that is based on Open Source Software. Complex Intranet and Internet websites can be quickly and cost-effectively created, maintained and managed. | 53 |
ORM | ormlite-core 3.3 Lightweight Object Relational Model (ORM) for persisting objects to SQL databases. | 5 |
JEE | opencms-core 8.5.2 Opencms-core is the JAR-Library for OpenCms. OpenCms is a Content Management System that is based on Open Source Software. Complex Intranet and Internet websites can be quickly and cost-effectively created, maintained and managed. | 5 |
Spring | spring-core 2.5.6.SEC03 Spring Framework: Core | 7 |
Spring | spring-core 3.2.0.M1 Spring Core | 5 |
XML | thymeleaf 2.0.15 XML/XHTML/HTML5 template engine for Java | 13 |
Web Service | pegasus-common 1.8.3 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 9 |
Spring | spring-core 3.2.0.RC2 Spring Core | 5 |
JUnit | jmockit 0.999.12 JMockit is a Java toolkit for developer (unit/integration) testing. It contains mocking APIs and other tools, supporting both JUnit and TestNG. The mocking APIs allow all kinds of Java code, without testability restrictions, to be tested in isolation from selected dependencies. | 5 |
Network | netty 3.1.5.GA The Netty project is an effort to provide an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients. In other words, Netty is a NIO client server framework which enab... | 6 |
Spring | spring-web 2.5.5 Spring Framework: Web | 12 |
XML | http-builder 0.7 A builder-style HTTP client API, including authentication, and extensible handling of common content-types such as JSON and XML. It is built on top of Apache's HttpClient. | 32 |
Network | archaius-core 0.5.4 archaius-core developed by Netflix | 19 |
Library | xlightweb 2.13.2 xLightweb is a lightweight, high performance, scalable web network library | 60 |
Spring | spring-core 2.5.5 Spring Framework: Core | 5 |
Spring | spring 2.5.5 Spring Framework | 11 |
Log | jboss-logging 3.0.0.Beta3 The JBoss Logging Framework | 8 |
XML | http-builder 0.6 A builder-style HTTP client API, including authentication, and extensible handling of common content-types such as JSON and XML. It is built on top of Apache's HttpClient. | 21 |
Spring | spring-web 2.5.4 Spring Framework: Web | 9 |
Inversion of Control | uimafit-core 2.0.0 Factories, Injection, and Testing library for UIMA | 5 |
Spring | spring-core 2.5.6 Spring Framework: Core | 22 |
Security | jsecurity 0.9.0-RC2 JSecurity is a powerful and flexible open-source Java security framework that cleanly handles authentication, authorization, enterprise session management, single sign-on and cryptography services. | 17 |
Development | stripes 1.5.1 Stripes web framework jar, including tag library. | 5 |
Spring | spring-web 2.5.6.SEC01 Spring Framework: Web | 6 |
JDBC | jaybird 2.1.6 JDBC Driver for the Firebird RDBMS | 10 |
Spring | spring-core 3.2.0.BUILD Spring Core | 5 |
Spring | spring 2.5.6.SEC03 Spring Framework | 12 |
Spring | spring-web 2.5.6 Spring Framework: Web | 21 |
Web Service | log-test-config 1.9.18 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 26 |
Spring | spring 2.5.4 Spring Framework | 8 |
JEE | opencms-core 8.5.0 Opencms-core is the JAR-Library for OpenCms. OpenCms is a Content Management System that is based on Open Source Software. Complex Intranet and Internet websites can be quickly and cost-effectively created, maintained and managed. | 28 |
Spring | spring 2.5.6 Spring Framework | 51 |
Spring | spring-core 3.2.0.M2 Spring Core | 5 |
XML | http-builder 0.5.1 A builder-style HTTP client API, including authentication, and extensible handling of common content-types such as JSON and XML. It is built on top of Apache's HttpClient. | 8 |
Library | xlightweb 2.13 xLightweb is a lightweight, high performance, scalable web network library | 17 |
Web Service | log-test-config 1.13.4 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 25 |
Web Service | data-avro-generator 1.15.12 Pegasus is a framework for building robust, scalable service architectures using dynamic discovery and simple asychronous type-checked REST + JSON APIs. | 5 |
XML | thymeleaf 2.1.2.RELEASE XML/XHTML/HTML5 template engine for Java | 22 |
Spring | spring-core 2.5.6.SEC01 Spring Framework: Core | 10 |
ORM | ormlite-core 3.2 Lightweight Object Relational Model (ORM) for persisting objects to SQL databases. | 5 |
Spring | spring 2.5.6.SEC01 Spring Framework | 5 |
Database | mrunit 0.9.0-incubating MRUnit is a Java library that helps developers unit test Apache Hadoop map reduce jobs. | 21 |
Spring | spring-core 3.2.0.RC1 Spring Core | 6 |
The following plugins are used in the log4j-1.2.15.jar
The following packages are defined in the log4j-1.2.15.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.spi org.apache.log4j.varia org.apache.log4j.xml
Here is the content of the POM file.
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <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> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <packaging>jar</packaging> <name>Apache Log4j</name> <version>1.2.15</version> <properties> <currentVersion>1.2.15</currentVersion> </properties> <description>Apache Log4j 1.2</description> <url>http://logging.apache.org:80/log4j/1.2/</url> <issueManagement> <system>Bugzilla</system> <url>http://issues.apache.org/bugzilla/</url> </issueManagement> <ciManagement> <system>Gump</system> <url>http://vmgump.apache.org/gump/public/logging-log4j-12/logging-log4j-12/index.html</url> </ciManagement> <inceptionYear>1999</inceptionYear> <mailingLists> <mailingList> <name>log4j-user</name> <subscribe>log4j-user-subscribe@logging.apache.org</subscribe> <unsubscribe>log4j-user-unsubscribe@logging.apache.org</unsubscribe> <post>log4j-user@logging.apache.org</post> <archive>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</archive> <otherArchives> <otherArchive>http://marc.info/?l=log4j-user</otherArchive> <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.user</otherArchive> </otherArchives> </mailingList> <mailingList> <name>log4j-dev</name> <subscribe>log4j-dev-subscribe@logging.apache.org</subscribe> <unsubscribe>log4j-dev-unsubscribe@logging.apache.org</unsubscribe> <post>log4j-dev@logging.apache.org</post> <archive>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</archive> <otherArchives> <otherArchive>http://marc.info/?l=log4j-dev</otherArchive> <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.devel</otherArchive> </otherArchives> </mailingList> </mailingLists> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/logging/log4j/tags/v1_2_15_rc6</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/logging/log4j/tags/v1_2_15_rc6</developerConnection> <url>http://svn.apache.org/viewcvs.cgi/logging/log4j/tags/v1_2_15_rc6</url> </scm> <organization> <name>Apache Software Foundation</name> <url>http://www.apache.org</url> </organization> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <workingDirectory>tests</workingDirectory> <reportFormat>plain</reportFormat> <forkMode>pertest</forkMode> <skip>true</skip> <includes> <include>org/apache/log4j/LevelTest.java</include> <include>org/apache/log4j/PriorityTest.java</include> <include>org/apache/log4j/CategoryTest.java</include> <include>org/apache/log4j/FileAppenderTest.java</include> <include>org/apache/log4j/LogManagerTest.java</include> <include>org/apache/log4j/helpers.LogLogTest.java</include> <include>org/apache/log4j/LayoutTest.java</include> <include>org/apache/log4j/helpers.DateLayoutTest.java</include> <include>org/apache/log4j/TTCCLayoutTest.java</include> <include>org/apache/log4j/xml.XMLLayoutTest.java</include> <include>org/apache/log4j/HTMLLayoutTest.java</include> <include>org/apache/log4j/PatternLayoutTest.java</include> <include>org/apache/log4j/spi.LoggingEventTest.java</include> <include>org/apache/log4j/spi.ThrowableInformationTest.java</include> <include>org/apache/log4j/spi.LocationInfoTest.java</include> <include>org/apache/log4j/PropertyConfiguratorTest.java</include> <include>org/apache/log4j/MinimumTestCase.java</include> <include>org/apache/log4j/LoggerTestCase.java</include> <include>org/apache/log4j/PatternLayoutTestCase.java</include> <include>org/apache/log4j/HierarchyThresholdTestCase.java</include> <include>org/apache/log4j/xml/DOMTestCase.java</include> <include>org/apache/log4j/xml/CustomLevelTestCase.java</include> <include>org/apache/log4j/customLogger/XLoggerTestCase.java</include> <!-- DefaultInit --> <!-- SocketServer --> <include>org/apache/log4j/xml/XMLLayoutTestCase.java</include> <include>org/apache/log4j/xml/AsyncAppenderTestCase.java</include> <include>org/apache/log4j/varia/LevelMatchFilterTestCase.java</include> <!-- ErrorHandlerTestCase is not run in Ant build either <include>org/apache/log4j/varia/ErrorHandlerTestCase.java</include> --> <!-- include>org/apache/log4j/helpers/OptionConverterTestCase.java</include --> <include>org/apache/log4j/helpers/BoundedFIFOTestCase.java</include> <include>org/apache/log4j/helpers/CyclicBufferTestCase.java</include> <include>org/apache/log4j/helpers/PatternParserTestCase.java</include> <include>org/apache/log4j/or/ORTestCase.java</include> <include>org/apache/log4j/DRFATestCase.java</include> <include>org/apache/log4j/RFATestCase.java</include> <include>org/apache/log4j/varia/ERFATestCase.java</include> <include>org/apache/log4j/net/SyslogAppenderTest</include> <include>org/apache/log4j/nt/NTEventLogAppenderTest</include> <include>org/apache/log4j/net/SocketAppenderTest</include> </includes> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.2</source> <target>1.1</target> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestSections> <manifestSection> <name>org.apache.log4j</name> <manifestEntries> <Implementation-Title>log4j</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Implementation-Vendor>"Apache Software Foundation"</Implementation-Vendor> </manifestEntries> </manifestSection> </manifestSections> </archive> </configuration> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <!-- generate NTEventLogAppender.dll --> <execution> <phase>process-classes</phase> <id>ntdll</id> <configuration> <tasks> <ant antfile="src/ntdll/build.xml"> <property name="target.dir" location="target" /> <property name="classes.dir" location="target/classes" /> <property name="src.dir" location="src/ntdll" /> <property name="jni.include.dir" location="${java.home}/../include" /> </ant> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> <!-- create tests/output prior to test run --> <execution> <phase>test-compile</phase> <id>mkdir_tests_output</id> <configuration> <tasks> <mkdir dir="tests/output" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> <execution> <phase>clean</phase> <id>rmdir_tests_output</id> <configuration> <tasks> <delete dir="tests/output" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> <execution> <phase>test</phase> <id>runAll</id> <configuration> <tasks> <ant dir="tests" target="runAll"> <property name="junit.jar" location="${user.home}/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar" /> <property name="jakarta.oro.jar" location="${user.home}/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar" /> <property name="javamail.jar" location="${user.home}/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar" /> <property name="activation.jar" location="${user.home}/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar" /> <property name="log4j.jar" location="target/classes" /> <property name="project.lib.home" location="target" /> </ant> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> <!-- release builds will put SVN tags into the SCM page, this changes it back to a branch --> <execution> <phase>site</phase> <id>untag-site</id> <configuration> <tasks> <taskdef name="replaceregexp" classname="org.apache.tools.ant.taskdefs.optional.ReplaceRegExp" /> <replaceregexp file="target/site/source-repository.html" match="/tags/[^ ]*" replace="/trunk" flags="g" /> <replaceregexp match="-- Generated by (.*) on .*--" replace="-- Generated by \1 --" flags="g"> <fileset dir="target/site/apidocs" includes="**/*.html" /> </replaceregexp> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> <execution> <phase>post-site</phase> <id>post-site</id> <configuration> <tasks> <ant target="post-site" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> <execution> <phase>site-deploy</phase> <id>site-deploy</id> <configuration> <tasks> <ant target="site-deploy" /> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>ant</groupId> <artifactId>ant-nodeps</artifactId> <version>1.6.5</version> </dependency> <dependency> <groupId>ant-contrib</groupId> <artifactId>ant-contrib</artifactId> <version>1.0b2</version> </dependency> <dependency> <groupId>ant</groupId> <artifactId>ant-junit</artifactId> <version>1.6.5</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>sun.jdk</groupId> <artifactId>tools</artifactId> <version>1.4.2</version> <scope>system</scope> <systemPath>${tools.jar}</systemPath> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>src/assembly/bin.xml</descriptor> </descriptors> <appendAssemblyId>false</appendAssemblyId> </configuration> <executions> <execution> <goals> <goal>assembly</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <goals> <goal>jar</goal> <goal>javadoc</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- clirr:check will fail with NullPointerException due to missing javax.jms.MessageListener, however it will trigger download of supporting components which can allow "ant clirr" to succeed. Could possibly run on a JavaEE platform. --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> <configuration> <comparisonVersion>1.2.14</comparisonVersion> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>rat-maven-plugin</artifactId> </plugin> </plugins> <testSourceDirectory>tests/src/java</testSourceDirectory> <testResources> <testResource> <directory>tests/resources</directory> </testResource> </testResources> </build> <profiles> <profile> <id>mac</id> <activation> <os><family>mac</family></os> </activation> <properties> <tools.jar>${java.home}/../Classes/classes.jar</tools.jar> </properties> </profile> <profile> <id>default</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <tools.jar>${java.home}/../lib/tools.jar</tools.jar> </properties> </profile> </profiles> <repositories> <repository> <id>java.net</id> <url>https://maven-repository.dev.java.net/nonav/repository</url> <layout>legacy</layout> </repository> </repositories> <dependencies> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>javax.jms</groupId> <artifactId>jms</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>com.sun.jdmk</groupId> <artifactId>jmxtools</artifactId> <version>1.2.1</version> </dependency> <dependency> <groupId>com.sun.jmx</groupId> <artifactId>jmxri</artifactId> <version>1.2.1</version> </dependency> <dependency> <groupId>oro</groupId> <artifactId>oro</artifactId> <version>2.0.8</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <reporting> <excludeDefaults>true</excludeDefaults> <plugins> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <reportSets> <reportSet> <reports> <report>scm</report> <report>dependencies</report> <report>cim</report> <report>issue-tracking</report> <report>mailing-list</report> <report>license</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jxr-maven-plugin</artifactId> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <!-- Bug MRELEASE273 has been throwing NPE during release:perform, typically after deploy so this places it last. --> <configuration> <goals>test site-deploy assembly:attached deploy</goals> </configuration> </plugin> <plugin> <artifactId>maven-changes-plugin</artifactId> <reportSets> <reportSet> <reports> <report>changes-report</report> </reports> </reportSet> </reportSets> <configuration> <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate> </configuration> </plugin> </plugins> </reporting> <distributionManagement> <repository> <id>logging.repo</id> <url>scp://people.apache.org/www/people.apache.org/builds/logging/repo/</url> </repository> <site> <id>logging.site</id> <url>scp://localhost/${user.dir}/target/site-deploy</url> </site> </distributionManagement> </project>