Make NBM signable (task 76460).

Sign it by creating your own key in the default keystore location
with Java's keytool, and then passing -Dstorepass=whatever to ant.
Then publish your certificate signature on the website -- or, even
better, sign your certificate with a chain of trust ending in an
official CA, so that people won't have to furrow their eyebrows
about anything ... but then, that costs money :). Ideally we should
have a CA-signed certificate for PMD with which we would sign the
personal key of whoever makes the build -- but of course the key
of that certificate would have to be "closed-source" :)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1969 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Gunnlaugur Thor Briem
2003-06-15 11:39:36 +00:00
parent cdc0431244
commit 8870b42046
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,4 @@
- The NBM module can now be built signed with someone's key (task 76460)
- Display progress in a dialog and allow cancel (Feature Request 687119)
- Let modules register extra rulesets (Radim Kubacki's patch 690601, thanks!)
- Made rule properties editable, finally :), completing task 75427.

View File

@ -1,6 +1,8 @@
<project basedir="." default="nbm" name="PMD netbeans module">
<property name="pmd.jar" value="pmd-1.05.jar"/>
<property name="keystore" value="${user.home}/.keystore"/>
<property name="storepass" value="?"/>
<target description="Compiles all java files and copies property files to the classes dir" name="compile">
<mkdir dir="build/classes"/>
@ -57,6 +59,7 @@
<text>CHANGES</text>
<file location="CHANGES.txt"/>
</notification>
<signature keystore="${keystore}" storepass="${storepass}" alias="pmdkey"/>
</makenbm>
</target>
<target depends="clean, nbm" description="Builds the distribution" name="distribution">