108 lines
4.0 KiB
XML
108 lines
4.0 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>inf101.v18.connectfour</groupId>
|
||
|
<artifactId>connect-four</artifactId>
|
||
|
<version>1.0</version>
|
||
|
|
||
|
<packaging>jar</packaging>
|
||
|
|
||
|
<name>Connect Four</name>
|
||
|
<url>https://git.knarcraft.net/EpicKnarvik97/ConnectFour</url>
|
||
|
<inceptionYear>2018</inceptionYear>
|
||
|
<licenses>
|
||
|
<license>
|
||
|
<name>GNU GENERAL PUBLIC LICENSE</name>
|
||
|
<url>https://fsf.org/</url>
|
||
|
</license>
|
||
|
</licenses>
|
||
|
<developers>
|
||
|
<developer>
|
||
|
<id>EpicKnarvik97</id>
|
||
|
<name>Kristian Knarvik</name>
|
||
|
<url>https://kristianknarvik.knarcraft.net</url>
|
||
|
<roles>
|
||
|
<role>leader</role>
|
||
|
<role>developer</role>
|
||
|
</roles>
|
||
|
<timezone>Europe/Oslo</timezone>
|
||
|
</developer>
|
||
|
</developers>
|
||
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||
|
</properties>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<!-- Build an executable JAR -->
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-jar-plugin</artifactId>
|
||
|
<version>3.2.0</version>
|
||
|
<configuration>
|
||
|
<archive>
|
||
|
<manifest>
|
||
|
<addClasspath>true</addClasspath>
|
||
|
<classpathPrefix>lib/</classpathPrefix>
|
||
|
<mainClass>inf101.v18.connectfour.Main</mainClass>
|
||
|
</manifest>
|
||
|
</archive>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<appendAssemblyId>true</appendAssemblyId>
|
||
|
<archive>
|
||
|
<manifest>
|
||
|
<addClasspath>true</addClasspath>
|
||
|
<mainClass>inf101.v18.connectfour.Main</mainClass>
|
||
|
</manifest>
|
||
|
</archive>
|
||
|
<descriptorRefs>
|
||
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||
|
</descriptorRefs>
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>make-jar-with-dependencies</id>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>single</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
<directory>${project.basedir}/target</directory>
|
||
|
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
||
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
||
|
<testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
|
||
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
||
|
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>${project.basedir}/src/main/resources</directory>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
<testResources>
|
||
|
<testResource>
|
||
|
<directory>${project.basedir}/src/test/resources</directory>
|
||
|
</testResource>
|
||
|
</testResources>
|
||
|
</build>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<version>4.11</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</project>
|