Upgraded APIs: Flink (0.8) and HBase (0.98.x) + profiles

I had to create an hadoop.core.version variable to manage the fact that cloudera has different versions for hadoop-core and hadoop-common..
So what should I do here? Istantiate a field Serializer in the class?