JGitver, Maven and IntelliJ
I'm desperately trying to work with two of my favorite tools together: JGitVer and IntelliJ.
In a gist jgitver-maven-plugin is a maven extension that calculates the current version bumping the version of the last tag in git. Its pretty convenient and finally frees the developer from the dreaded (almost in my oppinion) maven release and reduces considerably the clutter in the git log (preparing for next release... releasing ...).
The combination of both work perfectly fine in single module projects. However, when used in multimodule project there are problems:
jgitver-maven-plugin is failing in this line.
After a discussion with the author, he suggested to skip the plugin execution altogether and perhaps this is my real question (as supporting jgitver may or may not be in scope of idea). How to effectively pass parameters to the maven import execution?
I have tried adding a -Djgitver.skip=true in the import defaut settings:
But it does not disable jgitver pretty much destroyer my environment: imports doesn't work, etc.
I have created a sample project in order to reproduce it, just follow these steps:
- execute :
git clone https://github.com/vromero/jgitver-intellij-error.git
- open IntelliJ, open project, point to the parent pom, open as project.
- at the right open the Maven Projects tab and look for the error
Please sign in to leave a comment.
-Djgitver.skip=true
property works for me using 1.1.7 version of jgitver-maven-pluginThanks for the report, submitted as https://youtrack.jetbrains.com/v2/issue/IDEA-184983.