Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit d4fb8a3

Browse files
authored
Merge pull request #26 from xdev-software/develop
Release 5.1.1
2 parents 53f7395 + e34287e commit d4fb8a3

6 files changed

Lines changed: 63 additions & 22 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ updates:
44
directory: "/"
55
schedule:
66
interval: daily
7-
time: "04:00"
87
open-pull-requests-limit: 10
8+
ignore:
9+
- dependency-name: "*"
10+
# GitHub actions are using git tags (v1 = v1.2 = v1.2.3) which should be compatible until a major change is performed
11+
update-types:
12+
- "version-update:semver-minor"
13+
- "version-update:semver-patch"
914
- package-ecosystem: maven
1015
directory: "/"
1116
schedule:
1217
interval: daily
13-
time: "04:00"
1418
open-pull-requests-limit: 10
Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
name: Develop CI
1+
name: Check Build
22

33
on:
44
workflow_dispatch:
55
push:
66
branches: [ develop ]
7+
paths-ignore:
8+
- '**.md'
79
pull_request:
810
branches: [ develop ]
11+
paths-ignore:
12+
- '**.md'
913

1014
jobs:
1115
build:
@@ -14,10 +18,11 @@ jobs:
1418
steps:
1519
- uses: actions/checkout@v2
1620

17-
- name: Set up JDK 1.8
18-
uses: actions/setup-java@v1
21+
- name: Set up JDK 8
22+
uses: actions/setup-java@v2
1923
with:
20-
java-version: 1.8
24+
distribution: 'adopt'
25+
java-version: '8'
2126

2227
- name: Cache local Maven repository
2328
uses: actions/cache@v2
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Master CI
1+
name: Release
22

33
on:
44
push:
@@ -10,10 +10,11 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v2
1212

13-
- name: Set up JDK 1.8
14-
uses: actions/setup-java@v1
13+
- name: Set up JDK 8
14+
uses: actions/setup-java@v2
1515
with:
16-
java-version: 1.8
16+
distribution: 'adopt'
17+
java-version: '8'
1718

1819
- name: Cache local Maven repository
1920
uses: actions/cache@v2
@@ -107,10 +108,11 @@ jobs:
107108
git config --global user.name "GitHub Actions"
108109
git pull
109110
110-
- name: Set up JDK 1.8 Apache Maven Central
111-
uses: actions/setup-java@v1
111+
- name: Set up JDK 8 Apache Maven Central
112+
uses: actions/setup-java@v2
112113
with: # running setup-java again overwrites the settings.xml
113-
java-version: 1.8
114+
distribution: 'adopt'
115+
java-version: '8'
114116
server-id: ossrh
115117
server-username: MAVEN_CENTRAL_USERNAME
116118
server-password: MAVEN_CENTRAL_TOKEN
@@ -138,9 +140,10 @@ jobs:
138140
git pull
139141
140142
- name: Setup - Java
141-
uses: actions/setup-java@v1
143+
uses: actions/setup-java@v2
142144
with:
143-
java-version: 1.8
145+
distribution: 'adopt'
146+
java-version: '8'
144147

145148
- name: Restore - Maven Cache
146149
uses: actions/cache@v1

.github/workflows/test-deploy.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Test Deployment CI
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
publish_central: # Publish the code to central
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Set up JDK 8 Apache Maven Central
13+
uses: actions/setup-java@v2
14+
with: # running setup-java again overwrites the settings.xml
15+
distribution: 'adopt'
16+
java-version: '8'
17+
server-id: ossrh
18+
server-username: MAVEN_CENTRAL_USERNAME
19+
server-password: MAVEN_CENTRAL_TOKEN
20+
gpg-passphrase: MAVEN_GPG_PASSPHRASE
21+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
22+
23+
- name: Publish to Apache Maven Central
24+
run: mvn -B deploy -Possrh
25+
env:
26+
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
27+
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
28+
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
[![Build](https://img.shields.io/github/workflow/status/xdev-software/biapi/Master%20CI)](https://github.com/xdev-software/biapi/actions?query=workflow%3A%22Master+CI%22)
21
[![Latest version](https://img.shields.io/maven-central/v/com.xdev-software/biapi)](https://mvnrepository.com/artifact/com.xdev-software/biapi)
3-
[![Build Develop](https://img.shields.io/github/workflow/status/xdev-software/biapi/Develop%20CI/develop?label=build%20develop)](https://github.com/xdev-software/biapi/actions?query=workflow%3A%22Develop+CI%22+branch%3Adevelop)
2+
[![Build](https://img.shields.io/github/workflow/status/xdev-software/biapi/Check%20Build/develop)](https://github.com/xdev-software/biapi/actions/workflows/checkBuild.yml?query=branch%3Adevelop)
43
[![javadoc](https://javadoc.io/badge2/com.xdev-software/biapi/javadoc.svg)](https://javadoc.io/doc/com.xdev-software/biapi)
54

65
# XDEV BI Suite (BIAPI)
@@ -37,8 +36,10 @@ We encourage you to read the [contribution instructions by GitHub](https://guide
3736
The XDEV BIAPI is released under [GNU Lesser General Public License version 3](https://www.gnu.org/licenses/lgpl-3.0.en.html) aka LGPL 3
3837
View the [summary of all dependencies online](https://xdev-software.github.io/biapi/dependencies/)
3938

40-
## Releasing
41-
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes
39+
## Releasing [![Build](https://img.shields.io/github/workflow/status/xdev-software/biapi/Release?label=Release)](https://github.com/xdev-software/biapi/actions/workflows/release.yml)
40+
Consider doing a [test-deployment](https://github.com/xdev-software/biapi/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
41+
42+
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes.
4243

4344
When the release is finished do the following:
4445
* Merge the auto-generated PR (with the incremented version number) back into the ``develop``

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
<dependency>
9494
<groupId>net.sf.jasperreports</groupId>
9595
<artifactId>jasperreports</artifactId>
96-
<version>6.16.0</version>
96+
<version>6.17.0</version>
9797
</dependency>
9898
</dependencies>
9999

@@ -209,7 +209,7 @@
209209
<plugin>
210210
<groupId>org.apache.maven.plugins</groupId>
211211
<artifactId>maven-javadoc-plugin</artifactId>
212-
<version>3.2.0</version>
212+
<version>3.3.0</version>
213213
<executions>
214214
<execution>
215215
<id>attach-javadocs</id>
@@ -235,7 +235,7 @@
235235
<plugin>
236236
<groupId>org.apache.maven.plugins</groupId>
237237
<artifactId>maven-gpg-plugin</artifactId>
238-
<version>1.6</version>
238+
<version>3.0.1</version>
239239
<executions>
240240
<execution>
241241
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)