You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dev mode "sees" duplicate classes when there is a dependency with a classifer that is produced by a workspace module.
E.g.
module B depends on module A
module A also produces a "secondary" artifact with a classifier, containing e.g. test-support mocks for interfaces A depends on
module B also depends on module A's secondary artifact, e.g. via a Maven profile
the secondary module A artifact does not include all/any of the classes from src/main/java (let's assume for simplicity that it only contains a single class from src/test/java)
With such a setup, dev mode in module B will:
produce many warnings w.r.t split packages
fail with ambiguous bean errors
Both effects are very unexpected because the secondary artifact of A does not contain any such duplicates or conflicts.
Expected behavior
No warning or error, dev mode should run just fine
Actual behavior
Dev mode breaks with ArC errors
How to Reproduce?
None yet, @aloubyansky mentioned on Zulip that he'll create one.
Output of uname -a or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.4.1.Final
Build tool (ie. output of mvnw --version or gradlew --version)
Apache Maven 3.8.1
Additional information
This is probably a problem in how the jandex index is built in this case.
Describe the bug
Dev mode "sees" duplicate classes when there is a dependency with a classifer that is produced by a workspace module.
E.g.
With such a setup, dev mode in module B will:
Both effects are very unexpected because the secondary artifact of A does not contain any such duplicates or conflicts.
Expected behavior
No warning or error, dev mode should run just fine
Actual behavior
Dev mode breaks with ArC errors
How to Reproduce?
None yet, @aloubyansky mentioned on Zulip that he'll create one.
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.4.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1
Additional information
This is probably a problem in how the jandex index is built in this case.
This issue seems similar to #19030.
Discussed here: https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/bootstrap.20refactoring/near/260381333
The text was updated successfully, but these errors were encountered: