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..
The problem with this is that an HBase DataSource is of type <ImmutableBytesWritable, Result> but result is not writable..How do you suggest to proceed? How should be typed of the OutputFormat? Tuple2<ImmutableBytesWritable, Result> or another type?