diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 000000000..96ff1b016
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,49 @@
+pipeline {
+ agent any
+ tools {
+ maven 'Maven 3'
+ jdk 'Java 8'
+ }
+ options {
+ buildDiscarder(logRotator(artifactNumToKeepStr: '5'))
+ }
+ stages {
+ stage ('Build') {
+ steps {
+ sh 'mvn clean package'
+ }
+ post {
+ success {
+ archiveArtifacts artifacts: 'target/Geyser.jar', fingerprint: true
+ }
+ }
+ }
+
+ stage ('Deploy') {
+ when {
+ branch "master"
+ }
+ steps {
+ sh 'mvn javadoc:jar source:jar deploy -DskipTests'
+ }
+ }
+
+ stage ('Javadoc') {
+ when {
+ branch "master"
+ }
+ steps {
+ sh 'mvn javadoc:javadoc -DskipTests -pl api'
+ step([$class: 'JavadocArchiver',
+ javadocDir: 'api/target/site/apidocs',
+ keepAll: false])
+ }
+ }
+ }
+
+ post {
+ always {
+ deleteDir()
+ }
+ }
+}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index cd9dc69a5..973d270fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,6 +10,7 @@
GeyserMC
Allows for players from Minecraft Bedrock Edition to join Minecraft Java Edition servers.
https://geysermc.org
+
Geyser
UTF-8
@@ -17,21 +18,25 @@
1.8
1.8
+
GeyserMC
https://github.com/GeyserMC/Geyser/blob/master/pom.xml
+
scm:git:https://github.com/GeyserMC/Geyser.git
scm:git:git@github.com:GeyserMC/Geyser.git
https://github.com/GeyserMC/Geyser
+
api
common
connector
plugin
+
CodeMC-repo
@@ -44,10 +49,40 @@
- nukkitx-repo
+ nukkitx-release-repo
https://repo.nukkitx.com/maven-releases/
+
+ true
+
+
+ false
+
+
+
+ nukkitx-snapshot-repo
+ https://repo.nukkitx.com/maven-snapshots/
+
+ false
+
+
+ true
+
+
+
+
+ releases
+ nukkitx-releases
+ https://repo.nukkitx.com/maven-releases
+
+
+ snapshots
+ nukkitx-snapshots
+ https://repo.nukkitx.com/maven-snapshots
+
+
+
clean install