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

Prefer workspace paths only for artifacts that are not extensions or their dependencies #20572

Merged
merged 1 commit into from
Oct 7, 2021

Conversation

aloubyansky
Copy link
Member

This fixes GRPC dev mode tests in the deployment module.
The issue was caused by the bootstrap refactoring PR which preferred local workspace paths (classes dirs) to the JARs as the resolved artifact paths in dev mode and tests.
This PR makes sure extension artifacts and their dependencies are resolved as JARs, like before.

@quarkus-bot quarkus-bot bot added the area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins label Oct 6, 2021
if (collectReloadableModules) {
appBuilder.addReloadableWorkspaceModule(new GACT(artifact.getGroupId(), artifact.getArtifactId()));
}
}
if (extDep != null) {
Copy link
Member

Choose a reason for hiding this comment

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

What does bringing if (extDep!=null)... under if(add) do?

Copy link
Member

@michalszynkiewicz michalszynkiewicz left a comment

Choose a reason for hiding this comment

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

looks good to me

@michalszynkiewicz michalszynkiewicz merged commit 65ba480 into quarkusio:main Oct 7, 2021
@quarkus-bot quarkus-bot bot added this to the 2.4 - main milestone Oct 7, 2021
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants