Fixes for modules
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,4 @@
|
|||||||
/target/
|
**/target/
|
||||||
/test_run/
|
/test_run/
|
||||||
.idea*
|
.idea*
|
||||||
auxprotect.iml
|
auxprotect.iml
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>dev.heliosares</groupId>
|
<groupId>dev.heliosares</groupId>
|
||||||
<artifactId>AuxProtect</artifactId>
|
<artifactId>AuxProtect</artifactId>
|
||||||
@@ -12,12 +13,6 @@
|
|||||||
<artifactId>AuxProtect_1.20</artifactId>
|
<artifactId>AuxProtect_1.20</artifactId>
|
||||||
<version>${revision}</version>
|
<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>
|
<repositories>
|
||||||
<!-- Spigot-->
|
<!-- Spigot-->
|
||||||
<repository>
|
<repository>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
package dev.heliosares.auxprotect.utils;
|
package dev.heliosares.auxprotect.utils;
|
||||||
|
|
||||||
public class InventoryUtil_1_20 {
|
public class InventoryUtil_1_20 {
|
||||||
public static void
|
|
||||||
}
|
}
|
||||||
|
|||||||
32
AuxProtect_1.21/pom.xml
Normal file
32
AuxProtect_1.21/pom.xml
Normal 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>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
package dev.heliosares.auxprotect.utils;
|
||||||
|
|
||||||
|
public class InventoryUtil_1_21 {
|
||||||
|
}
|
||||||
@@ -1,13 +1,19 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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">
|
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>
|
<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>
|
<version>${revision}</version>
|
||||||
<packaging>pom</packaging>
|
<name>AuxProtect_Core</name>
|
||||||
<name>AuxProtect</name>
|
|
||||||
<build>
|
<build>
|
||||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
<finalName>AuxProtect-${revision}</finalName>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
<directory>${basedir}</directory>
|
<directory>${basedir}</directory>
|
||||||
@@ -42,7 +48,6 @@
|
|||||||
<goal>shade</goal>
|
<goal>shade</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
||||||
<artifactSet>
|
<artifactSet>
|
||||||
<includes>
|
<includes>
|
||||||
<include>org.json:json</include>
|
<include>org.json:json</include>
|
||||||
@@ -82,9 +87,8 @@
|
|||||||
<target if="${fileExistsDeploy}">
|
<target if="${fileExistsDeploy}">
|
||||||
<exec executable="cmd.exe" spawn="false">
|
<exec executable="cmd.exe" spawn="false">
|
||||||
<arg value="/c"/>
|
<arg value="/c"/>
|
||||||
<arg value="${basedir}/deploy.bat"/>
|
<arg value="deploy.bat"/>
|
||||||
<arg value="${basedir}"/>
|
<arg value="AuxProtect"/>
|
||||||
<arg value="${project.artifactId}"/>
|
|
||||||
<arg value="${project.version}"/>
|
<arg value="${project.version}"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
@@ -261,7 +265,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>dev.heliosares</groupId>
|
<groupId>dev.heliosares</groupId>
|
||||||
<artifactId>AuxProtect_1.20</artifactId>
|
<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>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<properties>
|
<properties>
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
package dev.heliosares;
|
|
||||||
|
|
||||||
public class Main {
|
|
||||||
public static void main(String[] args) {
|
|
||||||
System.out.println("Hello world!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user