Skip to content

fix: propagate transitive compile deps for non-project jar dependencies#4

Open
runchen0919 wants to merge 1 commit intodevelopfrom
fix-transitive-non-project-jar
Open

fix: propagate transitive compile deps for non-project jar dependencies#4
runchen0919 wants to merge 1 commit intodevelopfrom
fix-transitive-non-project-jar

Conversation

@runchen0919
Copy link
Copy Markdown
Owner

When a direct dependency resolves as jars (not an Eclipse project), Eclipse's project-level export mechanism cannot propagate the dependency's own compile-time deps. This causes ECJ to fail resolving types in the dependency's public API (e.g., SpecificRecord for Avro-generated classes).

Load the dependency's EXPLICIT jdeps entries and add them as discouraged compile entries so ECJ can resolve the full type chain.

When a direct dependency resolves as jars (not an Eclipse project),
Eclipse's project-level export mechanism cannot propagate the
dependency's own compile-time deps. This causes ECJ to fail resolving
types in the dependency's public API (e.g., SpecificRecord for
Avro-generated classes).

Load the dependency's EXPLICIT jdeps entries and add them as
discouraged compile entries so ECJ can resolve the full type chain.
@runchen0919 runchen0919 marked this pull request as ready for review April 2, 2026 02:56
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.

1 participant