glassfish
  1. glassfish
  2. GLASSFISH-18224

Not able to deploy to maven.java.net due to invalid signature

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2_b17
    • Fix Version/s: 3.1.2_b19
    • Component/s: None
    • Labels:
      None

      Description

      An ant task is added during install phase that repackages the war artifact in the module admingui/war and it's causing invalid gpg signature when deploying to maven.java.net repo.
      -Invalid Signature: '/org/glassfish/main/admingui/war/3.1.2-b17/war-3.1.2-b17.war.asc' is not a valid signature for 'war-3.1.2-b17.war'.

      Artifacts are now signed during verify phase when deploying to maven.java.net repository.

      The fix is to change "install" phase to "packaging" phase.

        Activity

        Hide
        sirajg added a comment -

        Diffs :

        — pom.xml (revision 52204)
        +++ pom.xml (working copy)
        @@ -62,7 +62,7 @@
        <version>2.0.2</version>
        <executions>
        <execution>

        • <phase>install</phase>
          + <phase>package</phase>
          <configuration>
          <archive>
          <manifestEntries>
          @@ -79,7 +79,7 @@
          <artifactId>maven-antrun-plugin</artifactId>
          <executions>
          <execution>
        • <phase>install</phase>
          + <phase>package</phase>
          <configuration>
        Show
        sirajg added a comment - Diffs : — pom.xml (revision 52204) +++ pom.xml (working copy) @@ -62,7 +62,7 @@ <version>2.0.2</version> <executions> <execution> <phase>install</phase> + <phase>package</phase> <configuration> <archive> <manifestEntries> @@ -79,7 +79,7 @@ <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>install</phase> + <phase>package</phase> <configuration>
        Hide
        scatari added a comment -

        Approved as this is required for deployment to maven.java.net.

        Show
        scatari added a comment - Approved as this is required for deployment to maven.java.net.

          People

          • Assignee:
            sirajg
            Reporter:
            janey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: