- <?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>${BUILD_COORDS.groupId}</groupId>
- <artifactId>${BUILD_COORDS.artifactId}</artifactId>
- <version>${BUILD_COORDS.version}</version>
- <packaging>jar</packaging>
- <name>${BUILD_COORDS.artifactId}</name>
- <properties>
- <java.version>1.8</java.version>
- #if (${LANGUAGE} == 'Kotlin')
- <kotlin.version>${KOTLIN_VERSION}</kotlin.version>
- #end
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <build>
- <defaultGoal>clean package</defaultGoal>
- #if (${LANGUAGE} == 'Kotlin')
- <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
- #end
- <plugins>
- #if (${LANGUAGE} == 'Kotlin')
- <plugin>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-maven-plugin</artifactId>
- <version>${kotlin.version}</version>
- <executions>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <jvmTarget>${java.version}</jvmTarget>
- </configuration>
- </plugin>
- #else
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.13.0</version>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- </configuration>
- </plugin>
- #end
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.5.3</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </build>
- <repositories>
- <repository>
- <id>sonatype</id>
- <url>https://oss.sonatype.org/content/groups/public/</url>
- </repository>
- </repositories>
- <dependencies>
- <dependency>
- <groupId>net.md-5</groupId>
- <artifactId>bungeecord-api</artifactId>
- <version>${BUNGEE_VERSION}</version>
- <scope>provided</scope>
- </dependency>
- #if (${LANGUAGE} == 'Kotlin')
- <dependency>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-stdlib-jdk8</artifactId>
- <version>${kotlin.version}</version>
- </dependency>
- #end
- </dependencies>
- </project>
- <?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>${BUILD_COORDS.groupId}</groupId>
- <artifactId>${BUILD_COORDS.artifactId}</artifactId>
- <version>${BUILD_COORDS.version}</version>
- <packaging>jar</packaging>
- <name>${BUILD_COORDS.artifactId}</name>
- <properties>
- <java.version>1.8</java.version>
- #if (${LANGUAGE} == 'Kotlin')
- <kotlin.version>${KOTLIN_VERSION}</kotlin.version>
- #end
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <build>
- <defaultGoal>clean package</defaultGoal>
- #if (${LANGUAGE} == 'Kotlin')
- <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
- #end
- <plugins>
- #if (${LANGUAGE} == 'Kotlin')
- <plugin>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-maven-plugin</artifactId>
- <version>${kotlin.version}</version>
- <executions>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <jvmTarget>${java.version}</jvmTarget>
- </configuration>
- </plugin>
- #else
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.13.0</version>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- </configuration>
- </plugin>
- #end
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.5.3</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </build>
- <dependencies>
- <dependency>
- <groupId>net.md-5</groupId>
- <artifactId>bungeecord-api</artifactId>
- <version>${BUNGEE_VERSION}</version>
- <scope>provided</scope>
- </dependency>
- #if (${LANGUAGE} == 'Kotlin')
- <dependency>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-stdlib-jdk8</artifactId>
- <version>${kotlin.version}</version>
- </dependency>
- #end
- </dependencies>
- </project>