diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c7031dea..052835d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -102,3 +102,24 @@ jobs: run: mvn clean deploy -Dmaven.test.skip=true -Drevision=${{github.ref_name}} -DrepositoryId=github env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + publish-docker: + runs-on: ubuntu-latest + if: startsWith(github.event.ref, 'refs/tags/v') + needs: + - build + - test + steps: + - uses: actions/checkout@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - name: Login to DockerHub + uses: docker/login-action@v2 + with: + username: ${{secrets.DOCKERHUB_USERNAME}} + password: ${{secrets.DOCKERHUB_TOKEN}} + - name: Build and push + uses: docker/build-push-action@v3 + with: + push: true + tags: vaimee/sepa:${{github.ref_name}},vaimee/sepa:latest diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml new file mode 100644 index 00000000..954e6c8d --- /dev/null +++ b/.github/workflows/maven-publish.yml @@ -0,0 +1,34 @@ +# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created +# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path + +name: Maven Package + +on: + release: + types: [created] + +jobs: + build: + + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + server-id: github # Value of the distributionManagement/repository/id field of the pom.xml + settings-path: ${{ github.workspace }} # location for the settings.xml file + + - name: Build with Maven + run: mvn -B package --file pom.xml + + - name: Publish to GitHub Packages Apache Maven + run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml + env: + GITHUB_TOKEN: ${{ github.token }} diff --git a/engine/src/main/java/it/unibo/arces/wot/sepa/engine/core/Engine.java b/engine/src/main/java/it/unibo/arces/wot/sepa/engine/core/Engine.java index 107bf4e9..f7ebfd3b 100644 --- a/engine/src/main/java/it/unibo/arces/wot/sepa/engine/core/Engine.java +++ b/engine/src/main/java/it/unibo/arces/wot/sepa/engine/core/Engine.java @@ -37,11 +37,11 @@ * Event Processing Architecture (SEPA) * * @author Luca Roffia (luca.roffia@unibo.it) - * @version 0.10.0 + * @version 0.13.0 */ public class Engine implements EngineMBean { - private final static String version = "0.13.2024.01.22"; + private final static String version = "0.13.0"; private EngineProperties properties = null; diff --git a/pom.xml b/pom.xml index fa8fac67..9801e4ed 100644 --- a/pom.xml +++ b/pom.xml @@ -21,33 +21,33 @@ Luca Roffia - luca.roffia@unibo.it - Web of Things research group of ARCES - http://wot.arces.unibo.it/ + luca.roffia@vaimee.com + VAIMEE + http://vaimee.com/ - Fabio Viola - fabio.viola@unibo.it - Web of Things research group of ARCES - http://wot.arces.unibo.it/ - - - Francesco Antoniazzi - francesco.antoniazzi@unibo.it - Web of Things research group of ARCES - http://wot.arces.unibo.it/ + Cristiano Aguzzi + cristiano.aguzzi@vaimee.com + VAIMEE + http://vaimee.com/ - Cristiano Aguzzi - cristiano.aguzzi@studio.unibo.it - Web of Things research group of ARCES - http://wot.arces.unibo.it/ + Gregorio Monari + gregorio.monari@vaimee.com + VAIMEE + http://vaimee.com/ +<<<<<<< HEAD scm:git:git://github.com/vaimee/SEPA.git scm:git:ssh://github.com/vaimee/SEPA.git https://github.com/arces-wot/SEPA +======= + scm:git:git://github.com/vaimee/sepa.git + scm:git:ssh://github.com/vaimee/sepa.git + https://github.com/vaimee/SEPA +>>>>>>> branch 'master' of https://github.com/arces-wot/sepa.git 13