Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply proc:none/proc:only for test compile too. #25102

Merged

Conversation

arjantijms
Copy link
Contributor

This is to prepare for the default changing in JDK 23.

See https://inside.java/2024/06/18/quality-heads-up/

appserver/distributions/web/pom.xml Outdated Show resolved Hide resolved
nucleus/parent/pom.xml Show resolved Hide resolved
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;

public class EmbeddedTest {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yet don't forget to rename both test classes to *IT.java - then failsafe will find and execute them automatically.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe better to delete the tests. They haven't been executed for like forever, and didn't even compile before.

@arjantijms arjantijms requested a review from dmatej August 16, 2024 22:10
Copy link
Contributor

@dmatej dmatej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I will approve this because we already have tests for embedded in standalone modules and this was quite ugly code.

@arjantijms arjantijms merged commit 2800455 into eclipse-ee4j:master Aug 17, 2024
2 checks passed
@arjantijms arjantijms deleted the jdk23_test_process_annotations branch August 17, 2024 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants