[ 
https://jira.codehaus.org/browse/MKEYTOOL-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tony Chemit closed MKEYTOOL-6.
------------------------------

       Resolution: Won't Fix
    Fix Version/s: 1.2
         Assignee: Tony Chemit

Use the clean goal before to generate a new key as proposed by Stevo Slavic.
                
> 'mvn package' twice gives an error because the keystore already exists
> ----------------------------------------------------------------------
>
>                 Key: MKEYTOOL-6
>                 URL: https://jira.codehaus.org/browse/MKEYTOOL-6
>             Project: Maven 2.x Keytool Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Frank Cornelis
>            Assignee: Tony Chemit
>             Fix For: 1.2
>
>
> I've got the keytool-maven-plugin configured as part of my build cycle, 
> making it to execute its genkey goal. The problem is that I cannot run 'mvn 
> package' twice. The second run will fail with:
> [INFO] [keytool:genkey {execution: default}]
> [INFO] keytool error: java.lang.Exception: Key pair not generated, alias 
> <SIGN> already exists
> [INFO] java.lang.Exception: Key pair not generated, alias <SIGN> already 
> exists
> Could this be fixed somehow? It would seem more logical to me if the plugin 
> would just continue without throwing an exception.

--
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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to