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

          Activity

          Hide
          Frank Sigalas added a comment -

          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 - 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
          Tony Chemit added a comment - - 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 - - edited You should now use the importCertificate mojo to have all parameters of the keytool command availablein the mojo.
          Hide
          Tony Chemit added a comment -

          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 - 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
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: