Hi,

try assembly plugin and it works!


Angelo Chen wrote:
> 
> Hi,
> 
> I have a project which I can run it with:
> 
> mvn exec:java
> 
> now I'd like to package it into a jar file with all its dependencies, so I
> use minijar:ueberjar, it generates a jar file with those dependencies
> including the junit381jar which i don't think it's needed, anyway, when it
> runs, I got this error:
> 
> Invalid or corrupt jarfile my-hb-1.0-SNAPSHOT-ueber.jar
> 
> any idea why? is there any other plugins that can be used to make jar
> files? thanks.
> 
> Angelo
> 

-- 
View this message in context: 
http://www.nabble.com/minijar-tp16369724s177p16370473.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • minijar Angelo Chen
    • Re: minijar Angelo Chen

Reply via email to