mirror of https://github.com/apache/maven.git
o Fixed IT plugin to create missing parent directories of output file
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@721543 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0718730270
commit
19d3d90c50
|
@ -48,7 +48,9 @@ public class UsesPropertiesMojo
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
FileOutputStream fos = new FileOutputStream( new File( basedir, "target/project.properties" ) );
|
File file = new File( basedir, "target/project.properties" );
|
||||||
|
file.getParentFile().mkdirs();
|
||||||
|
FileOutputStream fos = new FileOutputStream( file );
|
||||||
|
|
||||||
properties.store( fos, "# Properties generated by the execution of a mojo that uses interpolated POM values for configuration." );
|
properties.store( fos, "# Properties generated by the execution of a mojo that uses interpolated POM values for configuration." );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue