Skip to content

Commit a48289b

Browse files
authored
Dependency updates (#4)
* dependency updates
1 parent 32de419 commit a48289b

8 files changed

Lines changed: 83 additions & 33 deletions

File tree

.github/workflows/broken_links_checker.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: lychee Link Checker
14-
id: lc
15-
uses: lycheeverse/lychee-action@v1.0.6
16-
- name: Fail if there were link errors
17-
run: exit ${{ steps.lc.outputs.exit_code }}
13+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
14+
with:
15+
use-quiet-mode: 'yes'
16+
use-verbose-mode: 'yes'

.github/workflows/ci-build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI Build
2+
3+
on:
4+
- push
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout the repository
11+
uses: actions/checkout@v2
12+
with:
13+
fetch-depth: 0
14+
- name: Set up JDK 11
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 11
18+
- name: Cache local Maven repository
19+
uses: actions/cache@v2
20+
with:
21+
path: ~/.m2/repository
22+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
23+
restore-keys: |
24+
${{ runner.os }}-maven-
25+
- name: Run tests and build with Maven
26+
run: mvn --batch-mode --update-snapshots clean verify sonar:sonar --file pom.xml -DtrimStackTrace=false -Dsonar.organization=exasol -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
27+
env:
28+
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/release_droid_upload_github_release_assets.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,20 @@ jobs:
2828
${{ runner.os }}-maven-
2929
- name: Build with Maven skipping tests
3030
run: mvn clean verify -DskipTests
31+
- name: Generate sha256sum files
32+
run: find target -maxdepth 1 -name *.jar -exec bash -c 'sha256sum {} > {}.sha256' \;
3133
- name: Upload assets to the GitHub release draft
3234
uses: shogo82148/actions-upload-release-asset@v1
3335
with:
3436
upload_url: ${{ github.event.inputs.upload_url }}
35-
asset_path: target/*.jar
37+
asset_path: target/*.jar
38+
- name: Upload sha256sum files
39+
uses: shogo82148/actions-upload-release-asset@v1
40+
with:
41+
upload_url: ${{ github.event.inputs.upload_url }}
42+
asset_path: target/*.sha256
43+
- name: Upload error-code-report
44+
uses: shogo82148/actions-upload-release-asset@v1
45+
with:
46+
upload_url: ${{ github.event.inputs.upload_url }}
47+
asset_path: target/error_code_report.json

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
# Error Code Model for Java
22

3-
[![Build Status](https://travis-ci.com/exasol/error-code-model-java.svg?branch=main)](https://travis-ci.com/exasol/error-code-model-java)
3+
[![Build Status](https://github.com/exasol/error-code-model-java/actions/workflows/ci-build.yml/badge.svg)](https://github.com/exasol/error-code-model-java/actions/workflows/ci-build.yml)
44
[![Maven Central](https://img.shields.io/maven-central/v/com.exasol/error-code-model-java)](https://search.maven.org/artifact/com.exasol/error-code-model-java)
55

6+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-model-java&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-model-java)
7+
8+
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-model-java&metric=security_rating)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-model-java)
9+
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-model-java&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-model-java)
10+
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-model-java&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-model-java)
11+
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-model-java&metric=sqale_index)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-model-java)
12+
13+
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-model-java&metric=code_smells)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-model-java)
14+
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-model-java&metric=coverage)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-model-java)
15+
[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-model-java&metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-model-java)
16+
[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-model-java&metric=ncloc)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-model-java)
17+
618
This repository contains a Java for describing error message declarations.
719

820
## Additional Information

doc/changes/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Changes
22

3+
* [1.0.0](changes_1.0.0.md)
34
* [0.1.0](changes_0.1.0.md)

doc/changes/changes_1.0.0.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Error Code Model Java 1.0.0, released 2021-09-16
2+
3+
Code name: Dependency Updates on Initial Release
4+
5+
## Dependency Updates
6+
7+
### Test Dependency Updates
8+
9+
* Updated `nl.jqno.equalsverifier:equalsverifier:3.5.5` to `3.7.1`
10+
* Updated `org.junit.jupiter:junit-jupiter-engine:5.7.0` to `5.8.0`
11+
* Updated `org.junit.jupiter:junit-jupiter:5.7.0` to `5.8.0`
12+
13+
### Plugin Dependency Updates
14+
15+
* Updated `com.exasol:error-code-crawler-maven-plugin:0.4.0` to `0.6.0`
16+
* Updated `com.exasol:project-keeper-maven-plugin:0.8.0` to `1.2.0`

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.exasol</groupId>
66
<artifactId>error-code-model-java</artifactId>
7-
<version>0.1.0</version>
8-
<name>error code model java</name>
7+
<version>1.0.0</version>
8+
<name>Error Code Model Java</name>
99
<description>Library for describing error message declarations in Java.</description>
1010
<url>https://github.com/exasol/error-code-model-java</url>
1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1313
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1414
<java.version>11</java.version>
15-
<junit.version>5.7.0</junit.version>
15+
<junit.version>5.8.0</junit.version>
1616
<jacoco.version>0.8.5</jacoco.version>
1717
<gpg.skip>true</gpg.skip>
1818
<org.testcontainers.version>1.15.1</org.testcontainers.version>
@@ -78,7 +78,7 @@
7878
<dependency>
7979
<groupId>nl.jqno.equalsverifier</groupId>
8080
<artifactId>equalsverifier</artifactId>
81-
<version>3.5.5</version>
81+
<version>3.7.1</version>
8282
<scope>test</scope>
8383
</dependency>
8484
<dependency>
@@ -109,7 +109,7 @@
109109
<plugin>
110110
<groupId>com.exasol</groupId>
111111
<artifactId>project-keeper-maven-plugin</artifactId>
112-
<version>0.8.0</version>
112+
<version>1.2.0</version>
113113
<executions>
114114
<execution>
115115
<goals>
@@ -315,7 +315,7 @@
315315
<plugin>
316316
<groupId>com.exasol</groupId>
317317
<artifactId>error-code-crawler-maven-plugin</artifactId>
318-
<version>0.4.0</version>
318+
<version>0.6.0</version>
319319
<executions>
320320
<execution>
321321
<goals>

0 commit comments

Comments
 (0)