Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
- uses: actions/checkout@v5
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: 17
distribution: 'zulu'
java-version: 25
cache: 'maven'
- name: Build with Maven
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
- uses: actions/checkout@v5
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: 17
distribution: 'zulu'
java-version: 25
cache: 'maven'
- name: Publish with Maven
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2023 Heilbronn University of Applied Sciences
Copyright 2018-2025 Heilbronn University of Applied Sciences

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
196 changes: 121 additions & 75 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,28 @@

<groupId>dev.dsf</groupId>
<artifactId>dsf-process-hello-world</artifactId>
<version>1.5.0.0</version>
<version>2.0.0.0</version>
<packaging>jar</packaging>

<properties>
<project.build.outputTimestamp>2025-12-02T17:25:00Z</project.build.outputTimestamp>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<compileSource>17</compileSource>
<compileTarget>17</compileTarget>
<maven.compiler.source>25</maven.compiler.source>
<maven.compiler.target>25</maven.compiler.target>
<maven.compiler.release>25</maven.compiler.release>

<dsf.version>1.5.0</dsf.version>
<dsf.version>2.0.1</dsf.version>
<dsf.location>../dsf</dsf.location>
</properties>

<name>dsf-process-hello-world</name>
<description>Hello World DSF process</description>
<description>Hello World Process Plugin</description>
<url>https://github.com/datasharingframework/dsf-process-hello-world</url>

<organization>
<name>Heilbronn University of Applied Sciences</name>
<url>https://www.hs-heilbronn.de</url>
</organization>

<scm>
<connection>scm:git:git://github.com/datasharingframework/dsf-process-hello-world.git</connection>
Expand All @@ -38,32 +45,19 @@
<dependencies>
<dependency>
<groupId>dev.dsf</groupId>
<artifactId>dsf-bpe-process-api-v1</artifactId>
<artifactId>dsf-bpe-process-api-v2</artifactId>
<version>${dsf.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.12</version>
<version>2.0.17</version>
<scope>provided</scope>
</dependency>

<!-- testing -->
<dependency>
<groupId>dev.dsf</groupId>
<artifactId>dsf-bpe-process-api-v1</artifactId>
<version>${dsf.version}</version>
<scope>test</scope>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>dev.dsf</groupId>
<artifactId>dsf-fhir-validation</artifactId>
<version>${dsf.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -73,31 +67,60 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<version>2.22.1</version>
<version>2.25.2</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>dev.dsf</groupId>
<artifactId>dsf-fhir-validation</artifactId>
<version>${dsf.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>plugin.properties</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>plugin.properties</include>
</includes>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<version>3.14.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<source>${compileSource}</source>
<target>${compileTarget}</target>
<propertiesEncoding>UTF-8</propertiesEncoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.3</version>
<version>3.5.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<!-- 4.0.0 not working with eclipse, see https://github.com/eclipse-m2e/m2e-core/issues/2084 -->
<version>3.4.2</version>
<configuration>
<archive>
<manifest>
Expand All @@ -111,25 +134,20 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.6.1</version>
<version>3.9.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.3.2</version>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
<executions>
<execution>
<phase>validate</phase>
Expand All @@ -145,15 +163,15 @@
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<version>2.23.0</version>
<version>2.29.0</version>
<configuration>
<configFile>eclipse-formatter-config.xml</configFile>
</configuration>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<version>1.9.0</version>
<version>1.12.0</version>
<configuration>
<compliance>17</compliance>
<groups>java.,javax.,org.,com.</groups>
Expand All @@ -162,22 +180,78 @@
</plugin>
<plugin>
<groupId>dev.dsf</groupId>
<artifactId>dsf-tools-documentation-generator</artifactId>
<artifactId>dsf-maven-plugin</artifactId>
<version>${dsf.version}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
<goal>generate-config-doc</goal>
</goals>
</execution>
</executions>
<configuration>
<workingPackages>
<workingPackage>dev.dsf.bpe</workingPackage>
</workingPackages>
<configDocPackages>
<configDocPackage>dev.dsf.bpe</configDocPackage>
</configDocPackages>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.6.2</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.6.3</version>
</requireMavenVersion>
<bannedDependencies>
<excludes>
<exclude>commons-logging:commons-logging</exclude>
</excludes>
</bannedDependencies>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
</plugins>

<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>dev.dsf</groupId>
<artifactId>dsf-maven-plugin</artifactId>
<versionRange>${dsf.version}</versionRange>
<goals>
<goal>generate-config-doc</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<distributionManagement>
Expand All @@ -191,34 +265,6 @@
</repository>
</distributionManagement>

<repositories>
<repository>
<id>github</id>
<name>GitHub DSF Apache Maven Packages</name>
<url>https://maven.pkg.github.com/datasharingframework/dsf</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>github</id>
<name>GitHub DSF Apache Maven Packages</name>
<url>https://maven.pkg.github.com/datasharingframework/dsf</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>

<profiles>
<profile>
<id>validate-and-check</id>
Expand Down Expand Up @@ -293,7 +339,7 @@
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-process-plugin-to-docker-test-setup</id>
<id>copy-process-plugin-to-docker-dev-setup</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
Expand All @@ -306,11 +352,11 @@
<version>${project.version}</version>
</artifactItem>
</artifactItems>
<outputDirectory>${dsf.location}/dsf-docker-test-setup/bpe/process</outputDirectory>
<outputDirectory>${dsf.location}/dsf-docker-dev-setup/bpe/process</outputDirectory>
</configuration>
</execution>
<execution>
<id>copy-process-plugin-to-docker-test-setup-3dic-ttp/dic1</id>
<id>copy-process-plugin-to-docker-dev-setup-3dic-ttp/dic1</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
Expand All @@ -323,7 +369,7 @@
<version>${project.version}</version>
</artifactItem>
</artifactItems>
<outputDirectory>${dsf.location}/dsf-docker-test-setup-3dic-ttp/dic1/bpe/process</outputDirectory>
<outputDirectory>${dsf.location}/dsf-docker-dev-setup-3dic-ttp/dic1/bpe/process</outputDirectory>
</configuration>
</execution>
</executions>
Expand All @@ -334,14 +380,14 @@
<configuration>
<filesets>
<fileset>
<directory>${dsf.location}/dsf-docker-test-setup/bpe/process</directory>
<directory>${dsf.location}/dsf-docker-dev-setup/bpe/process</directory>
<includes>
<include>${project.artifactId}-${project.version}.jar</include>
</includes>
<followSymlinks>false</followSymlinks>
</fileset>
<fileset>
<directory>${dsf.location}/dsf-docker-test-setup-3dic-ttp/dic1/bpe/process</directory>
<directory>${dsf.location}/dsf-docker-dev-setup-3dic-ttp/dic1/bpe/process</directory>
<includes>
<include>${project.artifactId}-${project.version}.jar</include>
</includes>
Expand Down
Loading