Specify the name of the artifact with Intellij

I would like to set the file name of the jar artifact that I create using Intellij, but as it changes, it does not change in the output file.

enter image description here

+3
source share
2 answers

Below is a workaround for changing the JAR artifact file name ...

  • In the Project panel, rename the module in what you want to name the JAR file. The JAR file name is written with the module name when creating the artifact configuration.
  • Go to Build Artifacts->Edit..and delete the old artifact that creates the wrong JAR file name.
  • Add new JAR artifact. This new artifact will use any module name.
  • Now you can go back and change the name of the module.

Ugly but working.

, , , main/java . main/resources - !

+1

2017.2.5 , :

  • > .
  • " " > "".
  • .
  • " " JAR , Enter, IDE .

:

Change JAR file name

+1

All Articles