New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG, version 2.2]: FileNotFound exception when executing versions:set
in child module
#64
Milestone
Comments
Can you make a test project on github and post the url so i can take a look.. |
Sure. I've added a test project here: https://github.com/haakobja/versions-maven-plugin-bug Setting a new parent version works:
Setting the child version from parent dir, works:
Changing to the child and running, throws an exception but works:
This exception should, in my opinion, not happen |
Issue fixed with the commit eea2ebf. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version 2.2
I have a project with a child module. If I execute
mvn versions:set -DnewVersion=<version> -DartifactId=<child>
from the parent directory it works as expected, the child version gets updated. If I try to runmvn versions:set -DnewVersion=<version>
from the child directory I get this exception:As you can see, it tries to check the child relative to itself, thus trying to access the
child/child
module.This is the parent pom:
And this is the child pom:
The text was updated successfully, but these errors were encountered: