Replace maven.multiModuleProjectDirectory with openrs2.root

openrs2.root works correctly even if the root of the reactor is a child
project, at the expense of having to re-define the property in each
module.
master
Graham 5 years ago
parent 56528c2edc
commit d293176959
  1. 4
      asm/pom.xml
  2. 4
      decompiler/pom.xml
  3. 4
      deob-annotations/pom.xml
  4. 4
      deob/pom.xml
  5. 4
      game/pom.xml
  6. 4
      gl-dri-natives/pom.xml
  7. 4
      gl-natives/pom.xml
  8. 4
      misc-natives/pom.xml
  9. 3
      pom.xml
  10. 4
      util/pom.xml

@ -13,6 +13,10 @@
<name>OpenRS2 ASM Utilities</name>
<properties>
<openrs2.root>${project.parent.basedir}</openrs2.root>
</properties>
<dependencies>
<dependency>
<groupId>dev.openrs2</groupId>

@ -13,6 +13,10 @@
<name>OpenRS2 Decompiler</name>
<properties>
<openrs2.root>${project.parent.basedir}</openrs2.root>
</properties>
<dependencies>
<dependency>
<groupId>dev.openrs2</groupId>

@ -12,4 +12,8 @@
<packaging>jar</packaging>
<name>OpenRS2 Deobfuscator Annotations</name>
<properties>
<openrs2.root>${project.parent.basedir}</openrs2.root>
</properties>
</project>

@ -13,6 +13,10 @@
<name>OpenRS2 Deobfuscator</name>
<properties>
<openrs2.root>${project.parent.basedir}</openrs2.root>
</properties>
<dependencies>
<dependency>
<groupId>dev.openrs2</groupId>

@ -13,6 +13,10 @@
<name>OpenRS2 Game Server</name>
<properties>
<openrs2.root>${project.parent.basedir}</openrs2.root>
</properties>
<dependencies>
<dependency>
<groupId>co.paralleluniverse</groupId>

@ -13,6 +13,10 @@
<name>OpenRS2 GL DRI Natives</name>
<properties>
<openrs2.root>${project.parent.basedir}</openrs2.root>
</properties>
<profiles>
<profile>
<id>unix</id>

@ -13,6 +13,10 @@
<name>OpenRS2 GL Natives</name>
<properties>
<openrs2.root>${project.parent.basedir}</openrs2.root>
</properties>
<build>
<plugins>
<plugin>

@ -12,4 +12,8 @@
<packaging>nar</packaging>
<name>OpenRS2 Misc Natives</name>
<properties>
<openrs2.root>${project.parent.basedir}</openrs2.root>
</properties>
</project>

@ -19,6 +19,7 @@
</modules>
<properties>
<openrs2.root>${project.basedir}</openrs2.root>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@ -264,7 +265,7 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<configuration>
<rulesUri>file://${maven.multiModuleProjectDirectory}/version-rules.xml</rulesUri>
<rulesUri>file://${openrs2.root}/version-rules.xml</rulesUri>
</configuration>
</plugin>
</plugins>

@ -13,6 +13,10 @@
<name>OpenRS2 Utilities</name>
<properties>
<openrs2.root>${project.parent.basedir}</openrs2.root>
</properties>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>

Loading…
Cancel
Save