The second meaning of the word forge is idiomatic. It follows from the primary sense of the word and means to 'form or make, especially through concentrated effort, pressure or heat.' Therefore something could be 'forged in battle' or ' forged through mutual trust'.