I get a missing artifact error during Maven build because one of the dependencies declares it\'s parent artifact using a property for the version. Now the property itself is
I get a missing artifact error during Maven build because one of the dependencies declares it's parent artifact using a property for the version. Now the property itself is declared in the parent pom and my project's build fails giving this error (...)
This is a chicken and egg problem: you can't get the version of the parent to use from the parent.
Is there a way to specify the value of someversion property used in the dependency pom?
AFAIK, this is not possible, properties in project.parent.version do NOT get substituted. You might want to check MNG-624 (and vote for it) and related issues.
If not, how should the dependency pom be changed to resolve the error?
Use an "hard-coded" version in project.parent.version.