mage/pom.xml

206 lines
8.1 KiB
XML
Raw Normal View History

2017-07-08 14:33:09 +00: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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.mage</groupId>
<artifactId>mage-root</artifactId>
2021-08-30 10:44:03 +00:00
<version>1.4.50</version>
2017-07-08 14:33:09 +00:00
<packaging>pom</packaging>
<name>Mage Root</name>
<description>Mage Root POM</description>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
<!--
Because of known error in maven-compiler-plugin 3.2 useIncrementalCompilation is inverted
so remove this arg with update that fixes the problem
https://jira.codehaus.org/browse/MCOMPILER-209
-->
<useIncrementalCompilation>false</useIncrementalCompilation>
2017-07-08 14:33:09 +00:00
<!-- <compilerArgument>-Xlint:all</compilerArgument> -->
</configuration>
</plugin>
2017-07-08 14:33:09 +00:00
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
2017-07-08 14:33:09 +00:00
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- default manifest settings (parent) -->
2017-07-08 14:33:09 +00:00
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
2017-07-08 14:33:09 +00:00
<configuration>
<archive>
<manifestEntries>
<Built-By>MageTeam</Built-By>
<Build-Time>${maven.build.timestamp}</Build-Time>
2017-07-08 14:33:09 +00:00
</manifestEntries>
</archive>
</configuration>
</plugin>
<!-- JaCoCo Code Coverage report generation -->
<!-- Examples: http://tdongsi.github.io/blog/2017/09/23/jacoco-in-maven-project/ -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<!-- prepare command line to inject in java agent (collect code executing stats) -->
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<!-- generate current module's report -->
<id>generate-code-coverage-report</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<!-- generate combined report (current and dependency modules) -->
<id>report-aggregate</id>
<phase>verify</phase>
<goals>
<goal>report-aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
2017-07-08 14:33:09 +00:00
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<!--
for compatible with jacoco code coverage - argLine moved to properties section
<configuration>
<argLine>-Dfile.encoding=UTF-8</argLine>
</configuration>
-->
</plugin>
</plugins>
</pluginManagement>
2017-07-08 14:33:09 +00:00
</build>
<modules>
<module>Mage</module>
<module>Mage.Common</module>
<module>Mage.Server</module>
<module>Mage.Sets</module>
<module>Mage.Client</module>
<module>Mage.Plugins</module>
<module>Mage.Server.Plugins</module>
<module>Mage.Server.Console</module>
<module>Mage.Tests</module>
<module>Mage.Verify</module>
</modules>
<repositories>
<repository>
<id>jboss-public-repository</id>
<name>JBoss Repository</name>
<url>https://repository.jboss.org/nexus/content/groups/public</url>
<!-- These optional flags are designed to speed up your builds by reducing remote server calls -->
<releases>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
<repository>
<id>local-project-repo</id>
<url>file://${basedir}/repository</url>
</repository>
</repositories>
<properties>
2021-08-30 10:44:03 +00:00
<mage-version>1.4.50</mage-version>
<argLine>-Dfile.encoding=UTF-8</argLine>
2017-07-08 14:33:09 +00:00
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2019-01-08 07:00:26 +00:00
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
<!--
JaCoCo code coverage disabled by default. If you need to generate
execute stats and reports then run tests by maven command
like "mvn install -Djacoco.skip=false".
Stats:
- load coverage data for IntelliJ IDEA from ./target/jacoco.exec
- web report in ./target/site/jacoco/index.html
- for sonar support see below
-->
<jacoco.skip>true</jacoco.skip>
<!-- Sonar settings for code coverage. Must be only one report for all modules (use report-aggregate goal report from JaCoCo) -->
<aggregate.report.dir>Mage.Verify/target/site/jacoco-aggregate/jacoco.xml</aggregate.report.dir>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../${aggregate.report.dir}</sonar.coverage.jacoco.xmlReportPaths>
2017-07-08 14:33:09 +00:00
</properties>
<dependencyManagement>
<!-- write libs from all childs here to control a versions -->
2017-07-08 14:33:09 +00:00
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
2017-07-08 14:33:09 +00:00
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.8.0-beta2</version>
2017-07-08 14:33:09 +00:00
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
2021-04-02 07:55:35 +00:00
<version>30.1.1-jre</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.8.1</version>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.18.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.11</version>
</dependency>
<dependency>
<!-- zip files support -->
<groupId>net.java.truevfs</groupId>
<artifactId>truevfs-profile-base</artifactId>
2021-09-29 13:06:18 +00:00
<version>0.14.0</version>
</dependency>
2017-07-08 14:33:09 +00:00
</dependencies>
</dependencyManagement>
</project>