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

Project root should not initialized to the current dir if the test class is from a JAR #8467

Merged

Conversation

aloubyansky
Copy link
Member

Fixes #8452

There is a bit of a mess around appClasses and projectRoot in the bootstrap and the resolver. I'm cleaning it up in a different PR.
The other issue is that the output of build-tree isn't really working for an external test JAR.

…initialized to the current dir

* Propagate project's managed dependencies to the deployment dependency trees
@aloubyansky aloubyansky force-pushed the no-project-root-for-test-from-jar branch from 0a20595 to 4a87f53 Compare April 8, 2020 10:41
@boring-cyborg boring-cyborg bot added the area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins label Apr 8, 2020
Copy link
Contributor

@gastaldi gastaldi left a comment

Choose a reason for hiding this comment

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

LGTM

@gastaldi
Copy link
Contributor

gastaldi commented Apr 8, 2020

I wish we had more tests for this scenario

@aloubyansky aloubyansky added this to the 1.4.0 milestone Apr 8, 2020
@aloubyansky aloubyansky merged commit 7b33981 into quarkusio:master Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BootstrapAppModelResolver returns mixed versions for a Platform test with SNAPSHOT deps
2 participants