Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/arces-wot/sepa.git
Browse files Browse the repository at this point in the history
  • Loading branch information
lroffia committed May 2, 2024
2 parents e833f4e + c0843e3 commit ff79bb0
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 19 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
34 changes: 34 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
* Event Processing Architecture (SEPA)
*
* @author Luca Roffia ([email protected])
* @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;

Expand Down
34 changes: 17 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,33 @@
<developers>
<developer>
<name>Luca Roffia</name>
<email>luca.roffia@unibo.it</email>
<organization>Web of Things research group of ARCES</organization>
<organizationUrl>http://wot.arces.unibo.it/</organizationUrl>
<email>luca.roffia@vaimee.com</email>
<organization>VAIMEE</organization>
<organizationUrl>http://vaimee.com/</organizationUrl>
</developer>
<developer>
<name>Fabio Viola</name>
<email>[email protected]</email>
<organization>Web of Things research group of ARCES</organization>
<organizationUrl>http://wot.arces.unibo.it/</organizationUrl>
</developer>
<developer>
<name>Francesco Antoniazzi</name>
<email>[email protected]</email>
<organization>Web of Things research group of ARCES</organization>
<organizationUrl>http://wot.arces.unibo.it/</organizationUrl>
<name>Cristiano Aguzzi</name>
<email>[email protected]</email>
<organization>VAIMEE</organization>
<organizationUrl>http://vaimee.com/</organizationUrl>
</developer>
<developer>
<name>Cristiano Aguzzi</name>
<email>[email protected]</email>
<organization>Web of Things research group of ARCES</organization>
<organizationUrl>http://wot.arces.unibo.it/</organizationUrl>
<name>Gregorio Monari</name>
<email>[email protected]</email>
<organization>VAIMEE</organization>
<organizationUrl>http://vaimee.com/</organizationUrl>
</developer>
</developers>
<scm>
<<<<<<< HEAD
<connection>scm:git:git://github.com/vaimee/SEPA.git</connection>
<developerConnection>scm:git:ssh://github.com/vaimee/SEPA.git</developerConnection>
<url>https://github.com/arces-wot/SEPA</url>
=======
<connection>scm:git:git://github.com/vaimee/sepa.git</connection>
<developerConnection>scm:git:ssh://github.com/vaimee/sepa.git</developerConnection>
<url>https://github.com/vaimee/SEPA</url>
>>>>>>> branch 'master' of https://github.com/arces-wot/sepa.git
</scm>
<properties>
<maven.compiler.source>13</maven.compiler.source>
Expand Down

0 comments on commit ff79bb0

Please sign in to comment.