Maven Jar Signer Plugin
  1. Maven Jar Signer Plugin
  2. MJARSIGNER-19

Make mojo code reusable from another mojo + customize the working directory.

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      2

      Description

      In the webstart-maven-plugin We used the old jarsigner mojo (from the jar plugin).

      We'd like to use now this plugin as the mojo from the jar plugin is deprecated for this one (see MWEBSTART-149)

      Moreover, we want to use yet another working directory and at the moment in the mojo this is hardcoed to project.getBasedir().

      Here is a patch which fix our needs.

      Hope this patch will be apply soon, I would really like to use your mojo

      Thanks for your work.

      1. create-jarsigner-sharedcomponent.diff
        61 kB
        Tony Chemit
      2. MJARSIGNER-19.patch
        7 kB
        Tony Chemit

        Issue Links

          Activity

          Hide
          Christian Schulte added a comment -

          Due to MJARSIGNER-18, class JarSignerUtil may need to provide an 'isSigned( java.io.File jar )' method which scans an archive for any signature files to exist.

          Show
          Christian Schulte added a comment - Due to MJARSIGNER-18 , class JarSignerUtil may need to provide an 'isSigned( java.io.File jar )' method which scans an archive for any signature files to exist.
          Hide
          Christian Schulte added a comment -

          http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6870812
          http://hg.openjdk.java.net/jdk7/tl/jdk/rev/0d7c64c023c6

          Method 'JarSignerUtil.isSignatureFile( String entryName )' may need to also account for files ending in '.EC'.

          Show
          Christian Schulte added a comment - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6870812 http://hg.openjdk.java.net/jdk7/tl/jdk/rev/0d7c64c023c6 Method 'JarSignerUtil.isSignatureFile( String entryName )' may need to also account for files ending in '.EC'.
          Hide
          Olivier Lamy added a comment -

          code imported in r1190297.
          I leave it open as I prefer to have a real external component located in : http://svn.apache.org/repos/asf/maven/shared/trunk/ maven-jarsigner in order to have release cycle different from the plugin.

          Show
          Olivier Lamy added a comment - code imported in r1190297. I leave it open as I prefer to have a real external component located in : http://svn.apache.org/repos/asf/maven/shared/trunk/ maven-jarsigner in order to have release cycle different from the plugin.
          Hide
          Olivier Lamy added a comment -

          so all done.
          Have fun

          Show
          Olivier Lamy added a comment - so all done. Have fun
          Hide
          Tony Chemit added a comment -

          Olivier is the Guy Thanks.

          Show
          Tony Chemit added a comment - Olivier is the Guy Thanks.

            People

            • Assignee:
              Olivier Lamy
              Reporter:
              Tony Chemit
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: