Commit 4d721d5b authored by David Trott's avatar David Trott

Fix to resolve issue with install's without a clean.

parent d8af6a73
......@@ -105,6 +105,10 @@ abstract class AbstractThriftMojo extends AbstractMojo {
temporaryThriftFileDirectory, getDependencyArtifactFiles());
final File outputDirectory = getOutputDirectory();
outputDirectory.mkdirs();
// Quick fix to fix issues with two mvn installs in a row (ie no clean)
cleanDirectory(outputDirectory);
Thrift thrift =
new Thrift.Builder(thriftExecutable, outputDirectory)
.addThriftPathElement(thriftSourceRoot)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment