jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x Keytool Plugin
  • Maven 2.x Keytool Plugin
  • MKEYTOOL-17

keytool arguments cause failure

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1
  • Fix Version/s: 1.2
  • Labels:
    None
  • Environment:
    Windows 7
  • Number of attachments :
    0

Description

When specifying arguments in the plugin configuration, e.g.

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>keytool-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<alias>my-alias</alias>
<keystore>$

{project.build.directory}

/my-keystore</keystore>
<storepass>mypasswd</storepass>
<file>$

{basedir}

/src/main/resources/META-INF/mycert.crt</file>
<arguments>
<argument>-provider org.bouncycastle.jce.provider.BouncyCastleProvider</argument>
<argument>-storetype BKS</argument>
<argument>-providerpath <provider_path></argument>
</arguments>
</configuration>
</plugin>

the import command fails because the additional arguments -provider, -storetype and -providerpath are enclosed in double quotes.

It has only been tested in Windows 7.

Issue Links

is related to

New Feature - A new feature of the product, which has yet to be developed. MKEYTOOL-19 Introduce new mojos to perform all missing keytool commands

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Improvement - An improvement or enhancement to an existing feature or task. MKEYTOOL-20 Deprecates old mojo

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Tony Chemit made changes - 07/Apr/12 11:24 AM
Field Original Value New Value
Assignee Tony Chemit [ tchemit ]
Tony Chemit made changes - 08/Apr/12 5:49 AM
Link This issue is related to MKEYTOOL-19 [ MKEYTOOL-19 ]
Tony Chemit made changes - 08/Apr/12 5:49 AM
Comment [ About the storetype, there is already a parameter to pass it. (see http://mojo.codehaus.org/keytool/keytool-maven-plugin/import-mojo.html#storetype).

About others parameters, I will add them to the mojo (and all others available for this keytool command):

- providername
- providerclass
- providerpath
- providerarg
- noprompt
- trustcacerts
- passwordProtected ]
Tony Chemit made changes - 08/Apr/12 5:53 AM
Comment [ Done in r16255.

I have deployed a snapshot of the version 1.2-SNAPSHOT,you can test if it is ok for you.

Thanks. ]
Tony Chemit made changes - 08/Apr/12 6:02 AM
Link This issue is related to MKEYTOOL-20 [ MKEYTOOL-20 ]
Tony Chemit made changes - 08/Apr/12 6:15 AM
Status Open [ 1 ] Closed [ 6 ]
Fix Version/s 1.2 [ 18413 ]
Resolution Fixed [ 1 ]

People

  • Assignee:
    Tony Chemit
    Reporter:
    Frank Sigalas
Vote (0)
Watch (0)

Dates

  • Created:
    04/Apr/12 10:46 AM
    Updated:
    08/Apr/12 6:15 AM
    Resolved:
    08/Apr/12 6:15 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.