Version on requires declaration
cristianomariano at gmail.com
Tue Dec 15 16:28:02 UTC 2015
I have tested the case in which we have two versions of the same module in
the module path and it is referenced by another module. We get an error.
Is there a way of referencing a specific version of a module on depends
clause? Throwing an error definetly seems to be a good solution for module
hell, but it doesn´t look reallistic to me to have all modules in an
application using the same versions of all dependencies.
I have read that the version problem would be left for build tools like
maven, but wouldn´t it be better to have a way of declare a dependency
version in module-info and make it available for maven to read it?
More information about the jigsaw-dev