中文 / English
Maven Project Version Plugin, Support Quick Update Version And Show Project Version.
-
Maven Project Version Update
-
Default Strategy
- must have new version and changed version.
- when version exist and matched will replace and support dependency version is special value (e.g: ${version} / [1.6, 1.8]) will continue replace.
-
General Strategy
- must have new version.
- when version exist and matched will replace.
-
Support Must Same Version (Before)
- if checked: project or dependency version not equals project before replacement version will continue replace.
- if not checked: new version will to replace.
-
-
Maven Project Version Show
- project view
- structure view
v1.0.1/v1.0.1+
PROJECT > GLOBAL > SYSTEM
language_country/area.properties > language.properties > en.properties
method 1: language_country/area.properties,e.g: zh_CN.properties
method 2: language.properties,e.g: zh.properties
- zh Chinese
- zh_CN Simplified Chinese(China)
- zh_TW Chinese(Taiwan)
- en English
The language to be used can be specified through the system default language or in conf.properties.
-
configuration file
-
global configuration: user home/mpvp/conf.properties
-
project configuration: user maven project work dir/.idea/mpvp/conf.properties
-
-
configuration file sample
-
introduction to override function
When the content of the corresponding key for the current language in the configuration directory exists, priority will be given to using user language resources. If it does not exist, internal system language resources will be used for backup.
-
language configuration dir
-
global language configuration dir: user home/mpvp/language
-
project language configuration dir: user maven project work dir/.idea/mpvp/language
-
-
language configuration sample
x.x.1 -> idea 2017.3 - 2022.1
x.x.2 -> idea 2022.2 - 2023.2
x.x.3 -> idea 2023.3 - 2024.1
-
intellij-maven-project-version-plugin-1.1.1.zip -> src/test/resources/distributions/intellij-maven-project-version-plugin-1.1.1.zip
-
intellij-maven-project-version-plugin-1.1.1.jar -> src/test/resources/libs/intellij-maven-project-version-plugin-1.1.1.jar
-
intellij-maven-project-version-plugin-1.1.2.zip -> src/test/resources/distributions/intellij-maven-project-version-plugin-1.1.2.zip
-
intellij-maven-project-version-plugin-1.1.2.jar -> src/test/resources/libs/intellij-maven-project-version-plugin-1.1.2.jar
-
intellij-maven-project-version-plugin-1.1.3.zip -> src/test/resources/distributions/intellij-maven-project-version-plugin-1.1.3.zip
-
intellij-maven-project-version-plugin-1.1.3.jar -> src/test/resources/libs/intellij-maven-project-version-plugin-1.1.3.jar
-
intellij-maven-project-version-plugin-1.0.1.zip -> src/test/resources/distributions/intellij-maven-project-version-plugin-1.0.1.zip
-
intellij-maven-project-version-plugin-1.0.1.jar -> src/test/resources/libs/intellij-maven-project-version-plugin-1.0.1.jar
-
intellij-maven-project-version-plugin-1.0.2.zip -> src/test/resources/distributions/intellij-maven-project-version-plugin-1.0.2.zip
-
intellij-maven-project-version-plugin-1.0.2.jar -> src/test/resources/libs/intellij-maven-project-version-plugin-1.0.2.jar
-
intellij-maven-project-version-plugin-1.0.3.zip -> src/test/resources/distributions/intellij-maven-project-version-plugin-1.0.3.zip
-
intellij-maven-project-version-plugin-1.0.3.jar -> src/test/resources/libs/intellij-maven-project-version-plugin-1.0.3.jar
Best to use ${project. version} to maintain consistency in the version values of sub module dependencies in multiple modules.
-
plugin menu: Tools > Maven Project Version
-
build: build / intellij buildPlugin
-
test: intellij runIde