I don't get why you even want to go melee with a cleric nowadays anyway, can just go max wisdom/constitution and instakill stuff with spells or finish them off with mediocre but double ranged sla's from 'Divine disciple' that will do harm for almost every enemy in the game( refering to 'light spec' ofc). Where if you go melee you'll have to gimp out other stats to qualify for some melee feats, you won't do as much damage as a barb or pali so dr breakers will be pretty mandatory and will probably still be treated as a restoration/deathward dispencery in tougher raids if you even plan to do those. Also when in close combat you need the extra beef, which clerics' dont get for granted and you're right - 'Warpriest' tree is pretty much a joke
.
If going caster type you get the benefit of not having to be in combat and deal with some mobs before they even get to you. The class definetely has it's problems but with minor effort in gear that would make your sla's like 'Energy burst', 'Avengng light' etc. worthwile to use starting from L20. While obiously not a speedruner type a 2nd heroic tr pure cleric dwarf is definetely durable enough to solo EE's including some raids without pots or game store consumables.
if you realy want to use dem' hammers can make use of that dwarf racial tree and pick up 'Throw your weight around' which will benefit from your constitution modifier to damage(will still need strength for hit), so you can just spend enough AP in there and pic up healing aura from 'Radiant servant', possibly max out constitution, some strength for power attack, cleave requirements rest to wisdom probably for extra sp (taking 'Endless turning' will make turns regenrate, personaly giving me a reson to dump charisma).
NOTE: being a dwarf does not qualify you for dwarwen axe(exotic weapon) or warhammer proficiencies, only option to add bonus damage via racial tree, you will need to splash a class with martial weapon proficiency or spend a feat to remove the -4 hit penalty.
I barely scratched the surface here, but if ya going max wisdom/constitution sla caster type there're fewer oportunities to mess up.