mirror of
https://github.com/apache/maven.git
synced 2025-03-07 00:59:51 +00:00
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 File getPomFile()
|
||||
|
||||
public DefaultModelBuildingRequest setPomFile( File pomFile )
|
||||
{
|
||||
this.pomFile = pomFile;
|
||||
this.pomFile = ( pomFile != null ) ? pomFile.getAbsoluteFile() : null;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ public FileModelSource( File pomFile )
|
||||
{
|
||||
throw new IllegalArgumentException( "no POM file specified" );
|
||||
}
|
||||
this.pomFile = pomFile;
|
||||
this.pomFile = pomFile.getAbsoluteFile();
|
||||
}
|
||||
|
||||
public InputStream getInputStream()
|
||||
|
@ -589,7 +589,7 @@
|
||||
|
||||
public void setPomFile( java.io.File pomFile )
|
||||
{
|
||||
this.pomFile = pomFile;
|
||||
this.pomFile = ( pomFile != null ) ? pomFile.getAbsoluteFile() : null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user