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

Backport Target platform resolved multiple times #2068

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ As such, these two options have been re-introduced for Tycho 3.0.2 and are no lo
- Provide a "verify-pom-resolves" mojo #1451
- JUnit 5.9 support in Tycho 3.0.x #1943
- Consumer-POM should use packaging-type jar instead of eclipse-plugin #2005
- Mirroring of packed artifacts must be disabled
- Mirroring of packed artifacts must be disabled
- Target platform resolved multiple times

## 3.0.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ public static TargetDefinitionFile read(File file) {

public static TargetDefinitionFile read(URI uri) {
try {
return FILE_CACHE.computeIfAbsent(uri, key -> {
return FILE_CACHE.computeIfAbsent(uri.normalize(), key -> {
try {
try (InputStream input = uri.toURL().openStream()) {
return parse(parseDocument(input), uri.toASCIIString());
Expand Down