You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pl...@apache.org on 2017/07/12 08:06:48 UTC

directory-kerby git commit: DIRKRB-633 Invalid signature file digest for Manifest main attributes exception after running kinit tool

Repository: directory-kerby
Updated Branches:
  refs/heads/trunk 08129710a -> 2d03b0000


DIRKRB-633 Invalid signature file digest for Manifest main attributes exception after running kinit tool


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/2d03b000
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/2d03b000
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/2d03b000

Branch: refs/heads/trunk
Commit: 2d03b0000ac24df31c42de48b1d53e0516fe827f
Parents: 0812971
Author: plusplusjiajia <ji...@intel.com>
Authored: Wed Jul 12 16:06:14 2017 +0800
Committer: plusplusjiajia <ji...@intel.com>
Committed: Wed Jul 12 16:06:14 2017 +0800

----------------------------------------------------------------------
 kerby-kerb/kerb-client-api-all/pom.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/2d03b000/kerby-kerb/kerb-client-api-all/pom.xml
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-client-api-all/pom.xml b/kerby-kerb/kerb-client-api-all/pom.xml
index 9ad75ad..629bc2b 100644
--- a/kerby-kerb/kerb-client-api-all/pom.xml
+++ b/kerby-kerb/kerb-client-api-all/pom.xml
@@ -57,6 +57,20 @@
                       <exclude>org.apache.kerby:kerby-asn1</exclude>
                     </excludes>
                   </artifactSet>
+                  <filters>
+                    <filter>
+                      <!--
+                          Shading signed JARs will fail without this.
+                          http://stackoverflow.com/questions/999489/invalid-signature-file-when-attempting-to-run-a-jar
+                      -->
+                      <artifact>*:*</artifact>
+                      <excludes>
+                        <exclude>META-INF/*.SF</exclude>
+                        <exclude>META-INF/*.DSA</exclude>
+                        <exclude>META-INF/*.RSA</exclude>
+                      </excludes>
+                    </filter>
+                  </filters>
                 </configuration>
               </execution>
             </executions>