Skip to content

Commit 3886bd2

Browse files
Tomas-Krauslukasj
authored andcommitted
Project cleanup.
Signed-off-by: Tomas Kraus <[email protected]>
1 parent 6aa9dae commit 3886bd2

File tree

7 files changed

+56
-43
lines changed

7 files changed

+56
-43
lines changed

.github/workflows/maven.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#
2+
# Copyright (c) 2021 Contributors to the Eclipse Foundation
3+
#
4+
# This program and the accompanying materials are made available under the
5+
# terms of the Eclipse Public License v. 2.0 which is available at
6+
# http://www.eclipse.org/legal/epl-2.0,
7+
# or the Eclipse Distribution License v. 1.0 which is available at
8+
# http://www.eclipse.org/org/documents/edl-v10.php.
9+
#
10+
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
11+
#
12+
13+
name: JSON-P API
14+
15+
on:
16+
pull_request:
17+
push:
18+
19+
jobs:
20+
build:
21+
name: Test on JDK ${{ matrix.java_version }}
22+
runs-on: ubuntu-latest
23+
24+
strategy:
25+
matrix:
26+
java_version: [ 11, 17-ea ]
27+
28+
steps:
29+
- name: Checkout for build
30+
uses: actions/[email protected]
31+
- name: Set up JDK
32+
uses: actions/setup-java@v2
33+
with:
34+
distribution: 'zulu'
35+
java-version: ${{ matrix.java_version }}
36+
- name: Verify
37+
run: cd api && mvn -B -V -U -C -Poss-release -Pstaging clean verify -Dgpg.skip=true

.travis.yml

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

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
[//]: # " "
1313
[//]: # " SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 "
1414

15-
[![Build Status](https://travis-ci.org/eclipse-ee4j/jsonp.svg?branch=master)](https://travis-ci.org/eclipse-ee4j/jsonp)
16-
1715
# Jakarta JSON Processing
1816

17+
[![Build Status](https://github.com/eclipse-ee4j/jsonp/actions/workflows/maven.yml/badge.svg?branch=master)](https://github.com/eclipse-ee4j/jsonp/actions/workflows/maven.yml?branch=master)
18+
[![Jakarta Staging (Snapshots)](https://img.shields.io/nexus/s/https/jakarta.oss.sonatype.org/jakarta.json/jakarta.json-api.svg)](https://jakarta.oss.sonatype.org/content/repositories/staging/jakarta/json/jakarta.json-api/)
19+
1920
Jakarta JSON Processing provides portable APIs to parse, generate, transform, and query JSON documents.
2021
This project contains Jakarta JSON Processing specification, API and TCK.
2122

api/pom.xml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>org.eclipse.ee4j</groupId>
2525
<artifactId>project</artifactId>
26-
<version>1.0.6</version>
26+
<version>1.0.7</version>
2727
<relativePath/>
2828
</parent>
2929

@@ -75,15 +75,15 @@
7575
</developers>
7676

7777
<properties>
78-
<config.dir>${project.root.location}/etc/config</config.dir>
79-
<copyright.exclude>${config.dir}/copyright-exclude</copyright.exclude>
80-
<copyright.templatefile>${config.dir}/copyright.txt</copyright.templatefile>
78+
<copyright.exclude>${project.basedir}/../etc/copyright-exclude</copyright.exclude>
79+
<copyright.templatefile>${project.basedir}/../etc/copyright.txt</copyright.templatefile>
8180
<copyright.ignoreyear>false</copyright.ignoreyear>
8281
<copyright.scmonly>true</copyright.scmonly>
8382
<copyright.update>false</copyright.update>
83+
<spotbugs.exclude>${project.basedir}/../etc/spotbugs-exclude.xml</spotbugs.exclude>
8484
<spotbugs.skip>false</spotbugs.skip>
8585
<spotbugs.threshold>Low</spotbugs.threshold>
86-
<spotbugs.version>4.2.2</spotbugs.version>
86+
<spotbugs.version>4.3.0</spotbugs.version>
8787

8888
<non.final>false</non.final>
8989
<extension.name>jakarta.json</extension.name>
@@ -100,7 +100,6 @@
100100
<artifactId>directory-maven-plugin</artifactId>
101101
<version>0.3.1</version>
102102
</plugin>
103-
104103
<plugin>
105104
<groupId>org.codehaus.mojo</groupId>
106105
<artifactId>buildnumber-maven-plugin</artifactId>
@@ -149,17 +148,21 @@
149148
<plugin>
150149
<groupId>org.apache.maven.plugins</groupId>
151150
<artifactId>maven-javadoc-plugin</artifactId>
152-
<version>3.2.0</version>
151+
<version>3.3.0</version>
153152
</plugin>
154153
<plugin>
155154
<groupId>org.apache.maven.plugins</groupId>
156155
<artifactId>maven-enforcer-plugin</artifactId>
157-
<version>3.0.0-M3</version>
156+
<version>3.0.0</version>
158157
</plugin>
159158
<plugin>
160159
<groupId>com.github.spotbugs</groupId>
161160
<artifactId>spotbugs-maven-plugin</artifactId>
162161
<version>${spotbugs.version}</version>
162+
<configuration>
163+
<skip>${spotbugs.skip}</skip>
164+
<threshold>${spotbugs.threshold}</threshold>
165+
</configuration>
163166
</plugin>
164167
</plugins>
165168
</pluginManagement>
@@ -204,7 +207,6 @@
204207
</executions>
205208
</plugin>
206209
<plugin>
207-
<!-- Requires validate target to initialize copyright.config.dir properly -->
208210
<!-- e.g. mvn validate glassfish-copyright:repair -->
209211
<groupId>org.glassfish.copyright</groupId>
210212
<artifactId>glassfish-copyright-maven-plugin</artifactId>
@@ -276,7 +278,7 @@
276278
<locale>en,US</locale>
277279
<pattern>yyyy</pattern>
278280
</configuration>
279-
</execution>
281+
</execution>
280282
</executions>
281283
</plugin>
282284
<plugin>
@@ -287,6 +289,8 @@
287289
<compilerArgs>
288290
<arg>-Xlint:all</arg>
289291
</compilerArgs>
292+
<showDeprecation>true</showDeprecation>
293+
<showWarnings>true</showWarnings>
290294
</configuration>
291295
<executions>
292296
<execution>
@@ -404,10 +408,10 @@ Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">
404408
<groupId>com.github.spotbugs</groupId>
405409
<artifactId>spotbugs-maven-plugin</artifactId>
406410
<configuration>
407-
<skip>${spotbugs.skip}</skip>
408-
<threshold>${spotbugs.threshold}</threshold>
409411
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
410412
<fork>true</fork>
413+
<excludeFilterFile>${spotbugs.exclude}</excludeFilterFile>
414+
<failThreshold>High</failThreshold>
411415
</configuration>
412416
</plugin>
413417
</plugins>
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)