我是 Maven 新手,我有一些 .hbs(车把模板文件),我有“车把原型”,其中包括预制车把服务器。
https://github.com/jknack/handlebars.java(搜索handlebars-proto)
我已将依赖项添加到我的 pom.xml 作为
<dependency>
<groupId>com.github.jknack</groupId>
<artifactId>handlebars-proto</artifactId>
<version>${current-version}</version>
</dependency>
文档状态,我应该能够使用它来运行它,
java -jar handlebars-proto-${current-version}.jar -dir myTemplates
如何创建 Intellij 运行配置以执行与上述相同的操作。我尝试使用“handlevar-proto-{version}.jar”创建 JAR 任务运行程序,但找不到 jar 文件。一般来说,如何从 IntelliJ 中的 maven 运行 jar。