diff --git a/byte-buddy-maven-plugin/src/main/java/net/bytebuddy/build/maven/ByteBuddyMojo.java b/byte-buddy-maven-plugin/src/main/java/net/bytebuddy/build/maven/ByteBuddyMojo.java index c9bec821b1..58241ea414 100644 --- a/byte-buddy-maven-plugin/src/main/java/net/bytebuddy/build/maven/ByteBuddyMojo.java +++ b/byte-buddy-maven-plugin/src/main/java/net/bytebuddy/build/maven/ByteBuddyMojo.java @@ -231,6 +231,7 @@ public abstract class ByteBuddyMojo extends AbstractMojo { /** * {@inheritDoc} */ + @SuppressFBWarnings(value = "DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED", justification = "The security manager is not normally used within Maven.") public void execute() throws MojoExecutionException, MojoFailureException { if (project == null || repositorySystem == null || discovery == null) { throw new MojoExecutionException("Plugin is not initialized correctly"); @@ -1225,7 +1226,7 @@ protected FromClassLoader(String plugin, List classPath) { } @Override - @SuppressFBWarnings(value = "DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED", justification = "The security manager is not normally used within Maven") + @SuppressFBWarnings(value = "DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED", justification = "The security manager is not normally used within Maven.") protected ClassLoader toClassLoader(ClassLoaderResolver classLoaderResolver, Map coordinates, String groupId, String artifactId, String version, String packaging) { URL[] url = new URL[classPath.size()]; for (int index = 0; index < classPath.size(); index++) {