の実行に失敗しましたこれは私のpom.xmlです:フロントエンドMavenプラグインは、我々はフロントエンドのMavenプラグイン を使用する我々のプロジェクトでは、目標
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.0</version>
<configuration>
<workingDirectory>src/main/webapp/ui</workingDirectory>
<installDirectory>src/main/webapp/ui/node_modules</installDirectory>
</configuration>
<executions>
<execution>
<!--Needed To run Grunt Tasks-->
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v5.3.0</nodeVersion>
<npmVersion>3.3.12</npmVersion>
</configuration>
</execution>
<execution>
<id>grunt build</id>
<goals>
<goal>grunt</goal>
</goals>
</execution>
</executions>
</plugin>
私はこのエラーを得たプロジェクトクリーンインストールする場合:
led to execute goal com.github.eirslett:frontend-maven-plugin:1.0:install-node-and-npm (install node and npm) on project web: The plugin com.github.eirslett:frontend-maven-plugin:1.0 requires Maven version 3.1.0 -> [Help 1]
を
私のMavenのバージョンも3.3.3です。バージョン3.1.0で試してみましたが、同じエラーが発生しました。そのため、settings.xmlにプロキシを使用しましたが、同じエラーが発生しました。
どのようにmavenコマンドを実行しますか? IDEの中から?この場合、IDEはbuild-inを使用することがあります。これは、たとえばnetbeansの場合です。 –
@MikhailChibelああ、ありがとう、私はそれを得た – Moolerian