123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- ~ This file is part of MissileWars (https://github.com/Butzlabben/missilewars).
- ~ Copyright (c) 2018-2021 Daniel Nägele.
- ~
- ~ MissileWars is free software: you can redistribute it and/or modify
- ~ it under the terms of the GNU General Public License as published by
- ~ the Free Software Foundation, either version 3 of the License, or
- ~ (at your option) any later version.
- ~
- ~ MissileWars is distributed in the hope that it will be useful,
- ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
- ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ~ GNU General Public License for more details.
- ~
- ~ You should have received a copy of the GNU General Public License
- ~ along with MissileWars. If not, see <https://www.gnu.org/licenses/>.
- -->
- <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>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- </properties>
- <groupId>de.butzlabben</groupId>
- <artifactId>missilewars</artifactId>
- <packaging>pom</packaging>
- <version>1.0</version>
- <modules>
- <module>FAWE_Paster</module>
- <module>missilewars-plugin</module>
- </modules>
- <repositories>
- <repository>
- <id>spigot-repo</id>
- <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
- </repository>
- <repository>
- <id>enginehub-maven</id>
- <url>https://maven.enginehub.org/repo/</url>
- </repository>
- <repository>
- <id>jitpack.io</id>
- <url>https://jitpack.io</url>
- </repository>
- <repository>
- <id>S01-Sonatype-Snapshots</id>
- <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
- </repository>
- </repositories>
- <dependencies>
- <!-- repo spigot-repo -->
- <dependency>
- <groupId>org.spigotmc</groupId>
- <artifactId>spigot-api</artifactId>
- <version>1.20.4-R0.1-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <!-- repo enginehub-maven -->
- <dependency>
- <groupId>com.sk89q.worldedit</groupId>
- <artifactId>worldedit-bukkit</artifactId>
- <version>7.3.0</version>
- <scope>provided</scope>
- <exclusions>
- <exclusion>
- <groupId>org.bstats</groupId>
- <artifactId>bstats-bukkit</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.sk89q.worldedit</groupId>
- <artifactId>worldedit-core</artifactId>
- <version>7.3.0</version>
- <scope>provided</scope>
- </dependency>
- <!-- repo maven central -->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>1.18.34</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>de.redstoneworld.redutilities</groupId>
- <artifactId>redutilities</artifactId>
- <version>0.0.14-Snapshot</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>${project.artifactId}</finalName>
- <defaultGoal>package</defaultGoal>
- <sourceDirectory>src/main/java</sourceDirectory>
- <resources>
- <resource>
- <directory>src/main/resources-filtered</directory>
- <filtering>true</filtering>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>false</filtering>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.5.1</version>
- <configuration>
- <forceJavacCompilerUse>true</forceJavacCompilerUse>
- <source>11</source>
- <target>11</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.5.2</version>
- <configuration>
- <relocations>
- <relocation>
- <pattern>org.bstats</pattern>
- <shadedPattern>de.butzlabben.missilewars</shadedPattern>
- </relocation>
- <relocation>
- <pattern>com.github.stefvanschie.inventoryframework</pattern>
- <shadedPattern>de.butzlabben.missilewars.MissileWars.inventoryframework</shadedPattern>
- </relocation>
- </relocations>
- <filters>
- <filter>
- <artifact>*:*</artifact>
- <excludes>
- <exclude>META-INF/</exclude>
- </excludes>
- </filter>
- </filters>
- </configuration>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M5</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.surefire</groupId>
- <artifactId>surefire-junit47</artifactId>
- <version>3.0.0-M5</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
- </project>
|