joal/pom.xml

178 lines
6.4 KiB
XML
Raw Normal View History

2017-02-18 08:27:17 +08:00
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.araymond.joal</groupId>
<artifactId>jack-of-all-trades</artifactId>
2017-04-14 05:44:28 +08:00
<version>1.0.4-SNAPSHOT</version>
2017-03-14 06:51:33 +08:00
<scm>
<connection>scm:git:https://github.com/anthonyraymond/joal.git</connection>
<developerConnection>scm:git:git@github.com:anthonyraymond/joal.git</developerConnection>
<url>https://github.com/anthonyraymond/joal</url>
<tag>HEAD</tag>
</scm>
2017-02-18 08:27:17 +08:00
<properties>
2017-03-14 06:51:33 +08:00
<!-- Project -->
2017-02-18 08:27:17 +08:00
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
2017-03-14 06:51:33 +08:00
<!-- COMPILE -->
2017-02-18 08:27:17 +08:00
<apache.common-cli.version>1.3.1</apache.common-cli.version>
<google.guava.version>20.0</google.guava.version>
<commons-io.version>2.5</commons-io.version>
<commons-lang3.version>3.5</commons-lang3.version>
<gson.version>2.8.0</gson.version>
<commons-cli.version>1.3.1</commons-cli.version>
<ttorrent-core.version>1.5</ttorrent-core.version>
<log4j-core.version>2.7</log4j-core.version>
<!-- TESTS -->
<junit.version>4.12</junit.version>
<org-assertj.version>3.5.2</org-assertj.version>
2017-03-14 06:26:53 +08:00
<mockito.version>1.9.5</mockito.version>
2017-02-18 08:27:17 +08:00
</properties>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.22</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${log4j-core.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j-core.version}</version>
</dependency>
<dependency>
<groupId>com.turn</groupId>
<artifactId>ttorrent-core</artifactId>
<version>${ttorrent-core.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${google.guava.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>${commons-cli.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${org-assertj.version}</version>
<scope>test</scope>
</dependency>
2017-03-14 06:26:53 +08:00
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>${mockito.version}</version>
</dependency>
2017-02-18 08:27:17 +08:00
</dependencies>
2017-03-14 06:51:33 +08:00
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-cy6ergn0m-maven</id>
<name>bintray-plugins</name>
<url>http://dl.bintray.com/cy6ergn0m/maven</url>
</pluginRepository>
</pluginRepositories>
2017-02-18 08:27:17 +08:00
<build>
<plugins>
2017-03-14 09:01:13 +08:00
<!-- Create a release on GitHub -->
2017-03-14 06:51:33 +08:00
<plugin>
<groupId>cy.github</groupId>
<artifactId>github-release-plugin</artifactId>
<version>0.5.1</version>
<configuration>
<tagName>${project.artifactId}-${project.version}</tagName>
2017-03-14 09:16:04 +08:00
<releaseTitle>Version ${project.version}</releaseTitle>
2017-03-14 06:51:33 +08:00
</configuration>
<executions>
<execution>
<goals>
<goal>gh-upload</goal>
</goals>
<phase>install</phase>
</execution>
</executions>
</plugin>
2017-02-18 08:27:17 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2017-03-14 06:51:33 +08:00
<version>3.1</version>
2017-02-18 08:27:17 +08:00
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<executions>
<!-- Run shade goal on package phase -->
<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>org.araymond.joal.JackOfAllTrades</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
2017-04-02 02:25:44 +08:00
</project>