Skip to content

Commit

Permalink
Improve error message for userdev dependencies (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Apr 5, 2024
1 parent e582225 commit 97ad49c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ abstract class ModuleIdentificationVisitor implements FileVisitor {
if (!matcher.find()) {
matcher = MAVEN_LOCAL_PATTERN.matcher(absolutePath);
if (!matcher.find()) {
throw new IllegalStateException("The file " + file + " is not either a remove dependency or a maven local dependency!");
throw new IllegalStateException("Cannot determine the GAV of " + file + ", since it is neither a remote nor a Maven local dependency!");
}
}

Expand Down

0 comments on commit 97ad49c

Please sign in to comment.