Details
Description
When running mvn clean verify on hippo-cms-translations the following exception it thrown
[ERROR] Failed to execute goal org.onehippo.cms.l10n:hippo-cms-l10n-maven-plugin:1.0.4-SNAPSHOT:generate-yaml (generate-yaml) on project hippo-cms-l10n: hippo-cms-translations\hippo-cms\target\classes\de\builtin-workflow-translations_de.json: The process cannot access the file because it is being used by another process. -> [Help 1]
Caused by: java.nio.file.FileSystemException: C:\dev\projects\hippo-cms-translations\hippo-cms\target\classes\de\builtin-workflow-translations_de.json: The process cannot access the file because it is being used by another process.
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
at java.nio.file.Files.deleteIfExists(Files.java:1165)
at org.onehippo.cm.migration.Esv2Yaml.handleFsResource(Esv2Yaml.java:337)
at org.onehippo.cm.migration.Esv2Yaml.convert(Esv2Yaml.java:292)
at org.onehippo.cm.migration.Esv2Yaml.main(Esv2Yaml.java:119)
at org.onehippo.cm.migration.YamlConverter.convertProject(YamlConverter.java:32)
at org.onehippo.cms.l10n.GenerateYamlMojo.execute(GenerateYamlMojo.java:70)
... 22 more
[