Bavaria has posted a slight rise in net profit for the first half of this year.