IntelliJ IDEA can not do that automatically via its build runner. It is an IDE and not a build tool. So its build features, while decent, are limited. You have two options:
- Manually put the version into the Manifest.MF file before building with IDEA.
- Use a build tool such as Ant, Maven, or Gradle to build your webapp and add the entry.