Skip to content

Commit

Permalink
Support older versions of echarts-api
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Apr 30, 2022
1 parent 1422ac2 commit 5d699ab
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,11 @@ public void execute() throws MojoExecutionException {
upperBounds.remove("javax.servlet:servlet-api");
}

// This is a hack to support older versions of echarts-api.
if (upperBounds.containsKey("com.google.code.findbugs:annotations")) {
upperBounds.remove("com.google.code.findbugs:annotations");
}

applyOverrides(upperBounds, Collections.emptyMap(), shadow, getLog());
}
}
Expand Down

0 comments on commit 5d699ab

Please sign in to comment.