123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <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>com.l2jserver</groupId>
- <artifactId>l2j-server-game</artifactId>
- <version>2.6.3.0-SNAPSHOT</version>
- <name>L2J Game Server</name>
- <properties>
- <maven.compiler.source>21</maven.compiler.source>
- <maven.compiler.target>21</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <slf4j.version>2.0.9</slf4j.version>
- <log4j.version>2.22.0</log4j.version>
- <InMemoryJavaCompiler.version>1.3.0</InMemoryJavaCompiler.version>
- <gson.version>2.10.1</gson.version>
- <owner.version>1.0.12</owner.version>
- <jda.version>5.0.0-beta.18</jda.version>
- <!-- L2J -->
- <l2j-server-commons.version>2.6.7.0</l2j-server-commons.version>
- <l2j-server-geo-driver.version>2.6.5.0</l2j-server-geo-driver.version>
- <!-- Test -->
- <junit-jupiter.version>5.10.1</junit-jupiter.version>
- <mockito.version>5.7.0</mockito.version>
- <mockito-inline.version>5.2.0</mockito-inline.version>
- <assertj-core.version>3.24.2</assertj-core.version>
- <!-- Plugins -->
- <dependency-check-maven.version>9.0.2</dependency-check-maven.version>
- <maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version>
- <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
- <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
- <maven-surefire-plugin.version>3.2.2</maven-surefire-plugin.version>
- </properties>
- <repositories>
- <repository>
- <id>jitpack.io</id>
- <url>https://jitpack.io</url>
- </repository>
- </repositories>
- <build>
- <finalName>l2jserver</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${maven-surefire-plugin.version}</version>
- <configuration>
- <argLine>-XX:+EnableDynamicAgentLoading -Xshare:off</argLine>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven-compiler-plugin.version}</version>
- <configuration>
- <proc>full</proc>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>${maven-jar-plugin.version}</version>
- <configuration>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- <classpathPrefix>libs/</classpathPrefix>
- <mainClass>com.l2jserver.gameserver.GameServer</mainClass>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>${maven-assembly-plugin.version}</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <finalName>${project.artifactId}-${project.version}</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- <descriptors>
- <descriptor>src/main/assembly/zip.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <!-- TODO(Zoey76): Remove when loggers rework is completed. -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jul-to-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-slf4j2-impl</artifactId>
- <version>${log4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>${log4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.mdkt.compiler</groupId>
- <artifactId>InMemoryJavaCompiler</artifactId>
- <version>${InMemoryJavaCompiler.version}</version>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>${gson.version}</version>
- </dependency>
- <dependency>
- <groupId>org.aeonbits.owner</groupId>
- <artifactId>owner-java8</artifactId>
- <version>${owner.version}</version>
- </dependency>
- <dependency>
- <groupId>net.dv8tion</groupId>
- <artifactId>JDA</artifactId>
- <version>${jda.version}</version>
- </dependency>
- <!-- L2J -->
- <dependency>
- <groupId>org.bitbucket.l2jserver</groupId>
- <artifactId>l2j-server-commons</artifactId>
- <version>${l2j-server-commons.version}</version>
- </dependency>
- <dependency>
- <groupId>org.bitbucket.l2jserver</groupId>
- <artifactId>l2j-server-geo-driver</artifactId>
- <version>${l2j-server-geo-driver.version}</version>
- </dependency>
- <!-- Test -->
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <version>${junit-jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-params</artifactId>
- <version>${junit-jupiter.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <version>${mockito.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-junit-jupiter</artifactId>
- <version>${mockito.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-inline</artifactId>
- <version>${mockito-inline.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>${assertj-core.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>ci</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.owasp</groupId>
- <artifactId>dependency-check-maven</artifactId>
- <version>${dependency-check-maven.version}</version>
- <configuration>
- <failBuildOnCVSS>8</failBuildOnCVSS>
- <assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
- <nvdApiKey>${env.NVD_API_KEY}</nvdApiKey>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
|