mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-05 23:22:47 +00:00
Now each server server has an maven module which implements changes to the default behavior within the "core" gameserver module. This allows to keep multiple server versions without the need of several branches and with little code duplication.
75 lines
2.1 KiB
XML
75 lines
2.1 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>
|
|
<parent>
|
|
<artifactId>l2jserver2-gameserver</artifactId>
|
|
<groupId>com.l2jserver</groupId>
|
|
<version>0.0.2-SNAPSHOT</version>
|
|
<relativePath>..</relativePath>
|
|
</parent>
|
|
<artifactId>l2jserver2-gameserver-core</artifactId>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<ignoreMissingDescriptor>true</ignoreMissingDescriptor>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>add-source</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>add-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/main/generated</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.jvnet.jaxb2.maven2</groupId>
|
|
<artifactId>maven-jaxb2-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jvnet.jaxb2_commons</groupId>
|
|
<artifactId>jaxb2-basics</artifactId>
|
|
<version>0.5.3</version>
|
|
</plugin>
|
|
</plugins>
|
|
<!-- <removeOldOutput>true</removeOldOutput> -->
|
|
<args>
|
|
<arg>-extension</arg>
|
|
<arg>-Xinheritance</arg>
|
|
</args>
|
|
<schemaDirectory>data/template</schemaDirectory>
|
|
<schemaIncludes>
|
|
<include>*.xsd</include>
|
|
</schemaIncludes>
|
|
<generateDirectory>src/main/generated</generateDirectory>
|
|
<generatePackage>com.l2jserver.model.template</generatePackage>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |