lius.thrift.thrift-server.0.2.1.source-code.pom.xml Maven / Gradle / Ivy
<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"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <groupId>com.thinkaurelius.thrift</groupId> <artifactId>thrift-server</artifactId> <version>0.2.1</version> <packaging>jar</packaging> <prerequisites> <maven>2.2.1</maven> </prerequisites> <name>Thrift Server implementation backed by LMAX Disruptor</name> <url>http://github.com/xedin/disruptor_thrift_server</url> <description> Thrift Server implementation backed by LMAX Disruptor. Shows better throughput/latency characteristics than build-in THsHa and TThreadedSelector servers. </description> <developers> <developer> <name>Pavel Yaskevich</name> <email>[email protected]</email> <url>http://github.com/xedin</url> </developer> </developers> <inceptionYear>2013</inceptionYear> <licenses> <license> <name>Apache 2</name> <url>http://www.opensource.org/licenses/Apache-2.0</url> </license> </licenses> <scm> <connection>scm:git:[email protected]:xedin/disruptor_thrift_server.git</connection> <developerConnection>scm:git:[email protected]:xedin/disruptor_thrift_server.git</developerConnection> <url>[email protected]:xedin/disruptor_thrift_server.git</url> </scm> <properties> <junit.version>4.5</junit.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- Required for PMD plugin. Used for compiler plugin --> <targetJdk>1.7</targetJdk> </properties> <dependencies> <dependency> <groupId>com.lmax</groupId> <artifactId>disruptor</artifactId> <version>3.0.1</version> </dependency> <dependency> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> <version>0.9.0</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.1</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.2</version> </dependency> <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna</artifactId> <version>3.2.7</version> <optional>true</optional> </dependency> <!-- Test Dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.1</version> </dependency> </dependencies> <build> <finalName>disruptor-${project.artifactId}-${project.version}</finalName> <directory>${basedir}/target</directory> <sourceDirectory>.</sourceDirectory> <resources> <resource> <directory>${basedir}/src/main/resources</directory> <filtering>true</filtering> </resource> </resources> <testResources> <testResource> <directory>src/test/resources</directory> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <includes> <include>src/main/java/**/*.java</include> <include>src/test/java/**/*.java</include> <include>src/test/gen-java/**/*.java</include> </includes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <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> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> <configuration> <sourcepath>src/main/java</sourcepath> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4</version> <executions> <execution> <phase>package</phase> <goals> <goal>attached</goal> </goals> </execution> </executions> <configuration> <attach>false</attach> <descriptors> <descriptor>src/assembly/distribution.xml</descriptor> </descriptors> <finalName>disruptor-${project.artifactId}-${project.version}</finalName> <outputDirectory>target</outputDirectory> <workDirectory>target/assembly/work</workDirectory> <tarLongFileMode>warn</tarLongFileMode> <archiverConfig> <fileMode>420</fileMode> <!-- 420(dec) = 644(oct) --> <directoryMode>493</directoryMode> <!-- 493(dec) = 755(oct) --> <defaultDirectoryMode>493</defaultDirectoryMode> </archiverConfig> </configuration> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.5.1</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.11</version> <configuration> <runOrder>random</runOrder> <argLine>-Xms256m -Xmx1024m</argLine> <forkMode>always</forkMode> </configuration> </plugin> </plugins> </pluginManagement> </build> </project>