Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-304

Create a API for java tool

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-shared-utils-0.4
    • maven-shared-utils-0.5
    • None
    • None

    Description

      While using the commandline API to invoke java tool (jarsigner, keytool, javadoc), we always write the same boilerplate code:

      • find the java tool executable location
      • build a new command line
      • invoke it and deal with invocation errors
      • ...

      Let's have a simple API for this! As a first improvement then let's add to it also the support for toolchain (asked in maven-jarsigner-plugin).

      I will put the code in package org.apache.maven.shared.utils.cli.javatool.

      Attachments

        Issue Links

          Activity

            People

              tchemit Tony Chemit
              tchemit Tony Chemit
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: