dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique:

"C:\Program Files\Java\jdk1.8.0_181\bin\java.exe" -Dmaven.multiModuleProjectDirectory=E:\Software\xiaoye-CRUD\parent "-Dmaven.home=D:\software\IntelliJ IDEA 2018.3\plugins\maven\lib\maven3" "-Dclassworlds.conf=D:\software\IntelliJ IDEA 2018.3\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:D:\software\IntelliJ IDEA 2018.3\lib\idea_rt.jar=61116:D:\software\IntelliJ IDEA 2018.3\bin" -Dfile.encoding=UTF-8 -classpath "D:\software\IntelliJ IDEA 2018.3\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2018.3 org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for crud-parent:crud-common:jar:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-web:jar -> version ${spring.version} vs 5.1.3.RELEASE @ crud-parent:parent:1.0-SNAPSHOT, E:\Software\xiaoye-CRUD\parent\pom.xml, line 160, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for crud-parent:crud-manager:jar:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-web:jar -> version ${spring.version} vs 5.1.3.RELEASE @ crud-parent:parent:1.0-SNAPSHOT, E:\Software\xiaoye-CRUD\parent\pom.xml, line 160, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for crud-parent:crud-portal:jar:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-web:jar -> version ${spring.version} vs 5.1.3.RELEASE @ crud-parent:parent:1.0-SNAPSHOT, E:\Software\xiaoye-CRUD\parent\pom.xml, line 160, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for crud-parent:crud-web:war:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-web:jar -> version ${spring.version} vs 5.1.3.RELEASE @ crud-parent:parent:1.0-SNAPSHOT, E:\Software\xiaoye-CRUD\parent\pom.xml, line 160, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for crud-parent:parent:pom:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-web:jar -> version ${spring.version} vs 5.1.3.RELEASE @ line 160, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] parent
[INFO] crud-common
[INFO] crud-manager
[INFO] crud-portal
[INFO] crud-web Maven Webapp
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- mybatis-generator-maven-plugin:1.3.7:generate (default-cli) @ parent ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] parent ............................................. FAILURE [  2.862 s]
[INFO] crud-common ........................................ SKIPPED
[INFO] crud-manager ....................................... SKIPPED
[INFO] crud-portal ........................................ SKIPPED
[INFO] crud-web Maven Webapp .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.366 s
[INFO] Finished at: 2019-01-06T15:25:37+08:00
[INFO] Final Memory: 8M/123M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate (default-cli) on project parent: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate failed: Cannot resolve classpath entry: E:\Software\xiaoye-CRUD\parent\src\main\resources -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Process finished with exit code 1

dependency.(groupId:artifactId:type:classifier)’ must be unique:依赖必须是唯一的

你可能感兴趣的:(Java,JavaEE,Spring,Maven)