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

fix: exclude project maven dependencies from isolated class loader #20523

Merged
merged 4 commits into from
Nov 21, 2024

Conversation

mcollovati
Copy link
Collaborator

If the user project depends directly or transitively from maven artifacts mojos can fail at runtime because of Maven API loaded from both isolated class loader and maven.api realm.
This change prevents maven artifacts to be added to the isolated class loader.

If the user project depends directly or transitively from maven artifacts
mojos can fail at runtime because of Maven API loaded from both isolated
class loader and maven.api realm.
This change prevents maven artifacts to be added to the isolated class loader.
Copy link

github-actions bot commented Nov 20, 2024

Test Results

1 158 files  ± 0  1 158 suites  ±0   1h 37m 7s ⏱️ + 2m 54s
7 510 tests ± 0  7 457 ✅ ± 0  53 💤 ±0  0 ❌ ±0 
7 853 runs   - 28  7 790 ✅  - 28  63 💤 ±0  0 ❌ ±0 

Results for commit 352bfad. ± Comparison against base commit 9e80eb8.

♻️ This comment has been updated with latest results.

caalador
caalador previously approved these changes Nov 21, 2024
Copy link

sonarcloud bot commented Nov 21, 2024

@mcollovati mcollovati merged commit a855d25 into main Nov 21, 2024
26 checks passed
@mcollovati mcollovati deleted the fix/ignore-maven-deps-from-project branch November 21, 2024 10:13
vaadin-bot pushed a commit that referenced this pull request Nov 21, 2024
…20523)

If the user project directly or transitively depends on maven artifacts,
mojos can fail at runtime because of Maven API loaded from both isolated
class loader and maven.api realm.
This change prevents maven artifacts from being added to the isolated class loader.
vaadin-bot pushed a commit that referenced this pull request Nov 21, 2024
…20523)

If the user project directly or transitively depends on maven artifacts,
mojos can fail at runtime because of Maven API loaded from both isolated
class loader and maven.api realm.
This change prevents maven artifacts from being added to the isolated class loader.
vaadin-bot added a commit that referenced this pull request Nov 21, 2024
…20523) (#20529)

If the user project directly or transitively depends on maven artifacts,
mojos can fail at runtime because of Maven API loaded from both isolated
class loader and maven.api realm.
This change prevents maven artifacts from being added to the isolated class loader.

Co-authored-by: Marco Collovati <[email protected]>
vaadin-bot added a commit that referenced this pull request Nov 21, 2024
…20523) (#20530)

If the user project directly or transitively depends on maven artifacts,
mojos can fail at runtime because of Maven API loaded from both isolated
class loader and maven.api realm.
This change prevents maven artifacts from being added to the isolated class loader.

Co-authored-by: Marco Collovati <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

4 participants