In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Sometimes it is necessary for maven to extract all dependent jar files of the current project to a specified folder. You can use maven-dependency-plugin to implement
1. Add the following to pom.xml:
Maven-dependency-plugin
${project.build.directory} / lib
False
True
...
* where ${project.build.directory} is the maven variable, indicating the target directory. If you do not write, the lib directory will be created under the root directory.
* excludeTransitive, indicating whether there are no indirectly dependent packages
* stripVersion means that the version information is removed from the copied jar file.
two。 Execute mvn dependency:copy-dependencies
All dependent jar will be extracted to the lib directory
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.