Fixes local dependencies
Some checks failed
EpicKnarvik97/Factions3/pipeline/head There was a failure building this commit

This commit is contained in:
Kristian Knarvik 2024-05-25 01:10:25 +02:00
parent 2bf4ac29f7
commit 1cf596137e
4 changed files with 58 additions and 11 deletions

View File

@ -3,6 +3,7 @@ name: Feature Request
about: Have an idea you want to see added? Post it here!
---
<!-- FactionsUUID Feature Request Template
Please post ideas that are relevant and can be for the majority, not just yourself
-->

View File

@ -3,6 +3,7 @@ name: Issue
about: Having a problem? Use this template!
---
<!-- FactionsUUID Issue Template
Don't put anything inside this block, as it won't be included in the issue.

33
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,33 @@
pipeline {
agent any
tools {
jdk 'JDK17'
}
stages {
stage('Build') {
steps {
echo 'Building...'
sh 'mvn clean & mvn validate & mvn compile'
}
}
stage('Test') {
steps {
echo 'Testing...'
sh 'mvn test'
}
}
stage('Verify') {
steps {
echo 'Verifying...'
sh 'mvn verify -Dmaven.test.skip=true'
}
}
stage('Deploy') {
steps {
echo 'Deploying...'
sh 'mvn deploy -Dmaven.install.skip=true -Dmaven.test.skip=true'
archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
}
}
}
}

34
pom.xml
View File

@ -14,7 +14,7 @@
factions. This way we hope to inspire politics, intrigue, and team spirit.
</description>
<!--<url>${massiveBaseUrl}/factions</url>-->
<version>3.3.3</version>
<version>3.3.4</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -23,6 +23,14 @@
</properties>
<repositories>
<repository>
<id>cnaude-repo</id>
<url>https://repo.chrisnaude.com/</url>
</repository>
<repository>
<id>enderzone</id>
<url>https://ci.ender.zone/plugin/repository/everything/</url>
</repository>
<repository>
<id>spigotmc-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
@ -65,7 +73,8 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.1-R0.1-SNAPSHOT</version>
<version>1.20.6-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- MassiveCore -->
<dependency>
@ -79,22 +88,26 @@
<groupId>com.sk89q.worldedit</groupId>
<artifactId>worldedit-core</artifactId>
<version>7.2.7</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sk89q.worldedit</groupId>
<artifactId>worldedit-bukkit</artifactId>
<version>7.2.7</version>
<scope>provided</scope>
</dependency>
<!-- WorldGuard -->
<dependency>
<groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-core</artifactId>
<version>7.0.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-bukkit</artifactId>
<version>7.0.5</version>
<scope>provided</scope>
</dependency>
<!-- Vault -->
<dependency>
@ -105,11 +118,10 @@
</dependency>
<!-- LWC -->
<dependency>
<groupId>com.griefcraft</groupId>
<artifactId>lwc</artifactId>
<version>2.2.8-f367129</version>
<scope>system</scope>
<systemPath>${project.basedir}\lib\LWCX-2.2.8.jar</systemPath>
<groupId>com.griefcraft.lwc</groupId>
<artifactId>LWCX</artifactId>
<version>2.2.5</version>
<scope>provided</scope>
</dependency>
<!-- PlaceholderAPI -->
<dependency>
@ -122,20 +134,20 @@
<dependency>
<groupId>mineverse.Aust1n46.chat</groupId>
<artifactId>VentureChat</artifactId>
<version>3.4.1_1.19_patch</version>
<scope>system</scope>
<systemPath>${project.basedir}\lib\VentureChat.jar</systemPath>
<version>2.22.8</version>
</dependency>
<!-- Dynmap -->
<dependency>
<groupId>us.dynmap</groupId>
<artifactId>dynmap-api</artifactId>
<version>3.1-beta-2</version>
<version>3.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.crafter.mc</groupId>
<artifactId>lockettepro</artifactId>
<version>2.10-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>