2017-05-07 07:05:47 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
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>xyz.enhorse</groupId>
|
|
|
|
<artifactId>example</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<start-class>xyz.enhorse.example.Application</start-class>
|
|
|
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
|
|
|
|
<maven.compiler.version>3.6.0</maven.compiler.version>
|
|
|
|
<maven.assembly.version>3.0.0</maven.assembly.version>
|
|
|
|
<maven.checkstyle.version>2.17</maven.checkstyle.version>
|
|
|
|
<maven.jxr.version>2.5</maven.jxr.version>
|
|
|
|
<exec.version>1.5.0</exec.version>
|
|
|
|
|
|
|
|
<maven.compiler.useIncrementalCompilation>false</maven.compiler.useIncrementalCompilation>
|
|
|
|
<checkstyle.config>src/main/resources/google_checkstyle.xml</checkstyle.config>
|
|
|
|
|
2020-10-12 23:13:33 +03:00
|
|
|
<junit.version>4.13.1</junit.version>
|
2017-05-07 07:05:47 +03:00
|
|
|
<mockito.version>2.5.0</mockito.version>
|
|
|
|
<log4j.version>1.7.22</log4j.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
Examples
|
|
|
|
</name>
|
|
|
|
<description>
|
|
|
|
Examples for Java Developer interview preparation materials
|
|
|
|
</description>
|
|
|
|
<url>https://github.com/enhorse/</url>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<name>Pavel Kalinin</name>
|
|
|
|
<email>go2amd@gmail.com</email>
|
|
|
|
<organization>fairy stable</organization>
|
|
|
|
<organizationUrl>https://enhorse.xyz</organizationUrl>
|
|
|
|
<roles>
|
|
|
|
<role>build maintainer</role>
|
|
|
|
<role>release manager</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>MIT License</name>
|
|
|
|
<url>LICENSE</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Logging -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<version>${log4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Testing -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>${mockito.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven.compiler.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>${maven.assembly.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>${start-class}</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>${maven.checkstyle.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>checkstyle</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>${checkstyle.config}</configLocation>
|
|
|
|
<failOnViolation>true</failOnViolation>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
|
|
<version>${maven.jxr.version}</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
</project>
|