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

[incubator-kie-drools-6158] Remove remaining binaries from test resou… #6171

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

tkobayas
Copy link
Contributor

…rces on main

  • Create TestJar.jar on the fly

Issue:

@@ -128,7 +128,7 @@ private static URL getResourceUrl() {

private static URL getJarUrl() throws MalformedURLException {
URL retrieved = Thread.currentThread().getContextClassLoader().getResource("TestJar.jar");
assertThat(retrieved).isNotNull();
assertThat(retrieved).as("Run `mvn test` to build TestJar.jar").isNotNull();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TestJar.jar creation is done at process-test-resources phase, so TestJar.jar usually exists before running tests. One exception is running tests via IDE before running mvn. For the case, I added this message.

…rces on main

- Create TestJar.jar on the fly
@tkobayas tkobayas force-pushed the incubator-kie-drools-6158-TestJar branch from fb1f235 to eec4be7 Compare November 25, 2024 08:52
@tkobayas tkobayas requested a review from gitgabrio November 25, 2024 10:55
Copy link
Contributor

@gitgabrio gitgabrio left a comment

Choose a reason for hiding this comment

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

Thanks @tkobayas 👍

@mariofusco mariofusco merged commit 63a65a0 into apache:main Nov 25, 2024
9 of 10 checks passed
rgdoliveira added a commit to rgdoliveira/drools that referenced this pull request Dec 2, 2024
…rces on main (apache#6171)

- Create TestJar.jar on the fly
# Conflicts:
#	.rat-excludes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants