diff --git a/.github/workflows/maven_deploy_cicd.yml b/.github/workflows/maven_deploy_cicd.yml
new file mode 100644
index 0000000..5c7651c
--- /dev/null
+++ b/.github/workflows/maven_deploy_cicd.yml
@@ -0,0 +1,43 @@
+name: Build and Publish to Nexus
+
+on:
+ # Manually triggered workflow using the "Run workflow" button
+ workflow_dispatch:
+ push:
+ branches: [ master ]
+
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+
+ #set up the build enviroment
+ steps:
+ - name: Checkout Repository
+ uses: actions/checkout@v4
+
+ - name: Set up JDK 8
+ uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: '8'
+
+ - name: Build with Maven
+ run: mvn -B package -DskipTests
+
+ - name: Set settings.xml
+ uses: s4u/maven-settings-action@v3.0.0
+ with:
+ servers: |
+ [{
+ "id": "mks-repo",
+ "username": "${{ secrets.MAVEN_USERNAME }}",
+ "password": "${{ secrets.MAVEN_TOKEN }}"
+ },
+ {
+ "id": "mks-repo-snapshots",
+ "username": "${{ secrets.MAVEN_USERNAME }}",
+ "password": "${{ secrets.MAVEN_TOKEN }}"
+ }]
+
+ - name: Publish
+ run: mvn --batch-mode clean deploy -DskipTests
diff --git a/pom.xml b/pom.xml
index 11f493f..60bbd65 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,10 +42,10 @@
1.25.0
0.2.14
3.23.0
- 18.6.0
- 3.0.0
+ 18.7.0
+ 3.0.1
3.0.0
- 1.5.0
+ 1.5.1
2.9.1
2.13.1
@@ -419,7 +419,17 @@
-
-
-
+
+
+ mks-repo
+ Mekom Solutions Nexus Releases
+ https://nexus.mekomsolutions.net/repository/maven-releases
+
+
+ mks-repo-snapshots
+ Mekom Solutions Nexus Snapshots
+ https://nexus.mekomsolutions.net/repository/maven-snapshots
+
+
+