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

GitRepositoryQuarkusApplication doesn't resolve internal artifacts #432

Open
pjgg opened this issue Mar 15, 2022 · 0 comments
Open

GitRepositoryQuarkusApplication doesn't resolve internal artifacts #432

pjgg opened this issue Mar 15, 2022 · 0 comments
Labels
enhancement New feature or request priority/low lowest priority

Comments

@pjgg
Copy link
Contributor

pjgg commented Mar 15, 2022

If you are pointing to a monorepo that depends on other internal artifacts that must be released as a previous project compilation stage, then annotation GitRepositoryQuarkusApplication doesn't resolve those dependencies.

Example:

@GitRepositoryQuarkusApplication(repo = "https://github.com/quarkusio/quarkus-workshops.git", contextDir = "quarkus-workshop-super-heroes/super-heroes/rest-villains", branch = "3d3425a15daacf1c774cb7f5bc24228c4a623256", mavenArgs = "-Dquarkus.package.type=uber-jar -DskipTests -Dquarkus.platform.group-id=${QUARKUS_PLATFORM_GROUP-ID} -Dquarkus.platform.version=${QUARKUS_VERSION}")
    static final RestService app = new RestService()

This project quarkus-workshop-super-heroes/super-heroes/rest-villains depends on extension-version that is an internal artifact:

rest-villains pom: https://github.com/quarkusio/quarkus-workshops/blob/main/quarkus-workshop-super-heroes/super-heroes/rest-villains/pom.xml#L98

extension-version pom: https://github.com/quarkusio/quarkus-workshops/blob/main/quarkus-workshop-super-heroes/super-heroes/extension-version/pom.xml

Would be great to be able to execute some previous steps to compilation time, or at least to be able to compile the whole project even if later you are going to deploy a single module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority/low lowest priority
Projects
None yet
Development

No branches or pull requests

1 participant