Oracle Weblogic Server (MOSC)

MOSC Banner

Invalid signature file digest for Manifest main attributes

edited Apr 17, 2014 12:00PM in Oracle Weblogic Server (MOSC) 2 commentsAnswered

Hi,

I am trying to build our project using maven. I have included multiple dependency jars in pom.xml and I am trying to build distribution jar using assembly:assembly goal. The command "mvn assembly:assembly" resulted in the below error.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:assembly (default-cli) on project my-plugin: Execution default-cli of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:assembly failed: Invalid signature file digest for Manifest main attributes -> [Help 1]

The presence of OvmClient.jar was causing this issue. This is a signed jar having the files ORACLE_C.SF and ORACLE_C.RSA which seems to provide the signature for the jar. I tried commenting/removing the jar in dependencies and mvn assembly:assembly command worked fine. To make it work with this particular  jar as it is needed, I tried by adding excludes in dependency, assembly and even shade plugin configuration in pom.xml to exclude METAINF/ORACLE_C.SF and .RSA files of that jar as shown below, but still the same error exists.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center