Skip to main content

· One min read
Alan

在Node环境, 使用require多次加载模块时, 返回的都是同一个对象, 通过require.cache可以迭代查看所有require缓存的对象.

· 5 min read
Alan

In this guide, we learn how to create Maven Multi-Module using Command Line with very easy steps. A multi-module project is defined by a parent POM referencing one or more sub-modules. In this example, we will create a blogger web application with different modules. Let's create a blogger as parent project and it's 3 sub-modules are blogger-core, blogger-common, blogger-web.

Real-world examples of maven multi-module projects are: