Skip to content

Commit f690daa

Browse files
Update of the tableschema lib; move to Java 17
1 parent 0369c35 commit f690daa

File tree

3 files changed

+32
-34
lines changed

3 files changed

+32
-34
lines changed

.github/workflows/maven.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v3
19-
- name: Set up JDK 1.8
20-
uses: actions/setup-java@v1
21-
with:
22-
java-version: 1.8
23-
distribution: 'temurin'
24-
cache: maven
25-
- name: Build with Maven
26-
run: mvn -B package --file pom.xml
27-
- name: Run test and coverage report
28-
run: mvn clean test jacoco:report coveralls:report -DrepoToken=${{ secrets.COVERALL_REPO_SECRET }}
18+
- uses: actions/checkout@v4
19+
- name: Set up JDK 17
20+
uses: actions/setup-java@v4
21+
with:
22+
java-version: '17'
23+
distribution: 'temurin'
24+
cache: maven
25+
- name: Build with Maven
26+
run: mvn -B package --file pom.xml
27+
- name: Run test and coverage report
28+
run: mvn clean test jacoco:report

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ Get started:
218218
```sh
219219
# install jabba and maven2
220220
$ cd tableschema-java
221-
$ jabba install 1.8
222-
$ jabba use 1.8
221+
$ jabba install 17
222+
$ jabba use 17
223223
$ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
224224
$ mvn test -B
225225
```

pom.xml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>io.frictionlessdata</groupId>
66
<artifactId>datapackage-java</artifactId>
7-
<version>0.6.16-SNAPSHOT</version>
7+
<version>0.7.2-SNAPSHOT</version>
88
<packaging>jar</packaging>
99
<issueManagement>
1010
<url>https://github.com/frictionlessdata/datapackage-java/issues</url>
@@ -19,26 +19,26 @@
1919
<properties>
2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2121
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
22-
<java.version>8</java.version>
22+
<java.version>17</java.version>
2323
<maven.compiler.source>${java.version}</maven.compiler.source>
2424
<maven.compiler.target>${java.version}</maven.compiler.target>
25-
<tableschema-java-version>0.6.16</tableschema-java-version>
26-
<hamcrest.version>1.3</hamcrest.version>
27-
<junit.version>5.9.2</junit.version>
28-
<slf4j-simple.version>2.0.5</slf4j-simple.version>
25+
<maven.compiler.compiler>${java.version}</maven.compiler.compiler>
26+
<tableschema-java-version>0.7.2</tableschema-java-version>
27+
<junit.version>5.12.0</junit.version>
28+
<slf4j-simple.version>2.0.17</slf4j-simple.version>
2929
<apache-commons-collections4.version>4.4</apache-commons-collections4.version>
30-
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
31-
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
32-
<maven-javadoc-plugin.version>3.4.1</maven-javadoc-plugin.version>
33-
<maven-resources-plugin.version>3.3.0</maven-resources-plugin.version>
34-
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
30+
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
31+
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
32+
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
33+
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
34+
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
3535
<maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
3636
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
37-
<maven-release-plugin.version>3.0.0-M7</maven-release-plugin.version>
37+
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
3838
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
3939
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
40-
<dependency-check-maven.version>7.4.4</dependency-check-maven.version>
41-
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
40+
<dependency-check-maven.version>12.1.0</dependency-check-maven.version>
41+
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
4242
</properties>
4343

4444
<repositories>
@@ -57,6 +57,7 @@
5757
<encoding>utf-8</encoding>
5858
<source>${maven.compiler.source}</source>
5959
<target>${maven.compiler.target}</target>
60+
<compilerVersion>${maven.compiler.compiler}</compilerVersion>
6061
</configuration>
6162
</plugin>
6263

@@ -151,6 +152,7 @@
151152
</configuration>
152153
</plugin>
153154

155+
<!--
154156
<plugin>
155157
<groupId>org.apache.maven.plugins</groupId>
156158
<artifactId>maven-release-plugin</artifactId>
@@ -169,13 +171,7 @@
169171
</dependency>
170172
</dependencies>
171173
</plugin>
172-
173-
<!-- Test Coverage: https://github.com/trautonen/coveralls-maven-plugin -->
174-
<plugin>
175-
<groupId>org.eluder.coveralls</groupId>
176-
<artifactId>coveralls-maven-plugin</artifactId>
177-
<version>${coveralls-maven-plugin.version}</version>
178-
</plugin>
174+
-->
179175

180176
<plugin>
181177
<groupId>org.jacoco</groupId>
@@ -198,7 +194,9 @@
198194
<executions>
199195
<execution>
200196
<goals>
197+
<!--
201198
<goal>check</goal>
199+
-->
202200
</goals>
203201
</execution>
204202
</executions>

0 commit comments

Comments
 (0)