学习他的http://blog.csdn.net/sd4015700/article/details/39992929
如果报这个错:
Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-cli) on project Test1: The packaging for this project did not assign a file to the build artifact -> [Help 1]
如果你用的是IntelliJ IDEA 或者其他如见,执行了install:inastall命令
当maven执行install:install出现如上错误时,则尝试改用install执行