I am doing a maven project. Everything is fine when compiling and running my project in an idea, but whenever I create jar file, my external jar files in web/lib/ cannot be copied into the jar file. Why this occurs ? Can I insert my all files into the jar file ?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Yes I found solution.
You can use the jar-with-dependencies descriptor of Maven Assembly Plugin to achieve this.
You need to use Maven Assembly plugin something like this: