Right, the gap in my knowledge was the DependencyInstaller, which I wasn't aware of.
So, all we need to do is add a --version option to the as7 plugin (and the eap plugin) that can map from a real as7 version to a bom version.
E.g.
as7 setup --version 7.1.1.Final
knows to set the BOM version to 3.0.1.Final (as that is what AS 7.1.1 needs), it also knows the version of the JBoss AS plugin to choose.
We also should be able to alter the version after the fact. e.g . someone has an existing project, set up with AS7. We want them to be able to run:
eap --version 6.0.1.Final
and have the BOM version, and plugin version, changed.
Right, the gap in my knowledge was the DependencyInstaller, which I wasn't aware of.
So, all we need to do is add a --version option to the as7 plugin (and the eap plugin) that can map from a real as7 version to a bom version.
E.g.
knows to set the BOM version to 3.0.1.Final (as that is what AS 7.1.1 needs), it also knows the version of the JBoss AS plugin to choose.
We also should be able to alter the version after the fact. e.g . someone has an existing project, set up with AS7. We want them to be able to run:
and have the BOM version, and plugin version, changed.