in-toto / in-toto/in-toto-java

Update Maven setup

Open
#103 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Found the following banner while working on #100

[INFO] --- surefire:2.22.2:test (default-test) @ in-toto ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------

 +-------------------------------------------------------------------------------+
 | WARNING:                                                                      |
 | The junit-platform-surefire-provider has been deprecated and is scheduled to  |
 | be removed in JUnit Platform 1.4. Please use the built-in support in Maven    |
 | Surefire >= 2.22.0 instead.                                                   |
 | » https://junit.org/junit5/docs/current/user-guide/#running-tests-build-maven |
 +-------------------------------------------------------------------------------+

Caused by https://github.com/in-toto/in-toto-java/blob/c7f5b1a53366cf44feca8ae5e2bd42e99302a5c7/pom.xml#L130-L145

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pom.xml lines 130-145, where the deprecated JUnit Platform Surefire provider is configured. Run the Maven tests to reproduce the banner, update the Maven setup to use Surefire's built-in support, and confirm the deprecation warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.