Maven with Multi-module
Well,A project made of multi modules.
For example,the hongten-security project,the structure of the hongten-security project display as below(In eclipse tool):
and in the windows 7 operating system,the folder structure of the hongten-security project display as below,
then,you have TWO choices to run(or install) this project to you local liberary(repository).
The first one :
Back to eclipse tool,select the "Package explorer" window,and select the "/hongten-sesurity/pom.xml" to run(or install) this project.
The second:
Back to Window 7 operating system,go to the directory "D:\Development\j2ee\workspace\hongten-sesurity",and open the command window to run(or install) this project.
I will display with the second method,and type the command "" in the command window.
WOW,there is an ERROR!!!!
The Maven can NOT find the parent. relativePath,it means that the "security-parent" model must install before you run(or install) the "hongten-security" project.
en,you should go to the derictory "D:\Development\j2ee\workspace\hongten-sesurity\security-parent" to install "security-parent" model.
After installing the "security-parent" model,rember to back to parent folder("D:\Development\j2ee\workspace\hongten-sesurity")
and type the command ""
============================================
Source Code
============================================
Source Code Download : http://files.cnblogs.com/hongten/hongten-sesurity.rar
Source Code Download : http://files.cnblogs.com/hongten/hongten-sesurity_with_dependencyManagement.rar
========================================================
More reading,and english is important.
I'm Hongten
大哥哥大姐姐,觉得有用打赏点哦!多多少少没关系,一分也是对我的支持和鼓励。谢谢。Hongten博客排名在100名以内。粉丝过千。Hongten出品,必是精品。
E | hongtenzone@foxmail.com B |
========================================================