Skip to content

Commit

Permalink
Prepared new Version 1.0.0 and updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
studio42gmbh committed Nov 8, 2023
1 parent d5113be commit 5d15004
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 23 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish package to GitHub Packages
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- uses: whelk-io/maven-settings-xml-action@v21
with:
repositories: '[{ "id": "github", "url": "https://maven.pkg.github.com/studio42gmbh/*" }]'
servers: '[{ "id": "github", "username": "${env.USER}", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
- name: Publish package
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45 changes: 22 additions & 23 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,75 +5,74 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.s42</groupId>
<artifactId>dls</artifactId>
<version>0.1.0</version>
<version>1.0.0</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>14</maven.compiler.source>
<maven.compiler.target>14</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>de.s42</groupId>
<artifactId>base42</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
<scope>compile</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>de.s42</groupId>
<artifactId>log42</artifactId>
<version>0.1.0</version>
<version>1.0.0</version>
<scope>compile</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>de.s42</groupId>
<artifactId>dl</artifactId>
<version>0.1.0</version>
<version>1.0.0</version>
<scope>compile</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>de.s42</groupId>
<artifactId>dlt</artifactId>
<version>0.1.0</version>
<version>1.0.0</version>
<scope>compile</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>8.0.1</version>
<scope>provided</scope>
<type>jar</type>
</dependency>
<!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.4.0</version>
<version>42.6.0</version>
<scope>compile</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.6.2</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
<type>jar</type>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub studio42 GmbH Apache Maven Packages</name>
<url>https://maven.pkg.github.com/studio42gmbh/dls</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<executions>
<execution>
<phase>generate-resources</phase>
Expand Down Expand Up @@ -102,7 +101,7 @@
<!-- https://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<version>3.2.1</version>
<configuration>
<!-- https://stackoverflow.com/questions/64688896/how-to-make-testng-print-detail-message-about-the-failure -->
<trimStackTrace>false</trimStackTrace>
Expand All @@ -115,7 +114,7 @@
<!-- https://maven.apache.org/plugins/maven-compiler-plugin/ -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.11.0</version>
<configuration>
<showDeprecation>true</showDeprecation>
</configuration>
Expand All @@ -124,7 +123,7 @@
<!-- https://maven.apache.org/plugins/maven-dependency-plugin/ -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.2.0</version>
<version>3.6.1</version>
<executions>
<execution>
<id>copy-dependencies</id>
Expand All @@ -144,7 +143,7 @@
<!-- https://maven.apache.org/plugins/maven-jar-plugin/ -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<configuration>
<archive>
<manifestEntries>
Expand All @@ -157,7 +156,7 @@
<!-- https://maven.apache.org/plugins/maven-javadoc-plugin/aggregate-mojo.html -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.1</version>
<version>3.6.0</version>
<configuration>
<outputDirectory>${project.basedir}/docs</outputDirectory>
<reportOutputDirectory>${project.basedir}/docs</reportOutputDirectory>
Expand All @@ -169,7 +168,7 @@
<!-- https://maven.apache.org/plugins/maven-install-plugin/ -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.0.0-M1</version>
<version>3.1.1</version>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 5d15004

Please sign in to comment.