mirror of https://github.com/apache/maven.git
[MNG-3760] Support property ${baseurl} to get RFC-compliant URL of project base directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@752241 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8e33ad0cef
commit
ac596e1811
|
@ -663,6 +663,11 @@ public class PomTransformer
|
|||
standardInterpolatorProperties.add( new InterpolatorProperty( "${basedir}", basedir, PomInterpolatorTag.PROJECT_PROPERTIES.name() ) );
|
||||
standardInterpolatorProperties.add( new InterpolatorProperty( "${pom.basedir}", basedir, PomInterpolatorTag.PROJECT_PROPERTIES.name() ) );
|
||||
|
||||
String baseuri = dm.getProjectDirectory().toURI().toString();
|
||||
standardInterpolatorProperties.add( new InterpolatorProperty( "${project.baseUri}", baseuri,
|
||||
PomInterpolatorTag.PROJECT_PROPERTIES.name() ) );
|
||||
standardInterpolatorProperties.add( new InterpolatorProperty( "${pom.baseUri}", baseuri,
|
||||
PomInterpolatorTag.PROJECT_PROPERTIES.name() ) );
|
||||
}
|
||||
|
||||
for ( ModelProperty mp : modelProperties )
|
||||
|
|
Loading…
Reference in New Issue