Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想设置我用 Intellij 构建的 jar 工件的文件名,但是当我更改它时,它不会在输出文件中更改。
使用 2017.2.5 我可以使用以下步骤更改工件名称:
截屏:
这是更改 JAR 工件的文件名的解决方法...
Build Artifacts->Edit..
丑陋,但有效。
请注意,您接下来可能会遇到此错误,因此请确保您不使用main/java清单的默认路径。而是手动将其更改为main/resources- 然后投票修复这两个错误!
main/java
main/resources