Re: Invalid signature file digest for Manifest main attributes

2014-03-06 Thread Ron Wheeler

I just had a similar problem.
I used the shade plugin with the following exclusion filter and it worked.
Without the exclusion, I had .RSA and .DSA files in the resulting 
assembly and with the exclusions, they were omitted.


You notice that my filter applies to *:*   You might want to try that to 
see if your  specification is not being interpreted as you wish.





*:*

META-INF/*.SF
META-INF/*.DSA
META-INF/*.RSA





Ron


On 06/03/2014 12:34 PM, Venkata Suresh Kumar Pamidipati wrote:

Hi Ron,

In the assembly distribution jar, only file present was MANIFEST.MF and there 
were no other files. But the jar created from packaging has the .SF and .RSA 
files which indicates that exclude configuration did not work. The dependency 
jar which I have mentioned in pom.xml is a signed jar and has these .SF and 
.RSA files.

Thanks,
Suresh


- Original Message -
From: rwhee...@artifact-software.com
To: users@maven.apache.org
Sent: Thursday, March 6, 2014 6:50:33 PM GMT +05:30 Chennai, Kolkata, Mumbai, 
New Delhi
Subject: Re: Invalid signature file digest for Manifest main attributes

Look in the jar that the assembly created to see if the excludes
actually worked.

Ron

On 06/03/2014 8:09 AM, Martin Gainty wrote:

Hi Suresh

   


Your best solution will come from  Oracle Support India
They are supposed to know this information and will be able to assist you with 
your problem
Oracle India Support Line number is +91.22.66796200
If  Oracle India is unable to assist you ..we can find a resource on this side 
of the planet to help you


Warm Regards







Date: Wed, 5 Mar 2014 19:19:44 -0800
From: suresh.pamidip...@oracle.com
To: users@maven.apache.org
Subject: Invalid signature file digest for Manifest main attributes

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]

Two of the dependency jars when present together was causing this issue. I 
tried commenting one of them and mvn assembly:assembly command worked fine. To 
make it work with both the jars present together, I tried by adding excludes in 
dependency, assembly and even shade plugin configuration in pom.xml to exclude 
MANIFEST files of one of those two jars as shown below, but still the same 
error exists.




MyJar1:MyJar1

META-INF/*.SF
META-INF/*.DSA
META-INF/*.RSA





Please let me know how to resolve this error. I am not sure if the exclude 
statements were being ignored or I am missing some thing here. Any information 
on this will be really helpful.

Thanks & Regards,
Suresh


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org








--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Invalid signature file digest for Manifest main attributes

2014-03-06 Thread Venkata Suresh Kumar Pamidipati
Hi Ron,

In the assembly distribution jar, only file present was MANIFEST.MF and there 
were no other files. But the jar created from packaging has the .SF and .RSA 
files which indicates that exclude configuration did not work. The dependency 
jar which I have mentioned in pom.xml is a signed jar and has these .SF and 
.RSA files.

Thanks,
Suresh


- Original Message -
From: rwhee...@artifact-software.com
To: users@maven.apache.org
Sent: Thursday, March 6, 2014 6:50:33 PM GMT +05:30 Chennai, Kolkata, Mumbai, 
New Delhi
Subject: Re: Invalid signature file digest for Manifest main attributes

Look in the jar that the assembly created to see if the excludes 
actually worked.

Ron

On 06/03/2014 8:09 AM, Martin Gainty wrote:
> Hi Suresh
>
>   
>
> Your best solution will come from  Oracle Support India
> They are supposed to know this information and will be able to assist you 
> with your problem
> Oracle India Support Line number is +91.22.66796200
> If  Oracle India is unable to assist you ..we can find a resource on this 
> side of the planet to help you
>
>
> Warm Regards
>
>
>
>
>
>> Date: Wed, 5 Mar 2014 19:19:44 -0800
>> From: suresh.pamidip...@oracle.com
>> To: users@maven.apache.org
>> Subject: Invalid signature file digest for Manifest main attributes
>>
>> 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]
>>
>> Two of the dependency jars when present together was causing this issue. I 
>> tried commenting one of them and mvn assembly:assembly command worked fine. 
>> To make it work with both the jars present together, I tried by adding 
>> excludes in dependency, assembly and even shade plugin configuration in 
>> pom.xml to exclude MANIFEST files of one of those two jars as shown below, 
>> but still the same error exists.
>>
>> 
>> 
>> 
>> MyJar1:MyJar1
>> 
>> META-INF/*.SF
>> META-INF/*.DSA
>> META-INF/*.RSA
>> 
>> 
>> 
>> 
>>
>> Please let me know how to resolve this error. I am not sure if the exclude 
>> statements were being ignored or I am missing some thing here. Any 
>> information on this will be really helpful.
>>
>> Thanks & Regards,
>> Suresh
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>   


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Invalid signature file digest for Manifest main attributes

2014-03-06 Thread Venkata Suresh Kumar Pamidipati
Hi mgainty,

Thanks for the response and information. I will contact the number given below.

Thanks & Regards,
Suresh


- Original Message -
From: mgai...@hotmail.com
To: users@maven.apache.org, suresh.pamidip...@oracle.com
Sent: Thursday, March 6, 2014 6:39:54 PM GMT +05:30 Chennai, Kolkata, Mumbai, 
New Delhi
Subject: RE: Invalid signature file digest for Manifest main attributes

Hi Suresh

 

Your best solution will come from  Oracle Support India
They are supposed to know this information and will be able to assist you with 
your problem
Oracle India Support Line number is +91.22.66796200 
If  Oracle India is unable to assist you ..we can find a resource on this side 
of the planet to help you


Warm Regards

  



> Date: Wed, 5 Mar 2014 19:19:44 -0800
> From: suresh.pamidip...@oracle.com
> To: users@maven.apache.org
> Subject: Invalid signature file digest for Manifest main attributes
> 
> 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]
> 
> Two of the dependency jars when present together was causing this issue. I 
> tried commenting one of them and mvn assembly:assembly command worked fine. 
> To make it work with both the jars present together, I tried by adding 
> excludes in dependency, assembly and even shade plugin configuration in 
> pom.xml to exclude MANIFEST files of one of those two jars as shown below, 
> but still the same error exists.
> 
> 
> 
> 
> MyJar1:MyJar1
> 
> META-INF/*.SF
> META-INF/*.DSA
> META-INF/*.RSA
> 
> 
> 
> 
> 
> Please let me know how to resolve this error. I am not sure if the exclude 
> statements were being ignored or I am missing some thing here. Any 
> information on this will be really helpful.
> 
> Thanks & Regards,
> Suresh
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Invalid signature file digest for Manifest main attributes

2014-03-06 Thread Ron Wheeler
Look in the jar that the assembly created to see if the excludes 
actually worked.


Ron

On 06/03/2014 8:09 AM, Martin Gainty wrote:

Hi Suresh

  


Your best solution will come from  Oracle Support India
They are supposed to know this information and will be able to assist you with 
your problem
Oracle India Support Line number is +91.22.66796200
If  Oracle India is unable to assist you ..we can find a resource on this side 
of the planet to help you


Warm Regards

   





Date: Wed, 5 Mar 2014 19:19:44 -0800
From: suresh.pamidip...@oracle.com
To: users@maven.apache.org
Subject: Invalid signature file digest for Manifest main attributes

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]

Two of the dependency jars when present together was causing this issue. I 
tried commenting one of them and mvn assembly:assembly command worked fine. To 
make it work with both the jars present together, I tried by adding excludes in 
dependency, assembly and even shade plugin configuration in pom.xml to exclude 
MANIFEST files of one of those two jars as shown below, but still the same 
error exists.




MyJar1:MyJar1

META-INF/*.SF
META-INF/*.DSA
META-INF/*.RSA





Please let me know how to resolve this error. I am not sure if the exclude 
statements were being ignored or I am missing some thing here. Any information 
on this will be really helpful.

Thanks & Regards,
Suresh


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org






--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: Invalid signature file digest for Manifest main attributes

2014-03-06 Thread Martin Gainty
Hi Suresh

 

Your best solution will come from  Oracle Support India
They are supposed to know this information and will be able to assist you with 
your problem
Oracle India Support Line number is +91.22.66796200 
If  Oracle India is unable to assist you ..we can find a resource on this side 
of the planet to help you


Warm Regards

  



> Date: Wed, 5 Mar 2014 19:19:44 -0800
> From: suresh.pamidip...@oracle.com
> To: users@maven.apache.org
> Subject: Invalid signature file digest for Manifest main attributes
> 
> 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]
> 
> Two of the dependency jars when present together was causing this issue. I 
> tried commenting one of them and mvn assembly:assembly command worked fine. 
> To make it work with both the jars present together, I tried by adding 
> excludes in dependency, assembly and even shade plugin configuration in 
> pom.xml to exclude MANIFEST files of one of those two jars as shown below, 
> but still the same error exists.
> 
> 
> 
> 
> MyJar1:MyJar1
> 
> META-INF/*.SF
> META-INF/*.DSA
> META-INF/*.RSA
> 
> 
> 
> 
> 
> Please let me know how to resolve this error. I am not sure if the exclude 
> statements were being ignored or I am missing some thing here. Any 
> information on this will be really helpful.
> 
> Thanks & Regards,
> Suresh
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>