diff options
author | Tharre <tharre3@gmail.com> | 2018-04-22 18:25:09 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-04-22 18:25:09 +0200 |
commit | 053f1046c208baf2dd7eafffdceba89bcfbbee4a (patch) | |
tree | a2bef62d01d3620308e053882ddfc00ba404524e /pom.xml | |
download | sepm-groupproject-053f1046c208baf2dd7eafffdceba89bcfbbee4a.tar.gz sepm-groupproject-053f1046c208baf2dd7eafffdceba89bcfbbee4a.tar.xz sepm-groupproject-053f1046c208baf2dd7eafffdceba89bcfbbee4a.zip |
Initial commit
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 137 |
1 files changed, 137 insertions, 0 deletions
@@ -0,0 +1,137 @@ +<?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>at.ac.tuwien.sepm.assignment.groupphase</groupId> + <artifactId>ss18_sepm_qse_13<!-- add your semester and group number here --></artifactId> + <version>1.0-SNAPSHOT</version> + + <properties> + <!-- build properties --> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <maven.compiler.source>10</maven.compiler.source> + <maven.compiler.target>10</maven.compiler.target> + <exec.mainClass>at.ac.tuwien.sepm.assignment.groupphase.application.MainApplication</exec.mainClass> + <!-- compile dependencies --> + <spring.version>5.0.5.RELEASE</spring.version> + <slf4j.version>1.8.0-beta2</slf4j.version> + <!-- runtime dependencies --> + <h2.version>1.4.197</h2.version> + <logback.version>1.3.0-alpha4</logback.version> + <!-- test dependencies --> + <junit.version>4.12</junit.version> + <mockito.version>2.18.0</mockito.version> + <!-- plugins --> + <maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version> + <maven-shade-plugin.version>3.1.1</maven-shade-plugin.version> + </properties> + + <dependencies> + <!-- compile dependencies --> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-core</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <artifactId>commons-logging</artifactId> + <groupId>commons-logging</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-context</artifactId> + <version>${spring.version}</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>${slf4j.version}</version> + </dependency> + <!-- runtime dependencies --> + <dependency> + <groupId>com.h2database</groupId> + <artifactId>h2</artifactId> + <version>${h2.version}</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <version>${logback.version}</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-core</artifactId> + <version>${logback.version}</version> + <scope>runtime</scope> + </dependency> + <!-- test dependencies --> + <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-surefire-plugin</artifactId> + <version>${maven-surefire-plugin.version}</version> + <configuration> + <!-- enable parallel test runs --> + <parallel>methods</parallel> + <threadCount>10</threadCount> + <!-- discover all *.java files --> + <includes> + <include>*.java</include> + </includes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>${maven-shade-plugin.version}</version> + <!-- execute shade plugin in packaging phase --> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + </execution> + </executions> + <configuration> + <!-- do not suffix shaded jar --> + <shadedArtifactAttached>false</shadedArtifactAttached> + <!-- place original jar in target/original --> + <outputDirectory>${project.build.directory}/original</outputDirectory> + <transformers> + <!-- automatically generate manifest file --> + <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> + <manifestEntries> + <Main-Class>${exec.mainClass}</Main-Class> + <X-Compile-Source-JDK>${java.version}</X-Compile-Source-JDK> + <X-Compile-Target-JDK>${java.version}</X-Compile-Target-JDK> + </manifestEntries> + </transformer> + </transformers> + </configuration> + </plugin> + </plugins> + </build> + +</project> |