Skip to content

Commit

Permalink
Correct path to build plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Jan 16, 2021
1 parent f6a8ecc commit 5e3cdc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ protected void doApply(Plugin.Engine.Source source, Plugin.Engine.Target target)
}
List<Transformation> transformations = new ArrayList<Transformation>(getTransformations());
if (isDiscover()) {
Enumeration<URL> plugins = getClass().getClassLoader().getResources("/META-INF/net.bytebuddy/build.plugins");
Enumeration<URL> plugins = getClass().getClassLoader().getResources("META-INF/net.bytebuddy/build.plugins");
while (plugins.hasMoreElements()) {
BufferedReader reader = new BufferedReader(new InputStreamReader(plugins.nextElement().openStream(), "UTF-8"));
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
: new ArrayList<Transformation>(this.transformations);
if (discover) {
try {
Enumeration<URL> plugins = getClass().getClassLoader().getResources("/META-INF/net.bytebuddy/build.plugins");
Enumeration<URL> plugins = getClass().getClassLoader().getResources("META-INF/net.bytebuddy/build.plugins");
while (plugins.hasMoreElements()) {
BufferedReader reader = new BufferedReader(new InputStreamReader(plugins.nextElement().openStream(), "UTF-8"));
try {
Expand Down

0 comments on commit 5e3cdc7

Please sign in to comment.