mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
224 lines
6.2 KiB
XML
224 lines
6.2 KiB
XML
<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>bytecode.ninja</groupId>
|
|
<artifactId>Iris</artifactId>
|
|
<version>1.0.2</version>
|
|
<name>Iris</name>
|
|
<properties>
|
|
<skip.copy>false</skip.copy>
|
|
<secretary.build>package</secretary.build>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<development.location.dan>${user.home}\Documents\development\server\plugins\${project.name}.jar</development.location.dan>
|
|
<development.location.brian>D:\Dan\MinecraftDevelopment\server\plugins\${project.name}.jar</development.location.brian>
|
|
<lint.in>${project.basedir}\lint\in.jar</lint.in>
|
|
</properties>
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>**/*.xml</include>
|
|
<include>**/*.yml</include>
|
|
<include>**/*.txt</include>
|
|
<include>**/*.properties</include>
|
|
<include>**/*.json</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minimizeJar>false</minimizeJar>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>dan</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>runbatchfile</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<skip>${skip.copy}</skip>
|
|
<executable>${project.basedir}/scripts/copy.bat</executable>
|
|
<arguments>
|
|
<argument>${project.basedir}\target\${project.name}-${project.version}.jar</argument>
|
|
<argument>${development.location.dan}</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>brian</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>runbatchfile</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<skip>${skip.copy}</skip>
|
|
<executable>${project.basedir}/scripts/copy.bat</executable>
|
|
<arguments>
|
|
<argument>${project.basedir}\target\${project.name}-${project.version}.jar</argument>
|
|
<argument>${development.location.brian}</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>runbatchfile</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<skip>${skip.copy}</skip>
|
|
<executable>${project.basedir}/scripts/release.bat</executable>
|
|
<arguments>
|
|
<argument>${project.basedir}\target\${project.name}-${project.version}.jar</argument>
|
|
<argument>${lint.in}</argument>
|
|
<argument>${project.version}</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
<repositories>
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>bcn</id>
|
|
<url>http://bytecode.ninja/repository/bcn/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>CodeMC</id>
|
|
<url>https://repo.codemc.org/repository/maven-public</url>
|
|
</repository>
|
|
<repository>
|
|
<id>WorldEdit</id>
|
|
<url>https://maven.enginehub.org/repo/</url>
|
|
</repository>
|
|
</repositories>
|
|
<dependencies>
|
|
<!-- Spigot API -->
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.16.1-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- NMS -->
|
|
<dependency>
|
|
<groupId>org.bukkit.craftbukkit</groupId>
|
|
<artifactId>cb-1.16.2</artifactId>
|
|
<version>1.16.2</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bukkit.craftbukkit</groupId>
|
|
<artifactId>cb-1.16.1</artifactId>
|
|
<version>1.16.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bukkit.craftbukkit</groupId>
|
|
<artifactId>cb-1.15.1</artifactId>
|
|
<version>1.15.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bukkit.craftbukkit</groupId>
|
|
<artifactId>cb-1.14.4</artifactId>
|
|
<version>1.14.4</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- Hooks -->
|
|
<dependency>
|
|
<groupId>com.sk89q.worldedit</groupId>
|
|
<artifactId>worldedit-bukkit</artifactId>
|
|
<version>7.2.0-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- Utilities -->
|
|
<dependency>
|
|
<groupId>org.bstats</groupId>
|
|
<artifactId>bstats-bukkit</artifactId>
|
|
<version>1.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.10</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.8.5</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.zeroturnaround</groupId>
|
|
<artifactId>zt-zip</artifactId>
|
|
<version>1.14</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |