构建新maven原型时出错
我已经从一个现有的项目中创建了一个原型,并通过添加参数对其进行了修改(例如,对于依赖项版本) 原型架构:构建新maven原型时出错,maven,maven-archetype,Maven,Maven Archetype,我已经从一个现有的项目中创建了一个原型,并通过添加参数对其进行了修改(例如,对于依赖项版本) 原型架构: 原型 src 主要 资源 原型资源 __rootArtifactId\uuuuuu总线 __rootArtifactId_uuuu总线耳 __rootArtifactId\uuuuuuu公共 __rootArtifactId\uuuuu包装 __rootArtifactId\uuuuu父级 pom.xml META-INF 马文 archetype-metadata.xml
- 原型
- src
- 主要
- 资源
- 原型资源
- __rootArtifactId\uuuuuu总线
- __rootArtifactId_uuuu总线耳
- __rootArtifactId\uuuuuuu公共
- __rootArtifactId\uuuuu包装
- __rootArtifactId\uuuuu父级
- META-INF
- 马文 archetype-metadata.xml
- 原型资源
- 试验
- 资源
- 主要
- src
[错误]生成错误 [信息]
[信息] 原型IT“basic”失败:不要覆盖文件C:\workspaces\ws\u socle\Archetype\target\test classes\projects\basic\project\app\u x\u poc\app _x_x_poc_父..\app_x_x_poc_总线\pom.xml [信息]
[信息]跟踪 org.apache.maven.lifecycle.LifecycleExecutionException: 原型IT“basic”失败:不要覆盖文件C:\workspaces\ws\u socle\Archetype\target\test classes\projects\basic\project\app\u x\u poc\app _x_x_poc_父..\app_x_x_poc_总线\pom.xml 位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.ExecuteGals(DefaultLifecycleExecutor.java:719) 位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) 位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) 位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.ExecuteGalandReadLifeures(DefaultLifecycleExecutor.java:387) 位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) 位于org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) 在org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) 位于org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) 位于org.apache.maven.cli.MavenCli.main(MavenCli.java:362) 位于org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) 在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处 位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)中 位于java.lang.reflect.Method.invoke(Method.java:597) 位于org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) 位于org.codehaus.classworlds.Launcher.launch(Launcher.java:255) 位于org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) 位于org.codehaus.classworlds.Launcher.main(Launcher.java:375) 原因:org.apache.maven.plugin.MojoExecutionException: 原型IT“basic”失败:不要覆盖文件C:\workspaces\ws\u socle\Archetype\target\test classes\projects\basic\project\app\u x\u poc\app _x_x_poc_父..\app_x_x_poc_总线\pom.xml 位于org.apache.maven.archetype.mojos.IntegrationTestMojo.execute(IntegrationTestMojo.java:268) 位于org.apache.maven.plugin.DefaultPluginManager。