- In IntelliJ Idea - Create 'Run Configuration' Tomcat -> Local Server with sba2-web:war exploded.
- Add Spring facet in sba2-web module to gain better Spring support in IntelliJ.
- IntelliJ Tomcat Run Configuration: On update action - Redeploy; On frame deactivation - Update classes and resources.
- Project root package is
zhy2002.sba2
. - All Maven modules are prefixed
sba2-
. - Don't break development experience in IntelliJ.
- The build artifact can be deployed in Tomcat
- Currently the war file can be deployed to Tomcat and is executable. However it makes more sense to use Maven profile to separate these two types of builds.