mirror of https://github.com/apache/maven.git
Create parent directories before write exportedpom.xml file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209027 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e57cac7fc9
commit
22c7243746
|
@ -278,7 +278,11 @@ public class MavenArchiver
|
|||
{
|
||||
String buildDirectory = project.getBuild().getDirectory();
|
||||
|
||||
File fullPom = new File( buildDirectory, "exported-pom.xml" );
|
||||
File buildDirectoryFile = new File( buildDirectory );
|
||||
|
||||
buildDirectoryFile.mkdirs();
|
||||
|
||||
File fullPom = new File( buildDirectoryFile, "exported-pom.xml" );
|
||||
|
||||
FileWriter fWriter = null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue