Logstash Logback Encoder.
Logback encoder which will output events as Logstash-compatible JSON.
Here is the list of declaration for logstash-logback-encoder. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>net.logstash.logback</groupId> <artifactId>logstash-logback-encoder</artifactId> <version>2.8</version> </dependency>
If you think this Maven repository POM file listing for logstash-logback-encoder is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.
The logstash-logback-encoder-2.8 has 8 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 |
---|---|---|
Log | logback-core 1.1.2 logback-core module | 26 |
Log | logback-classic 1.1.2 logback-classic module | 162 |
JUnit | junit 4.11 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. | 2031 |
Testing | hamcrest-core 1.3 This is the core API of hamcrest matcher framework to be used by third-party framework providers. This includes the a foundation set of matcher implementations for common operations. | 144 |
Testing | hamcrest-library 1.3 Hamcrest library of matcher implementations. | 143 |
Testing Mock | mockito-all 1.9.5 Mock objects library for java | 1072 |
The following plugins are used in the logstash-logback-encoder-2.8.jar
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <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"> <parent> <artifactId>oss-parent</artifactId> <groupId>org.sonatype.oss</groupId> <version>7</version> <relativePath>../pom.xml/pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>net.logstash.logback</groupId> <artifactId>logstash-logback-encoder</artifactId> <name>Logstash Logback Encoder</name> <version>2.8</version> <description>Logback encoder which will output events as Logstash-compatible JSON</description> <url>https://github.com/logstash/logstash-logback-encoder</url> <prerequisites> <maven>2.2.1</maven> </prerequisites> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> </license> </licenses> <scm> <connection>scm:git:git@github.com:logstash/logstash-logback-encoder.git</connection> <developerConnection>scm:git:git@github.com:logstash/logstash-logback-encoder.git</developerConnection> <tag>logstash-logback-encoder-2.8</tag> </scm> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.4.2</version> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.9</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>com.mycila.maven-license-plugin</groupId> <artifactId>maven-license-plugin</artifactId> <versionRange>[1.9.0,)</versionRange> <goals> <goal>format</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>2.2</version> <executions> <execution> <goals> <goal>shade</goal> </goals> </execution> </executions> <configuration> <shadedArtifactAttached>false</shadedArtifactAttached> <createDependencyReducedPom>true</createDependencyReducedPom> <artifactSet> <excludes> <exclude>ch.qos.logback:*</exclude> <exclude>org.slf4j:*</exclude> </excludes> </artifactSet> <relocations> <relocation> <pattern>org.apache.commons.lang</pattern> <shadedPattern>${project.groupId}.encoder.org.apache.commons.lang</shadedPattern> </relocation> <relocation> <pattern>org.apache.commons.io</pattern> <shadedPattern>${project.groupId}.encoder.org.apache.commons.io</shadedPattern> </relocation> <relocation> <pattern>com.fasterxml.jackson</pattern> <shadedPattern>${project.groupId}.encoder.com.fasterxml.jackson</shadedPattern> </relocation> </relocations> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> </plugin> <plugin> <groupId>com.mycila.maven-license-plugin</groupId> <artifactId>maven-license-plugin</artifactId> <version>1.9.0</version> <executions> <execution> <phase>process-sources</phase> <goals> <goal>format</goal> </goals> </execution> </executions> <configuration> <header>LICENSE</header> <strictCheck>true</strictCheck> <aggregate>true</aggregate> <encoding>UTF-8</encoding> <failIfMissing>true</failIfMissing> <skipExistingHeaders>true</skipExistingHeaders> <includes> <include>**/src/main/java/**</include> <include>**/src/test/java/**</include> </includes> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.7</version> <extensions>true</extensions> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> <configuration> <instructions> <Export-Package>net.logstash.logback.encoder,net.logstash.logback.appender</Export-Package> <Fragment-Host>ch.qos.logback.classic</Fragment-Host> <Import-Package>!org.apache.commons.*,!com.fasterxml.jackson.*,!ch.qos.logback.classic.*,!ch.qos.logback.core.*,!org.slf4j.*,*</Import-Package> </instructions> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> <version>1.1.2</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.1.2</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-access</artifactId> <version>1.1.2</version> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>1.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <version>1.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>1.9.5</version> <scope>test</scope> </dependency> </dependencies> <properties> <junit.version>4.11</junit.version> <org.mockito.version>1.9.5</org.mockito.version> <com.fasterxml.jackson.version>2.4.0</com.fasterxml.jackson.version> <org.hamcrest.version>1.3</org.hamcrest.version> <org.slf4j.version>1.7.6</org.slf4j.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <commons.io.version>2.4</commons.io.version> <commons.lang.version>2.6</commons.lang.version> <ch.qos.logback.version>1.1.2</ch.qos.logback.version> </properties> </project>