Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
哪个标签适合声明子 POM 中使用的依赖项版本,即 Properties 标签或 DependencyManagement 标签?他们各自的优点和缺点是什么?有没有更好的办法?
将它们声明为其中之一property
property
<properties> <commons.dbcp.version>somenumber</commons.dbcp.version> </properties>