Skip to content

Commit

Permalink
ci: use workflow release
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Apr 12, 2024
1 parent 310eaa4 commit 617ec5a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 41 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: (📡) Create GitHub Release Draft
name: (📡) Create GitHub Release

on:
push:
Expand All @@ -8,4 +8,4 @@ on:

jobs:
create-github-release:
uses: sitepark/github-project-workflow/.github/workflows/create-github-release-draft.yml@release/1.x
uses: sitepark/github-project-workflow/.github/workflows/create-github-release.yml@release/1.x
10 changes: 0 additions & 10 deletions .github/workflows/publish-release.yml

This file was deleted.

57 changes: 28 additions & 29 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,25 +165,6 @@
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>add-integration-test-sources</id>
<goals>
<goal>add-test-source</goal>
</goals>
<phase>generate-test-sources</phase>
<configuration>
<sources>
<source>src/integration-test/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
Expand All @@ -196,19 +177,19 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<argLine>-Duser.timezone=Europe/Berlin ${argLine}</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<version>3.3.0</version>
<configuration>
<doclint>all,-missing</doclint>
</configuration>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
<goal>jar</goal>
</goals>
</execution>
</executions>
Expand All @@ -229,7 +210,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.2</version>
<version>3.2.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand Down Expand Up @@ -299,7 +280,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
<version>0.8.11</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -387,14 +368,13 @@
<maxRank>20</maxRank>
<excludeFilterFile>spotbug-exclude-filter.xml</excludeFilterFile>
</configuration>

<!-- https://spotbugs.readthedocs.io/en/latest/maven.html -->
<dependencies>
<!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs -->
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs</artifactId>
<version>${spotbugs.version}</version>
<version>4.8.3</version>
</dependency>
</dependencies>
<executions>
Expand All @@ -419,7 +399,6 @@
<failurePriority>5</failurePriority>
<printFailingErrors>true</printFailingErrors>
<linkXRef>false</linkXRef>
<!-- otherwise generates a warning -->
</configuration>
<executions>
<execution>
Expand All @@ -433,4 +412,24 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>nexus-staging-release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 617ec5a

Please sign in to comment.