87 lines
2.8 KiB
XML
87 lines
2.8 KiB
XML
<?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>com.loafle.maven</groupId>
|
|
<artifactId>maven_parent</artifactId>
|
|
<version>1.0.0-RELEASE</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<modules>
|
|
<module>maven_parent_jar</module>
|
|
<module>maven_parent_web</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>1.8</java.version>
|
|
<junit.version>4.12</junit.version>
|
|
<slf4j.api.version>1.7.25</slf4j.api.version>
|
|
<logback.version>1.2.3</logback.version>
|
|
</properties>
|
|
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>releases</id>
|
|
<name>project.release</name>
|
|
<url>https://www.loafle.net/nexus/repository/maven-releases/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>snapshots</id>
|
|
<name>project.snapshot</name>
|
|
<url>https://www.loafle.net/nexus/repository/maven-snapshots//</url>
|
|
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.api.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.6.1</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</project> |