[ https://jira.codehaus.org/browse/MJAR-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies reassigned MJAR-143: ------------------------------------- Assignee: Benson Margulies > -validity parameter for the keytool arguments > --------------------------------------------- > > Key: MJAR-143 > URL: https://jira.codehaus.org/browse/MJAR-143 > Project: Maven 2.x JAR Plugin > Issue Type: New Feature > Environment: debian > Reporter: Stéphane Masper > Assignee: Benson Margulies > > Hi Jason, > I was wondering by looking at the maven-jar-plugin source code, if it would > be possible to add the "-validity" argument for the keytool command. This > argument allow to specify a duration (a number of days) for the validity of > the generated jar. Actually, the default value is '6 months' but I would like > to increase this value as described in the keytool documentation > http://download.oracle.com/javase/6/docs/technotes/tools/windows/keytool.html > I think that I'm able to locate the part of the code to update to do that > (I'm not totally sure about the global impact), it's probably in > 'JarSignMojo.java' arount the line > "addArgIfNotEmpty( arguments, "-sigfile", this.sigfile ); > maybe that the line > addArgIfNotEmpty( arguments, "-validity", this.validity ); > would be a part of the new feature, I don't know how the pom.xml is parsed, I > guess it's maven's job..? > Thanks anyway for your reply, > Stéphane -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira