maven 生成jar pom sha1
上一篇 /
下一篇 2007-08-03 10:18:36
/ 个人分类:maven
build.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project name="tyy" default="checksum">
<target name="checksum" descrīption="Generate checksum file for jar and pom">
<checksum algorithm="SHA" fileext=".sha1">
<fileset dir="d:/temp/test" id="id">
<include name="**/*.pom" />
<include name="**/*.jar" />
<include name="**/*.xml" />
<exclude name="**/*.sh1" />
</fileset>
</checksum>
</target>
</project>
;pom.xml
<?xml version="1.0" encoding="UTF-8"?><project>
<modelVersion>4.0.0</modelVersion>
<groupId>crsapi</groupId>
<artifactId>crsapi</artifactId>
<version>1.3</version>
<descrīption>Auto generated POM</descrīption>
</project>
通过运行以上的build.xml,可以生成jar和pom和加密文件sha1
收藏
举报
TAG:
maven