Last active
January 18, 2016 21:27
-
-
Save alexwoolford/36769e46a1c8f30ab324 to your computer and use it in GitHub Desktop.
pom.xml for StackOverflow question: http://stackoverflow.com/questions/34863719/spring-boot-use-logback-instead-of-log4j
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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/xsd/maven-4.0.0.xsd"> | |
| <parent> | |
| <artifactId>*****</artifactId> | |
| <groupId>*****</groupId> | |
| <version>*****</version> | |
| </parent> | |
| <modelVersion>4.0.0</modelVersion> | |
| <artifactId>*****</artifactId> | |
| <properties> | |
| <spring.framework.version>4.2.3.RELEASE</spring.framework.version> | |
| <logback.version>1.1.3</logback.version> | |
| </properties> | |
| <repositories> | |
| <repository> | |
| <id>confluent</id> | |
| <name>Confluent</name> | |
| <url>http://packages.confluent.io/maven/</url> | |
| </repository> | |
| </repositories> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-context</artifactId> | |
| <version>${spring.framework.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-beans</artifactId> | |
| <version>${spring.framework.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-autoconfigure</artifactId> | |
| <version>1.3.0.RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| <version>14.0.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.json</groupId> | |
| <artifactId>json</artifactId> | |
| <version>20140107</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.kafka</groupId> | |
| <artifactId>kafka_2.8.2</artifactId> | |
| <version>0.8.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.kafka</groupId> | |
| <artifactId>kafka-clients</artifactId> | |
| <version>0.8.2.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.maxmind.geoip2</groupId> | |
| <artifactId>geoip2</artifactId> | |
| <version>2.3.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.mybatis</groupId> | |
| <artifactId>mybatis</artifactId> | |
| <version>3.2.8</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.mybatis</groupId> | |
| <artifactId>mybatis-spring</artifactId> | |
| <version>1.2.3</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-jdbc</artifactId> | |
| <version>4.2.3.RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>mysql</groupId> | |
| <artifactId>mysql-connector-java</artifactId> | |
| <version>5.1.6</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.avro</groupId> | |
| <artifactId>avro</artifactId> | |
| <version>1.7.7</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.confluent</groupId> | |
| <artifactId>kafka-avro-serializer</artifactId> | |
| <version>1.0</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-log4j12</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.aerospike</groupId> | |
| <artifactId>aerospike-client</artifactId> | |
| <version>3.0.25</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.hbase</groupId> | |
| <artifactId>hbase-common</artifactId> | |
| <version>1.1.2</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-log4j12</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.hbase</groupId> | |
| <artifactId>hbase-client</artifactId> | |
| <version>1.1.2</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-log4j12</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.avro</groupId> | |
| <artifactId>avro-maven-plugin</artifactId> | |
| <version>1.7.7</version> | |
| <executions> | |
| <execution> | |
| <phase>generate-sources</phase> | |
| <goals> | |
| <goal>schema</goal> | |
| </goals> | |
| <configuration> | |
| <sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory> | |
| <outputDirectory>${project.basedir}/src/main/java/</outputDirectory> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-shade-plugin</artifactId> | |
| <version>2.4.2</version> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>shade</goal> | |
| </goals> | |
| <configuration> | |
| <transformers> | |
| <!-- add Main-Class to manifest file --> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
| <mainClass>com.***.********.Application</mainClass> | |
| </transformer> | |
| </transformers> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.3</version> | |
| <configuration> | |
| <source>1.7</source> | |
| <target>1.7</target> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment