}
}
BuildInfoEmitter emitter =
new ChainingBuildInfoEmitter(
new VersionClassBasedBuildInfoEmitter(outputPackage, outputDirectory, versionClassName));
getLog().info("QuickTag plugin is running.");
buildTime = Utils.getTimestampString();
getLog().info("Build timestamp: " + buildTime);
getLog().info("Gathering information quicktag can create itself...");
SelfGeneratedBuildInfo quicktagInfo = gatherQuicktagBuildInfo(getLog());
getLog().info("Gathering information from maven...");
MavenBuildInfo mavenInfo = gatherMavenBuildInfo(getLog());
BuildServerBuildInfo buildServerInfo = null;
if (buildServerInfoGatherer != null){
getLog().info("Gathering information from build server...");
buildServerInfo= buildServerInfoGatherer.gatherBuildServerInfo(getLog());
}
getLog().info("Now writing build information...");
emitter.writeBuildInformation(getLog(), buildServerInfo, vcsInfo, mavenInfo, quicktagInfo);
getLog().debug("Quicktag plugin finished execution.");
}