Skip to content

Commit 7edad0c

Browse files
authored
Merge pull request #201 from HSLdevcom/develop
1.3.23
2 parents b6be4f5 + f41acaa commit 7edad0c

File tree

3 files changed

+23
-21
lines changed

3 files changed

+23
-21
lines changed

.github/workflows/test-and-build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- name: Set up JDK 1.8
11-
uses: actions/setup-java@v1
10+
- name: Set up JDK 8
11+
uses: actions/setup-java@v2.1.0
1212
with:
13-
java-version: 1.8
13+
distribution: 'adopt'
14+
java-version: '8'
1415
- name: Cache Maven packages
15-
uses: actions/cache@v2
16+
uses: actions/cache@v2.1.6
1617
with:
1718
path: ~/.m2
1819
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -34,4 +35,4 @@ jobs:
3435
- name: Publish package
3536
run: mvn --batch-mode deploy
3637
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/HSLdevcom/transitdata-common.svg?branch=master)](https://travis-ci.org/HSLdevcom/transitdata-common) [![Download](https://api.bintray.com/packages/hsldevcom/maven/transitdata-common/images/download.svg) ](https://bintray.com/hsldevcom/maven/transitdata-common/_latestVersion)
1+
[![Build status](https://github.com/HSLdevcom/transitdata-common/actions/workflows/test-and-build.yml/badge.svg)](https://github.com/HSLdevcom/transitdata-common/actions/workflows/test-and-build.yml)
22

33
# HSL Transitdata Common-library
44

@@ -7,26 +7,27 @@ This repository contains code and constants to be shared between [Transitdata-pr
77

88
## Including the Library
99

10-
Project is published as fat-jar via [bintray maven repository](https://bintray.com/hsldevcom/maven/transitdata-common).
10+
Project is published as fat-jar via [GitHub Packages](https://github.com/orgs/HSLdevcom/packages?repo_name=transitdata-common).
1111
Add the dependency to the project by adding this snippet to your pom.xml file:
1212

1313
```
1414
<repositories>
15-
<repository>
16-
<id>bintray</id>
17-
<name>bintray</name>
18-
<url>https://dl.bintray.com/hsldevcom/maven</url>
19-
</repository>
15+
<repository>
16+
<id>github</id>
17+
<url>https://maven.pkg.github.com/HSLdevcom/*</url>
18+
</repository>
2019
</repositories>
2120
<dependencies>
2221
<dependency>
2322
<groupId>fi.hsl</groupId>
2423
<artifactId>transitdata-common</artifactId>
2524
<version>${common.version}</version>
2625
</dependency>
27-
</dependencies>
26+
</dependencies>
2827
```
2928

29+
To access GitHub Packages, you also need to create an access token and include it in Maven settings. See [GitHub documentation](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#authenticating-to-github-packages) for more details.
30+
3031

3132
It is also possible to compile the project yourself and use it via local maven repository.
3233

@@ -44,7 +45,7 @@ in this repository but you can also generate the files yourself:
4445
`cd protos && ./generate-protos.sh`
4546

4647

47-
## Configuration[ ![Download](https://api.bintray.com/packages/hsldevcom/maven/transitdata-common/images/download.svg) ](https://bintray.com/hsldevcom/maven/transitdata-common/_latestVersion)
48+
## Configuration
4849

4950
Library contains package [config](src/main/java/fi/hsl/common/config) which has tools to configure the application.
5051
By default the configuration file is read from resources inside the application jar-bundle from a file named `environment.conf`.

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>fi.hsl</groupId>
44
<artifactId>transitdata-common</artifactId>
5-
<version>1.3.22</version>
5+
<version>1.3.23</version>
66
<packaging>jar</packaging>
77
<name>Common utilities for Transitdata projects</name>
88
<properties>
99
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1010
<maven.compiler.source>1.8</maven.compiler.source>
1111
<maven.compiler.target>1.8</maven.compiler.target>
1212
<pulsar.version>2.3.1</pulsar.version>
13-
<testcontainers.version>1.15.2</testcontainers.version>
13+
<testcontainers.version>1.15.3</testcontainers.version>
1414
</properties>
1515

1616
<profiles>
@@ -95,7 +95,7 @@
9595
<dependency>
9696
<groupId>ch.qos.logback</groupId>
9797
<artifactId>logback-classic</artifactId>
98-
<version>1.1.7</version>
98+
<version>1.2.3</version>
9999
</dependency>
100100

101101
<dependency>
@@ -119,13 +119,13 @@
119119
<dependency>
120120
<groupId>org.jetbrains</groupId>
121121
<artifactId>annotations</artifactId>
122-
<version>16.0.2</version>
122+
<version>20.1.0</version>
123123
</dependency>
124124

125125
<dependency>
126126
<groupId>junit</groupId>
127127
<artifactId>junit</artifactId>
128-
<version>4.11</version>
128+
<version>4.13.2</version>
129129
<scope>test</scope>
130130
</dependency>
131131

@@ -183,7 +183,7 @@
183183
<plugin>
184184
<groupId>org.apache.maven.plugins</groupId>
185185
<artifactId>maven-compiler-plugin</artifactId>
186-
<version>3.8.0</version>
186+
<version>3.8.1</version>
187187
<configuration>
188188
<source>1.8</source>
189189
<target>1.8</target>
@@ -282,7 +282,7 @@
282282
<plugin>
283283
<groupId>org.apache.maven.plugins</groupId>
284284
<artifactId>maven-surefire-plugin</artifactId>
285-
<version>2.22.0</version>
285+
<version>2.22.2</version>
286286
<configuration>
287287
<skipTests>${skip.unit.tests}</skipTests>
288288
<!-- Excludes integration tests when unit tests are run -->

0 commit comments

Comments
 (0)