diff --git a/src/main/java/com/jcabi/mysql/maven/plugin/Instances.java b/src/main/java/com/jcabi/mysql/maven/plugin/Instances.java index 2be6ac2..785b06f 100644 --- a/src/main/java/com/jcabi/mysql/maven/plugin/Instances.java +++ b/src/main/java/com/jcabi/mysql/maven/plugin/Instances.java @@ -256,8 +256,10 @@ private File prepareFolders(final File target) throws IOException { private File data(final File dist, final File target) throws IOException { final File dir = new File(target, DATA_SUB_DIR); if (!dir.exists()) { - final File support = new File(dist, "support-files"); - final File cnf = new File(support, "my-default.cnf"); + final File cnf = new File( + new File(dist, "support-files"), + "my-default.cnf" + ); FileUtils.writeStringToFile( cnf, "[mysql]\n# no defaults..."