(cc'ing bigtop dev in case the bigtoppers have an opinion) Long story short, we need to publish two artifacts up to the maven repository: one for hadoop1 and one for hadoop2. Maven doesn't let you do this 'naturally'; a maven build produces one artifact only. The only dimension left to us to pervert is version (Maven 'classifiers' can not be pulled around to serve this purpose after some trying). So, I'm suggesting that our version be 0.95.0-hadoop1-SNAPSHOT instead of 0.95.0-SNAPSHOT; i.e. we include the gross hadoop version the jar was built against. The jars we publish will look like: hbase-client-0.95.0-hadoop1-SNAPSHOT, or hbase-client-0.95.0-hadoop2-SNAPSHOT, and so on.
The above is ugly but it makes it clear what version of hadoop the jar was built for. Opinions? Thanks, St.Ack