Skip to content

Commit 9a3b1e2

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix/field-use-defs
2 parents 6eef5b2 + 246874f commit 9a3b1e2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/org/rascalmpl/uri/file/MavenRepositoryURIResolver.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ private static ISourceLocation inferMavenRepositoryLocation() throws URISyntaxEx
8989
}
9090

9191
/**
92-
* @param input mvn://groupid!artifactId!version/path
92+
* @param input mvn://groupid--artifactId--version/path
9393
* @return a file:/// reference to the jar file that is designated by the authority.
9494
* @throws IOException when the authority does not designate a jar file
9595
*/
9696
private ISourceLocation resolveJar(ISourceLocation input) throws IOException {
9797
String authority = input.getAuthority();
9898

9999
if (authority.isEmpty()) {
100-
throw new IOException("missing mvn://groupid!artifactId!version/ as the authority in " + input);
100+
throw new IOException("missing mvn://groupid--artifactId--version/ as the authority in " + input);
101101
}
102102

103103
var parts = authority.split(GROUP_ARTIFACT_VERSION_SEPARATOR);
@@ -124,7 +124,7 @@ private ISourceLocation resolveJar(ISourceLocation input) throws IOException {
124124
return URIUtil.getChildLocation(root, jarPath);
125125
}
126126
else {
127-
throw new IOException("Pattern mvn:///groupId!artifactId!version did not match on " + input);
127+
throw new IOException("Pattern mvn://groupId--artifactId--version did not match on " + input);
128128
}
129129
}
130130

0 commit comments

Comments
 (0)