-
Notifications
You must be signed in to change notification settings - Fork 13
Provided one version for different app servers #3
Description
Now we have different profiles for different app servers: JBoss 7 and JBoss EAP 6.4.
Good solution for cluster is one version for different app servers.
Idea from @jaimecasero
the idea would be to pick any version that ensures the code compiles correctly and set scope as provided
then, dependant projects needs to ensure the correct versions are packaged into corresponding zip files
in the end, we need to ensure compile time API compatibiltiy
the fact different appServers use slightly different versions is not important for the compilation time behavior
problem would be different if we had compile time API compatiblity problems
but i think is not the issue now, any of the given versions of infinispan for different profiles/servers would cause the "cluster" project to build/compile properly
so, in the end is about to push the concern to the proper party, since "cluster" project is appServer agnostic, then the dependant projects that know which appServer will be packaged needs to resolve infinispan dependencies version