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
Hide
Permalink
Frank Sigalas added a comment - 04/Apr/12 11:21 AM

Perhaps there was a misunderstanding from my side. Maybe options -provider, -storetype and -providerpath are not supported yet.

Please verify this assumption in order to close the ticket.

Show
Frank Sigalas added a comment - 04/Apr/12 11:21 AM Perhaps there was a misunderstanding from my side. Maybe options -provider, -storetype and -providerpath are not supported yet. Please verify this assumption in order to close the ticket.
Hide
Permalink
Tony Chemit added a comment - 08/Apr/12 5:49 AM - edited

You should now use the importCertificate mojo to have all parameters of the keytool command availablein the mojo.

Show
Tony Chemit added a comment - 08/Apr/12 5:49 AM - edited You should now use the importCertificate mojo to have all parameters of the keytool command availablein the mojo.
Hide
Permalink
Tony Chemit added a comment - 08/Apr/12 6:15 AM

Using the new mojo importCertificate will solve the problem as there is now all parameters available in the dedicated mojo.

Show
Tony Chemit added a comment - 08/Apr/12 6:15 AM Using the new mojo importCertificate will solve the problem as there is now all parameters available in the dedicated mojo.

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.