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.
bzip2
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> <name>OpenRS2 ASM Utilities</name>
<properties>
<openrs2.root>${project.parent.basedir}</openrs2.root>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>dev.openrs2</groupId> <groupId>dev.openrs2</groupId>

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save