Hi,

I am looking at the versions-maven-plugin to force a build against a set of
"verified" dependencies. The idea is that a sub-project might declare some
older dependencies for backward-compat reason but we still want to build
the whole suite against a set of specific dependencies that would be
advertised as the one to use.

Forcing the dependencies in a Maven project is not easy because it will
take the "closest" definition. But there might be a way using the
versions-maven-plugin compare-dependencies as it has the ability to modify
the POM itself. So we could run a build that would first update the
dependencies, run maven again against that modified dependency and then
cleanup the local change for the next build.

The problem is that this goal has a 'updatePropertyVersions' that is
supposed to replace version in properties but the flag is used nowhere.

Does anybody know why and do you think that sounds like a feasible option?

Thanks,
S.

Reply via email to