|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>com.baeldung</groupId> |
| 5 | + <artifactId>apache-thrift</artifactId> |
| 6 | + <version>0.0.1-SNAPSHOT</version> |
| 7 | + <packaging>pom</packaging> |
| 8 | + |
| 9 | + <properties> |
| 10 | + <java.versin>1.8</java.versin> |
| 11 | + <junit.version>4.12</junit.version> |
| 12 | + <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version> |
| 13 | + <thrift.version>0.10.0</thrift.version> |
| 14 | + <maven-thrift.version>0.1.11</maven-thrift.version> |
| 15 | + </properties> |
| 16 | + |
| 17 | + <dependencies> |
| 18 | + <dependency> |
| 19 | + <groupId>org.apache.thrift</groupId> |
| 20 | + <artifactId>libthrift</artifactId> |
| 21 | + <version>${thrift.version}</version> |
| 22 | + </dependency> |
| 23 | + |
| 24 | + <dependency> |
| 25 | + <groupId>junit</groupId> |
| 26 | + <artifactId>junit</artifactId> |
| 27 | + <version>${junit.version}</version> |
| 28 | + <scope>test</scope> |
| 29 | + </dependency> |
| 30 | + |
| 31 | + <dependency> |
| 32 | + <groupId>org.slf4j</groupId> |
| 33 | + <artifactId>slf4j-simple</artifactId> |
| 34 | + <version>1.7.12</version> |
| 35 | + <scope>test</scope> |
| 36 | + </dependency> |
| 37 | + </dependencies> |
| 38 | + |
| 39 | + <build> |
| 40 | + <defaultGoal>install</defaultGoal> |
| 41 | + <pluginManagement> |
| 42 | + <plugins> |
| 43 | + <plugin> |
| 44 | + <groupId>org.apache.maven.plugins</groupId> |
| 45 | + <artifactId>maven-compiler-plugin</artifactId> |
| 46 | + <version>${maven-compiler-plugin.version}</version> |
| 47 | + <configuration> |
| 48 | + <source>1.8</source> |
| 49 | + <target>1.8</target> |
| 50 | + </configuration> |
| 51 | + </plugin> |
| 52 | + </plugins> |
| 53 | + </pluginManagement> |
| 54 | + </build> |
| 55 | +</project> |
0 commit comments