forked from openrs2/openrs2
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
457 lines
14 KiB
457 lines
14 KiB
<?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>dev.openrs2</groupId>
|
|
<artifactId>openrs2</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>OpenRS2</name>
|
|
<description>
|
|
OpenRS2 is an open-source multiplayer game server and suite of associated
|
|
tools. It is compatible with build 550 of the RuneScape client, which was
|
|
released in mid-2009.
|
|
</description>
|
|
<url>https://www.openrs2.dev/</url>
|
|
<inceptionYear>2019</inceptionYear>
|
|
<licenses>
|
|
<license>
|
|
<name>GNU General Public License v3.0</name>
|
|
<url>https://www.gnu.org/licenses/gpl-3.0.txt</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<modules>
|
|
<module>asm</module>
|
|
<module>bundler</module>
|
|
<module>decompiler</module>
|
|
<module>deob</module>
|
|
<module>deob-annotations</module>
|
|
<module>deob-ast</module>
|
|
<module>game</module>
|
|
<module>util</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<openrs2.root>${project.basedir}</openrs2.root>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.2.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>co.paralleluniverse</groupId>
|
|
<artifactId>quasar-core</artifactId>
|
|
<version>0.8.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.dagger</groupId>
|
|
<artifactId>dagger</artifactId>
|
|
<version>2.24</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>28.0-jre</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.javaparser</groupId>
|
|
<artifactId>javaparser-symbol-solver-core</artifactId>
|
|
<version>3.14.11-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>dev.openrs2</groupId>
|
|
<artifactId>fernflower</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
<version>7.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-commons</artifactId>
|
|
<version>7.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-tree</artifactId>
|
|
<version>7.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-util</artifactId>
|
|
<version>7.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>1.7.28</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>5.5.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.maven-nar</groupId>
|
|
<artifactId>nar-maven-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>io.github.zlika</groupId>
|
|
<artifactId>reproducible-build-maven-plugin</artifactId>
|
|
<version>0.10</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.revelc.code</groupId>
|
|
<artifactId>impsort-maven-plugin</artifactId>
|
|
<version>1.3.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.8</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.8.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>1.4.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>2.5.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.8.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.22.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>tidy-maven-plugin</artifactId>
|
|
<version>1.1.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<version>2.7</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.8.4</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.maven-nar</groupId>
|
|
<artifactId>nar-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<libraries>
|
|
<library>
|
|
<type>shared</type>
|
|
<subSystem>gui</subSystem>
|
|
<linkCPP>false</linkCPP>
|
|
</library>
|
|
</libraries>
|
|
<c>
|
|
<optimize>full</optimize>
|
|
</c>
|
|
<java>
|
|
<include>true</include>
|
|
</java>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>io.github.zlika</groupId>
|
|
<artifactId>reproducible-build-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>net.revelc.code</groupId>
|
|
<artifactId>impsort-maven-plugin</artifactId>
|
|
<configuration>
|
|
<groups>java.,javax.,*</groups>
|
|
<staticGroups>*</staticGroups>
|
|
<staticAfter>true</staticAfter>
|
|
<removeUnused>true</removeUnused>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<annotationProcessorPaths>
|
|
<path>
|
|
<groupId>com.google.dagger</groupId>
|
|
<artifactId>dagger-compiler</artifactId>
|
|
<version>2.24</version>
|
|
</path>
|
|
</annotationProcessorPaths>
|
|
<source>12</source>
|
|
<target>12</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-versions</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireMavenVersion>
|
|
<version>3.3.9</version>
|
|
</requireMavenVersion>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>tidy-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>validate</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<configuration>
|
|
<rulesUri>file://${openrs2.root}/version-rules.xml</rulesUri>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>prepare-agent</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>report</id>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>nonfree</id>
|
|
<activation>
|
|
<file>
|
|
<exists>nonfree/pom.xml</exists>
|
|
</file>
|
|
</activation>
|
|
<modules>
|
|
<module>nonfree</module>
|
|
</modules>
|
|
</profile>
|
|
<profile>
|
|
<id>mac</id>
|
|
<activation>
|
|
<os>
|
|
<family>mac</family>
|
|
</os>
|
|
</activation>
|
|
<modules>
|
|
<module>gl-natives</module>
|
|
</modules>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.maven-nar</groupId>
|
|
<artifactId>nar-maven-plugin</artifactId>
|
|
<configuration>
|
|
<c>
|
|
<options>
|
|
<option>-x</option>
|
|
<option>objective-c</option>
|
|
<option>-Wall</option>
|
|
<option>-Wextra</option>
|
|
<option>-pedantic</option>
|
|
<option>-Wno-int-to-void-pointer-cast</option>
|
|
<option>-Wno-unused-parameter</option>
|
|
</options>
|
|
</c>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>unix</id>
|
|
<activation>
|
|
<os>
|
|
<family>unix</family>
|
|
<name>!mac os x</name>
|
|
</os>
|
|
</activation>
|
|
<modules>
|
|
<module>gl-natives</module>
|
|
<module>gl-dri-natives</module>
|
|
</modules>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.maven-nar</groupId>
|
|
<artifactId>nar-maven-plugin</artifactId>
|
|
<configuration>
|
|
<c>
|
|
<options>
|
|
<option>-Wall</option>
|
|
<option>-Wextra</option>
|
|
<option>-pedantic</option>
|
|
<option>-Wno-int-to-void-pointer-cast</option>
|
|
<option>-Wno-unused-parameter</option>
|
|
</options>
|
|
</c>
|
|
<linker>
|
|
<options>
|
|
<option>-fPIC</option>
|
|
</options>
|
|
</linker>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>windows</id>
|
|
<activation>
|
|
<os>
|
|
<family>windows</family>
|
|
</os>
|
|
</activation>
|
|
<modules>
|
|
<module>gl-natives</module>
|
|
<module>misc-natives</module>
|
|
</modules>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.maven-nar</groupId>
|
|
<artifactId>nar-maven-plugin</artifactId>
|
|
<configuration>
|
|
<c>
|
|
<options>
|
|
<option>/Wall</option>
|
|
<!-- unused parameter -->
|
|
<option>/wd4100</option>
|
|
<!-- non-standard extension: nameless struct/union (in jawt_md.h) -->
|
|
<option>/wd4201</option>
|
|
<!-- non-standard extension: non-constant aggregate initializer -->
|
|
<option>/wd4204</option>
|
|
<!-- no function prototype given (in winuser.h) -->
|
|
<option>/wd4255</option>
|
|
<!-- undefined processor macro (in vcruntime.h and winioctl.h) -->
|
|
<option>/wd4668</option>
|
|
<!-- padding after data member (in jawt.h and jni.h) -->
|
|
<option>/wd4820</option>
|
|
<!-- compiler will insert Spectre mitigation -->
|
|
<option>/wd5045</option>
|
|
</options>
|
|
</c>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|
|
|