Fixes for modules
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,4 @@
|
||||
/target/
|
||||
**/target/
|
||||
/test_run/
|
||||
.idea*
|
||||
auxprotect.iml
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
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"
|
||||
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>
|
||||
|
||||
@@ -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