Fixes for modules

This commit is contained in:
Heliosares
2024-07-18 19:17:39 -04:00
parent 664d3640fb
commit 841a085f74
8 changed files with 59 additions and 25 deletions

2
.gitignore vendored
View File

@@ -1,4 +1,4 @@
/target/
**/target/
/test_run/
.idea*
auxprotect.iml

View File

@@ -3,6 +3,7 @@
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.heliosares</groupId>
<artifactId>AuxProtect</artifactId>
@@ -12,12 +13,6 @@
<artifactId>AuxProtect_1.20</artifactId>
<version>${revision}</version>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<!-- Spigot-->
<repository>

View File

@@ -1,5 +1,4 @@
package dev.heliosares.auxprotect.utils;
public class InventoryUtil_1_20 {
public static void
}

32
AuxProtect_1.21/pom.xml Normal file
View File

@@ -0,0 +1,32 @@
<?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.heliosares</groupId>
<artifactId>AuxProtect</artifactId>
<version>${revision}</version>
</parent>
<artifactId>AuxProtect_1.21</artifactId>
<version>${revision}</version>
<repositories>
<!-- Spigot-->
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.21-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,4 @@
package dev.heliosares.auxprotect.utils;
public class InventoryUtil_1_21 {
}

View File

@@ -1,13 +1,19 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>dev.heliosares</groupId>
<artifactId>AuxProtect</artifactId>
<parent>
<groupId>dev.heliosares</groupId>
<artifactId>AuxProtect</artifactId>
<version>${revision}</version>
</parent>
<artifactId>AuxProtect_Core</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<name>AuxProtect</name>
<name>AuxProtect_Core</name>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<finalName>AuxProtect-${revision}</finalName>
<resources>
<resource>
<directory>${basedir}</directory>
@@ -42,7 +48,6 @@
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<artifactSet>
<includes>
<include>org.json:json</include>
@@ -82,9 +87,8 @@
<target if="${fileExistsDeploy}">
<exec executable="cmd.exe" spawn="false">
<arg value="/c"/>
<arg value="${basedir}/deploy.bat"/>
<arg value="${basedir}"/>
<arg value="${project.artifactId}"/>
<arg value="deploy.bat"/>
<arg value="AuxProtect"/>
<arg value="${project.version}"/>
</exec>
</target>
@@ -261,7 +265,12 @@
<dependency>
<groupId>dev.heliosares</groupId>
<artifactId>AuxProtect_1.20</artifactId>
<version>${project.version}</version>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>dev.heliosares</groupId>
<artifactId>AuxProtect_1.21</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
<properties>

View File

@@ -1,7 +0,0 @@
package dev.heliosares;
public class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}

View File

@@ -10,6 +10,8 @@
<modules>
<module>AuxProtect_1.20</module>
<module>AuxProtect_1.21</module>
<module>AuxProtect_Core</module>
</modules>