Maven生命周期

lifecycle-phase maven有三个内部生命周期:default,clean,和site。 每个生命周期由多个阶段(phase)组成 clean Phase Description pre-clean execute processes needed prior to the actual project cleaning clean

Maven依赖scope属性

compile This is the default scope, used if none is specified. Compile dependencies are available in all classpaths of a project. Furthermore, those dependencies are propagated to dependent projects. provided This is much like compile, but indicates you expect the JDK or a container to provide the dependency at runtime. For example, when building a web application for the Java Enterprise Edition, you would set the dependency on the Servlet

Spring切面编程

1.切面编程核心概念 切面编程Aspect-oriented Programming (AOP) AOP只是一个概念,跟Spring是独立关系 最典型的AOP实现框架Aspect