mortar joint is easiest, depending on the brick it might even be strongest!
are you talking about just a pipe strap or hose bibb? if so you can just use sheetmetal screws and plastic anchors. use stainless screws if it's on exterior. easy and straightforward
Those who can, do...
Those who can't criticize on the internet