getProject().log(this, "Copied file " + targetFile, Project.MSG_INFO);
}
private void writeChecksum(File srcFile, File targetFile) {
Checksum checksum = new Checksum();
checksum.setProject(getProject());
checksum.setAlgorithm("SHA1");
checksum.setFile(srcFile);
String property = MavenPublishTask.class.getName()+".checksum.property."+srcFile.getAbsolutePath();
checksum.setProperty(property);
checksum.execute();
Echo echo = new Echo();
echo.setProject(getProject());
File checksumFile = new File(targetFile.getParentFile(), targetFile.getName()+".sha1");