【发布时间】:2015-07-04 16:43:59
【问题描述】:
我最近使用 JHipster 安装并创建了一个应用程序。当我在终端使用“mvn spring-boot:run”运行应用程序时,应用程序运行没有问题。
但是当我将项目(作为 maven 项目)导入 Eclipse 时,我的 pom 中有这个错误:
没有找到处理 yeoman-maven-plugin:0.4:build 的市场条目 在日食中。有关详细信息,请参阅帮助。
这是错误的屏幕截图。
这是在生成的 pom.xml 中默认定义这个插件的方式:
<build>
<plugins>
<plugin>
<groupId>com.github.trecloux</groupId>
<artifactId>yeoman-maven-plugin</artifactId>
<version>0.4</version>
<executions>
<execution>
<id>run-grunt</id>
<phase>generate-resources</phase>
<goals>
<goal>build</goal>
</goals>
<configuration>
<skipTests>true</skipTests>
<buildTool>grunt</buildTool>
<buildArgs>compass:server --force</buildArgs>
</configuration>
</execution>
</executions>
<configuration>
<yeomanProjectDirectory>${project.basedir}</yeomanProjectDirectory>
</configuration>
</plugin>
</plugins>
</build>
如何继续在我的 Eclipse 中操作、编辑生成的项目文件?
【问题讨论】:
-
您找到解决此问题的方法了吗?
标签: eclipse spring maven yeoman jhipster