mirror of https://github.com/apache/maven.git
o Fixed handling of releative paths
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830357 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
32d6c8699e
commit
30ef86e916
|
@ -72,7 +72,7 @@ public class DefaultModelBuildingRequest
|
||||||
|
|
||||||
public DefaultModelBuildingRequest setPomFile( File pomFile )
|
public DefaultModelBuildingRequest setPomFile( File pomFile )
|
||||||
{
|
{
|
||||||
this.pomFile = pomFile;
|
this.pomFile = ( pomFile != null ) ? pomFile.getAbsoluteFile() : null;
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@ public class FileModelSource
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException( "no POM file specified" );
|
throw new IllegalArgumentException( "no POM file specified" );
|
||||||
}
|
}
|
||||||
this.pomFile = pomFile;
|
this.pomFile = pomFile.getAbsoluteFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
public InputStream getInputStream()
|
public InputStream getInputStream()
|
||||||
|
|
|
@ -589,7 +589,7 @@
|
||||||
|
|
||||||
public void setPomFile( java.io.File pomFile )
|
public void setPomFile( java.io.File pomFile )
|
||||||
{
|
{
|
||||||
this.pomFile = pomFile;
|
this.pomFile = ( pomFile != null ) ? pomFile.getAbsoluteFile() : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue