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! about: Have an idea you want to see added? Post it here!
--- ---
<!-- FactionsUUID Feature Request Template <!-- FactionsUUID Feature Request Template
Please post ideas that are relevant and can be for the majority, not just yourself 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! about: Having a problem? Use this template!
--- ---
<!-- FactionsUUID Issue Template <!-- FactionsUUID Issue Template
Don't put anything inside this block, as it won't be included in the issue. 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. factions. This way we hope to inspire politics, intrigue, and team spirit.
</description> </description>
<!--<url>${massiveBaseUrl}/factions</url>--> <!--<url>${massiveBaseUrl}/factions</url>-->
<version>3.3.3</version> <version>3.3.4</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -23,6 +23,14 @@
</properties> </properties>
<repositories> <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> <repository>
<id>spigotmc-repo</id> <id>spigotmc-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
@ -65,7 +73,8 @@
<dependency> <dependency>
<groupId>org.spigotmc</groupId> <groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId> <artifactId>spigot-api</artifactId>
<version>1.20.1-R0.1-SNAPSHOT</version> <version>1.20.6-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency> </dependency>
<!-- MassiveCore --> <!-- MassiveCore -->
<dependency> <dependency>
@ -79,22 +88,26 @@
<groupId>com.sk89q.worldedit</groupId> <groupId>com.sk89q.worldedit</groupId>
<artifactId>worldedit-core</artifactId> <artifactId>worldedit-core</artifactId>
<version>7.2.7</version> <version>7.2.7</version>
<scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.sk89q.worldedit</groupId> <groupId>com.sk89q.worldedit</groupId>
<artifactId>worldedit-bukkit</artifactId> <artifactId>worldedit-bukkit</artifactId>
<version>7.2.7</version> <version>7.2.7</version>
<scope>provided</scope>
</dependency> </dependency>
<!-- WorldGuard --> <!-- WorldGuard -->
<dependency> <dependency>
<groupId>com.sk89q.worldguard</groupId> <groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-core</artifactId> <artifactId>worldguard-core</artifactId>
<version>7.0.5</version> <version>7.0.5</version>
<scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.sk89q.worldguard</groupId> <groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-bukkit</artifactId> <artifactId>worldguard-bukkit</artifactId>
<version>7.0.5</version> <version>7.0.5</version>
<scope>provided</scope>
</dependency> </dependency>
<!-- Vault --> <!-- Vault -->
<dependency> <dependency>
@ -105,11 +118,10 @@
</dependency> </dependency>
<!-- LWC --> <!-- LWC -->
<dependency> <dependency>
<groupId>com.griefcraft</groupId> <groupId>com.griefcraft.lwc</groupId>
<artifactId>lwc</artifactId> <artifactId>LWCX</artifactId>
<version>2.2.8-f367129</version> <version>2.2.5</version>
<scope>system</scope> <scope>provided</scope>
<systemPath>${project.basedir}\lib\LWCX-2.2.8.jar</systemPath>
</dependency> </dependency>
<!-- PlaceholderAPI --> <!-- PlaceholderAPI -->
<dependency> <dependency>
@ -122,20 +134,20 @@
<dependency> <dependency>
<groupId>mineverse.Aust1n46.chat</groupId> <groupId>mineverse.Aust1n46.chat</groupId>
<artifactId>VentureChat</artifactId> <artifactId>VentureChat</artifactId>
<version>3.4.1_1.19_patch</version> <version>2.22.8</version>
<scope>system</scope>
<systemPath>${project.basedir}\lib\VentureChat.jar</systemPath>
</dependency> </dependency>
<!-- Dynmap --> <!-- Dynmap -->
<dependency> <dependency>
<groupId>us.dynmap</groupId> <groupId>us.dynmap</groupId>
<artifactId>dynmap-api</artifactId> <artifactId>dynmap-api</artifactId>
<version>3.1-beta-2</version> <version>3.6</version>
<scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>me.crafter.mc</groupId> <groupId>me.crafter.mc</groupId>
<artifactId>lockettepro</artifactId> <artifactId>lockettepro</artifactId>
<version>2.10-SNAPSHOT</version> <version>2.10-SNAPSHOT</version>
<scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>