Comments (2)
Does that configuration work for you? I doesn't work for me. The generated jar file still contains signature files and when I try to run jarsigner -verify jarfileName
it will print out the error message "java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
".
@stash how did you do in your environment?
from gs-maven.
Thanks @stash , but I think these adjustments to the maven-shade-plugin would go too far out of the way of the focus of this guide. This guide is meant to get the reader going on some basic maven stuff. We simply added the maven-shade-plugin as the means to make the code runnable without complex classpath steps on the command line. For anyone working on a production solution, they should certainly evaluate more complex settings when dealing with things like signed jars, etc.
from gs-maven.
Related Issues (14)
- Minor: missing <dependencies> element in tutorial
- mvn compile throws errors HOT 34
- mvn package fails for demo build HOT 5
- `mvn compile` does not create 'target\classes' directory HOT 3
- opened by accident - ignore
- How to run Jar file not explained.
- no main manifest attribute, in target/gs-maven-0.1.0.jar HOT 7
- Completed Pom has <build> section but not explained in tutorial.
- mvn compile error
- Can i contribute?
- Final pom shade plugin clarification
- brocken link? HOT 2
- MetaDataException bug when using DirContexAdapter to add member to group in Spring LDAP 2.0.0.RELEASE HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gs-maven.