Add Quasar to a new game server module

bzip2
Graham 5 years ago
parent 53b2af7f3c
commit ec823d8c44
  1. 65
      game/pom.xml
  2. 6
      pom.xml

@ -0,0 +1,65 @@
<?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>
<parent>
<groupId>dev.openrs2</groupId>
<artifactId>openrs2</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>openrs2-game</artifactId>
<packaging>jar</packaging>
<name>OpenRS2 Game Server</name>
<dependencies>
<dependency>
<groupId>co.paralleluniverse</groupId>
<artifactId>quasar-core</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>instrument-classes</id>
<phase>compile</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<property name="classpath" refid="maven.dependency.classpath" />
<taskdef name="instrumentation" classname="co.paralleluniverse.fibers.instrument.InstrumentationTask" classpath="${classpath}" />
<instrumentation>
<fileset dir="${project.build.directory}/classes" erroronmissingdir="false" includes="**/*.class" />
</instrumentation>
</target>
</configuration>
</execution>
<execution>
<id>instrument-test-classes</id>
<phase>test-compile</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<property name="classpath" refid="maven.dependency.classpath" />
<taskdef name="instrumentation" classname="co.paralleluniverse.fibers.instrument.InstrumentationTask" classpath="${classpath}" />
<instrumentation>
<fileset dir="${project.build.directory}/test-classes" erroronmissingdir="false" includes="**/*.class" />
</instrumentation>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

@ -10,6 +10,7 @@
<name>OpenRS2</name>
<modules>
<module>game</module>
<module>util</module>
</modules>
@ -51,6 +52,11 @@
<build>
<pluginManagement>
<plugins>
<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>

Loading…
Cancel
Save