Skip to content

Commit 4abc18d

Browse files
authored
#30: Added name to workflow files with matrix builds (#31)
Fixes #30
1 parent c8596ef commit 4abc18d

8 files changed

+57
-42
lines changed

.github/workflows/release_droid_prepare_original_checksum.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
jobs:
77
build:
8+
name: Build for Scala version ${{ matrix.scala-version }}
89
runs-on: ubuntu-latest
910
strategy:
1011
fail-fast: false
@@ -41,4 +42,4 @@ jobs:
4142
with:
4243
name: original_checksum
4344
retention-days: 5
44-
path: original_checksum
45+
path: original_checksum

.github/workflows/release_droid_print_quick_checksum.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
jobs:
77
build:
8+
name: Build for Scala version ${{ matrix.scala-version }}
89
runs-on: ubuntu-latest
910
strategy:
1011
fail-fast: false

.github/workflows/release_droid_release_on_maven_central.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
jobs:
77
publish:
8+
name: Publish for Scala version ${{ matrix.scala-version }}
89
runs-on: ubuntu-latest
910
strategy:
1011
fail-fast: false

.github/workflows/release_droid_upload_github_release_assets.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
jobs:
1111
build:
12+
name: Build for Scala version ${{ matrix.scala-version }}
1213
runs-on: ubuntu-latest
1314
strategy:
1415
fail-fast: false
@@ -40,7 +41,9 @@ jobs:
4041
-DskipTests \
4142
-Dproject-keeper.skip=${{ matrix.project-keeper-skip }}
4243
- name: Generate sha256sum files
43-
run: find target -maxdepth 1 -name *.jar -exec bash -c 'sha256sum {} > {}.sha256' \;
44+
run: |
45+
cd target/
46+
find -name *.jar -exec bash -c 'sha256sum {} > {}.sha256' \;
4447
- name: Upload assets to the GitHub release draft
4548
uses: shogo82148/actions-upload-release-asset@v1
4649
with:
@@ -52,7 +55,8 @@ jobs:
5255
upload_url: ${{ github.event.inputs.upload_url }}
5356
asset_path: target/*.sha256
5457
- name: Upload error-code-report
58+
if: ${{ matrix.scala-version == 'scala2.13' }}
5559
uses: shogo82148/actions-upload-release-asset@v1
5660
with:
5761
upload_url: ${{ github.event.inputs.upload_url }}
58-
asset_path: target/error_code_report.json
62+
asset_path: target/error_code_report.json

.scalafix.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
rules = [
2-
ExplicitResultTypes
2+
// ExplicitResultTypes (Disable for now since version dependent)
33
Disable
44
DisableSyntax
55
LeakingImplicitClassVal
@@ -40,5 +40,5 @@ OrganizeImports {
4040

4141
RemoveUnused {
4242
// handled by OrganizeImports
43-
imports = false
43+
imports = false
4444
}

dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
| [Apache Maven Site Plugin][72] | [Apache License, Version 2.0][7] |
5555

5656
[54]: https://github.com/exasol/project-keeper-maven-plugin
57-
[56]: https://scoverage.github.io/scoverage-maven-plugin/1.4.1/
5857
[18]: https://github.com/scalatest/scalatestplus-mockito
5958
[4]: https://github.com/exasol/error-reporting-java
6059
[9]: http://www.apache.org/licenses/LICENSE-2.0.txt
@@ -98,6 +97,7 @@
9897
[2]: http://www.exasol.com
9998
[70]: http://maven.apache.org/plugins/maven-install-plugin/
10099
[34]: https://sonatype.github.io/ossindex-maven/maven-plugin/
100+
[56]: https://scoverage.github.io/scoverage-maven-plugin/1.4.11/
101101
[40]: https://maven.apache.org/plugins/maven-gpg-plugin/
102102
[22]: http://github.com/davidB/scala-maven-plugin
103103
[48]: https://maven.apache.org/plugins/maven-javadoc-plugin/

doc/changes/changes_0.4.0.md

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
# Import Export UDF Common Scala 0.4.0, released 2021-??-??
1+
# Import Export UDF Common Scala 0.4.0, released 2022-02-18
22

3-
Code name:
3+
Code name: Migrated to maven build
4+
5+
## Summary
6+
7+
In this release, we migrated to the Maven based build and refactored the Continuous Integration (CI) workflow files that contain matrix builds.
8+
9+
## Bug Fixes
10+
11+
* #30: Added name to release droid workflow file with matrix build
412

513
## Features
614

@@ -16,40 +24,40 @@ Code name:
1624
* Added `com.fasterxml.jackson.module:jackson-module-scala_2.13:2.12.5`
1725
* Added `com.typesafe.scala-logging:scala-logging_2.13:3.9.4`
1826
* Added `org.apache.avro:avro:1.11.0`
19-
* Added `org.scala-lang:scala-library:2.13.6`
20-
* Added `org.slf4j:slf4j-simple:1.7.32`
27+
* Added `org.scala-lang:scala-library:2.13.8`
28+
* Added `org.slf4j:slf4j-simple:1.7.36`
2129

2230
### Test Dependency Updates
2331

24-
* Added `org.mockito:mockito-core:4.1.0`
32+
* Added `org.mockito:mockito-core:4.3.1`
2533
* Added `org.scalatestplus:scalatestplus-mockito_2.13:1.0.0-M2`
2634
* Added `org.scalatest:scalatest_2.13:3.2.10`
2735

2836
### Plugin Dependency Updates
2937

30-
* Added `com.diffplug.spotless:spotless-maven-plugin:2.17.4`
31-
* Added `com.exasol:error-code-crawler-maven-plugin:0.7.1`
38+
* Added `com.diffplug.spotless:spotless-maven-plugin:2.20.2`
39+
* Added `com.exasol:error-code-crawler-maven-plugin:1.0.0`
3240
* Added `com.exasol:project-keeper-maven-plugin:1.3.4`
33-
* Added `io.github.evis:scalafix-maven-plugin_2.13:0.1.4_0.9.31`
34-
* Added `io.github.zlika:reproducible-build-maven-plugin:0.14`
35-
* Added `net.alchim31.maven:scala-maven-plugin:4.5.4`
41+
* Added `io.github.evis:scalafix-maven-plugin_2.13:0.1.4_0.9.33`
42+
* Added `io.github.zlika:reproducible-build-maven-plugin:0.15`
43+
* Added `net.alchim31.maven:scala-maven-plugin:4.5.6`
3644
* Added `org.apache.maven.plugins:maven-assembly-plugin:3.3.0`
3745
* Added `org.apache.maven.plugins:maven-clean-plugin:3.1.0`
38-
* Added `org.apache.maven.plugins:maven-compiler-plugin:3.8.1`
46+
* Added `org.apache.maven.plugins:maven-compiler-plugin:3.10.0`
3947
* Added `org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1`
4048
* Added `org.apache.maven.plugins:maven-enforcer-plugin:3.0.0`
4149
* Added `org.apache.maven.plugins:maven-gpg-plugin:3.0.1`
4250
* Added `org.apache.maven.plugins:maven-install-plugin:2.5.2`
43-
* Added `org.apache.maven.plugins:maven-jar-plugin:3.2.0`
44-
* Added `org.apache.maven.plugins:maven-javadoc-plugin:3.3.1`
51+
* Added `org.apache.maven.plugins:maven-jar-plugin:3.2.2`
52+
* Added `org.apache.maven.plugins:maven-javadoc-plugin:3.3.2`
4553
* Added `org.apache.maven.plugins:maven-resources-plugin:3.2.0`
46-
* Added `org.apache.maven.plugins:maven-site-plugin:3.9.1`
54+
* Added `org.apache.maven.plugins:maven-site-plugin:3.11.0`
4755
* Added `org.apache.maven.plugins:maven-source-plugin:3.2.1`
4856
* Added `org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4`
49-
* Added `org.codehaus.mojo:versions-maven-plugin:2.8.1`
50-
* Added `org.itsallcode:openfasttrace-maven-plugin:1.2.0`
57+
* Added `org.codehaus.mojo:versions-maven-plugin:2.9.0`
58+
* Added `org.itsallcode:openfasttrace-maven-plugin:1.4.0`
5159
* Added `org.scalastyle:scalastyle-maven-plugin:1.0.0`
5260
* Added `org.scalatest:scalatest-maven-plugin:2.0.2`
53-
* Added `org.scoverage:scoverage-maven-plugin:1.4.1`
54-
* Added `org.sonatype.ossindex.maven:ossindex-maven-plugin:3.1.0`
61+
* Added `org.scoverage:scoverage-maven-plugin:1.4.11`
62+
* Added `org.sonatype.ossindex.maven:ossindex-maven-plugin:3.2.0`
5563
* Added `org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8`

pom.xml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<avro.version>1.11.0</avro.version>
1818
<jackson.version>2.12.5</jackson.version>
1919
<typesafe.logging.version>3.9.4</typesafe.logging.version>
20-
<slf4j.simple.version>1.7.32</slf4j.simple.version>
20+
<slf4j.simple.version>1.7.36</slf4j.simple.version>
2121
<!-- test dependency versions -->
2222
<scalatest.version>3.2.10</scalatest.version>
2323
<scalatestplus.version>1.0.0-M2</scalatestplus.version>
24-
<mockito.version>4.1.0</mockito.version>
24+
<mockito.version>4.3.1</mockito.version>
2525
<gpg.skip>true</gpg.skip>
2626
</properties>
2727
<licenses>
@@ -169,7 +169,7 @@
169169
<plugin>
170170
<groupId>net.alchim31.maven</groupId>
171171
<artifactId>scala-maven-plugin</artifactId>
172-
<version>4.5.4</version>
172+
<version>4.5.6</version>
173173
<executions>
174174
<execution>
175175
<id>scala-compile-first</id>
@@ -232,15 +232,15 @@
232232
<compilerPlugin>
233233
<groupId>org.scalameta</groupId>
234234
<artifactId>semanticdb-scalac_${scala.version}</artifactId>
235-
<version>4.4.30</version>
235+
<version>4.4.35</version>
236236
</compilerPlugin>
237237
</compilerPlugins>
238238
</configuration>
239239
</plugin>
240240
<plugin>
241241
<groupId>org.apache.maven.plugins</groupId>
242242
<artifactId>maven-compiler-plugin</artifactId>
243-
<version>3.8.1</version>
243+
<version>3.10.0</version>
244244
<configuration>
245245
<source>${java.version}</source>
246246
<target>${java.version}</target>
@@ -314,7 +314,7 @@
314314
<plugin>
315315
<groupId>org.codehaus.mojo</groupId>
316316
<artifactId>versions-maven-plugin</artifactId>
317-
<version>2.8.1</version>
317+
<version>2.9.0</version>
318318
<executions>
319319
<execution>
320320
<phase>package</phase>
@@ -331,7 +331,7 @@
331331
<plugin>
332332
<groupId>org.sonatype.ossindex.maven</groupId>
333333
<artifactId>ossindex-maven-plugin</artifactId>
334-
<version>3.1.0</version>
334+
<version>3.2.0</version>
335335
<executions>
336336
<execution>
337337
<phase>package</phase>
@@ -364,7 +364,7 @@
364364
<plugin>
365365
<groupId>org.itsallcode</groupId>
366366
<artifactId>openfasttrace-maven-plugin</artifactId>
367-
<version>1.2.0</version>
367+
<version>1.4.0</version>
368368
<executions>
369369
<execution>
370370
<id>trace-requirements</id>
@@ -442,7 +442,7 @@
442442
<plugin>
443443
<groupId>org.apache.maven.plugins</groupId>
444444
<artifactId>maven-javadoc-plugin</artifactId>
445-
<version>3.3.1</version>
445+
<version>3.3.2</version>
446446
<executions>
447447
<execution>
448448
<id>attach-javadocs</id>
@@ -463,7 +463,7 @@
463463
<plugin>
464464
<groupId>io.github.zlika</groupId>
465465
<artifactId>reproducible-build-maven-plugin</artifactId>
466-
<version>0.14</version>
466+
<version>0.15</version>
467467
<executions>
468468
<execution>
469469
<id>strip-jar</id>
@@ -477,7 +477,7 @@
477477
<plugin>
478478
<groupId>com.exasol</groupId>
479479
<artifactId>error-code-crawler-maven-plugin</artifactId>
480-
<version>0.7.1</version>
480+
<version>1.0.0</version>
481481
<executions>
482482
<execution>
483483
<goals>
@@ -530,7 +530,7 @@
530530
<plugin>
531531
<groupId>org.scoverage</groupId>
532532
<artifactId>scoverage-maven-plugin</artifactId>
533-
<version>1.4.1</version>
533+
<version>1.4.11</version>
534534
<configuration>
535535
<scalaVersion>${scala.version}</scalaVersion>
536536
<aggregate>true</aggregate>
@@ -563,7 +563,7 @@
563563
<plugin>
564564
<groupId>com.diffplug.spotless</groupId>
565565
<artifactId>spotless-maven-plugin</artifactId>
566-
<version>2.17.4</version>
566+
<version>2.20.2</version>
567567
<configuration>
568568
<scala>
569569
<scalafmt>
@@ -582,7 +582,7 @@
582582
<plugin>
583583
<groupId>io.github.evis</groupId>
584584
<artifactId>scalafix-maven-plugin_${scala.compat.version}</artifactId>
585-
<version>0.1.4_0.9.31</version>
585+
<version>0.1.4_0.9.33</version>
586586
<dependencies>
587587
<dependency>
588588
<groupId>com.github.liancheng</groupId>
@@ -592,7 +592,7 @@
592592
<dependency>
593593
<groupId>com.github.vovapolu</groupId>
594594
<artifactId>scaluzzi_${scala.compat.version}</artifactId>
595-
<version>0.1.20</version>
595+
<version>0.1.21</version>
596596
</dependency>
597597
</dependencies>
598598
<configuration>
@@ -612,15 +612,15 @@
612612
</plugin>
613613
<plugin>
614614
<artifactId>maven-jar-plugin</artifactId>
615-
<version>3.2.0</version>
615+
<version>3.2.2</version>
616616
</plugin>
617617
<plugin>
618618
<artifactId>maven-resources-plugin</artifactId>
619619
<version>3.2.0</version>
620620
</plugin>
621621
<plugin>
622622
<artifactId>maven-site-plugin</artifactId>
623-
<version>3.9.1</version>
623+
<version>3.11.0</version>
624624
</plugin>
625625
</plugins>
626626
</pluginManagement>
@@ -632,7 +632,7 @@
632632
<activeByDefault>true</activeByDefault>
633633
</activation>
634634
<properties>
635-
<scala.version>2.13.6</scala.version>
635+
<scala.version>2.13.8</scala.version>
636636
<scala.compat.version>2.13</scala.compat.version>
637637
</properties>
638638
</profile>

0 commit comments

Comments
 (0)