mirror of https://github.com/apache/maven.git
o formatting and note on where special properties should be injected.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be02d72fe6
commit
260db144b1
|
@ -408,6 +408,9 @@ public class DefaultMavenProjectBuilder
|
|||
String projectId = safeVersionlessKey( model.getGroupId(), model.getArtifactId() );
|
||||
|
||||
Properties props = new Properties( config.getExecutionProperties() );
|
||||
|
||||
//TODO: this magical property should not be placed in here in the middle of the project builder. move somewhere out to
|
||||
// the front-end where they can all be collected.
|
||||
if ( config.getBuildStartTime() != null )
|
||||
{
|
||||
props.put( "${build.timestamp}", new SimpleDateFormat( "yyyyMMdd-hhmm" ).format( config.getBuildStartTime() ) );
|
||||
|
@ -423,7 +426,6 @@ public class DefaultMavenProjectBuilder
|
|||
}
|
||||
|
||||
return model;
|
||||
|
||||
}
|
||||
|
||||
private MavenProject fromDomainModelToMavenProject(Model model, File parentFile, ProjectBuilderConfiguration config, File projectDescriptor)
|
||||
|
|
Loading…
Reference in New Issue