How to restructure a business core system into a maven architecture
convert to maven project
set the path, the old project obviously will not revert to src/main/java. webapp these directories
<sourceDirectory>${basedir}/java</sourceDirectory>
<testSourceDirectory>${basedir}/java_test</testSourceDirectory>
<webappDirectory>${basedir}/ui</webappDirectory>
<warSourceDirectory>${basedir}/ui</warSourceDirectory>
Set the source code path
Configure the resource file in the code directory
Configure the file name of the war package
<finalName>ui</finalName> <!-- war包 文件名 -->
Set the local lib used during compilation
Over is
really simple, for Lao Tzu, wherever you go is called dimensionality reduction