99 lines
3.8 KiB
XML
99 lines
3.8 KiB
XML
|
<?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>net.knarcraft.jarupdater</groupId>
|
||
|
<artifactId>jar-updater</artifactId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
|
||
|
<packaging>jar</packaging>
|
||
|
|
||
|
<name>Jar Updater</name>
|
||
|
<url>https://git.knarcraft.net/KnarCraft/Jar-Updater</url>
|
||
|
<inceptionYear>2020</inceptionYear>
|
||
|
|
||
|
<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>net.knarcraft.jarupdater.Main</mainClass>
|
||
|
</manifest>
|
||
|
</archive>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>copy-dependencies</id>
|
||
|
<phase>prepare-package</phase>
|
||
|
<goals>
|
||
|
<goal>copy-dependencies</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
||
|
<overWriteReleases>true</overWriteReleases>
|
||
|
<overWriteSnapshots>true</overWriteSnapshots>
|
||
|
<overWriteIfNewer>true</overWriteIfNewer>
|
||
|
</configuration>
|
||
|
</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>
|