Changed compile output to use maven

This commit is contained in:
BongoCat 2022-08-06 13:43:12 -07:00
parent 2cd66e2cda
commit 39a20018cb
9 changed files with 99 additions and 12 deletions

View File

@ -0,0 +1,57 @@
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>tech.nully</groupId>
<artifactId>EaglerPluginInstaller</artifactId>
<name>EaglerPluginInstaller</name>
<version>1.1.5</version>
<description>A plugin made to install other plugins from an online repository to eaglercraft servers with a single command</description>
<url>nully.tech</url>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>${project.basedir}/out/${project.artifactId}.jar</outputFile>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>PrimCoreRepos-repos</id>
<url>https://github.com/darverdevs/EaglerMavenRepo/raw/main</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.EaglerMaven</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.5.2-R1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<properties>
<java.version>1.8</java.version>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project>

38
pom.xml
View File

@ -6,7 +6,7 @@
<groupId>tech.nully</groupId>
<artifactId>EaglerPluginInstaller</artifactId>
<version>1.0.0</version>
<version>1.1.5</version>
<packaging>jar</packaging>
<name>EaglerPluginInstaller</name>
@ -32,13 +32,47 @@
<groupId>com.github.EaglerMaven</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.5.2-R1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1</version>
<version>1.1.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>${project.basedir}/out/${project.artifactId}.jar</outputFile>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,11 +1,11 @@
name: EaglerPluginInstaller
version: 1.1.2
version: 1.1.4
main: tech.nully.PluginInstaller.Main
prefix: [EaglerPluginInstaller]
loadbefore: [EaglerPluginUpdater]
authors: [BongoCat]
description: A plugin that is capable of installing the latest compatible version of plugins with eaglercraft from an online repository weith the executing of a command.
website: nully.tech
website: bnogocarft.games
commands:
install:
usage: /<command> <plugin>

View File

@ -1,11 +1,11 @@
name: EaglerPluginInstaller
version: 1.1.2
version: 1.1.4
main: tech.nully.PluginInstaller.Main
prefix: [EaglerPluginInstaller]
loadbefore: [EaglerPluginUpdater]
authors: [BongoCat]
description: A plugin that is capable of installing the latest compatible version of plugins with eaglercraft from an online repository weith the executing of a command.
website: nully.tech
website: bnogocarft.games
commands:
install:
usage: /<command> <plugin>

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Jun 08 13:04:28 PDT 2022
#Sat Aug 06 13:41:02 PDT 2022
version=1.1.5
groupId=tech.nully
artifactId=EaglerPluginInstaller
version=1.0.0

View File

@ -1,4 +0,0 @@
tech\nully\PluginInstaller\InstallCommand.class
tech\nully\PluginInstaller\plistCommand.class
tech\nully\PluginInstaller\Installer.class
tech\nully\PluginInstaller\Main.class