o Properly tracked input source location for all types of model sources

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1041651 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2010-12-02 23:47:21 +00:00
parent d79293e61e
commit 142b1ed1e9
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ private Model readModel( ModelSource modelSource, File pomFile, ModelBuildingReq
if ( source != null )
{
source.setModelId( ModelProblemUtils.toId( model ) );
source.setLocation( pomFile != null ? pomFile.getAbsolutePath() : null );
source.setLocation( modelSource.getLocation() );
}
}
catch ( ModelParseException e )