A U(2) Yang-Mills connection on CP2, which was obtained by Hogan, is reobtained as a Berry connection on a complex vector bundle with fibre C2 over CP2. The u(2) curvature form proves to be neither self-dual nor anti-self-dual. Moreover, the su(2) part cannot be singled out, because of the irreducibility of the structure group U(2) to SU(2). Chern class numbers are computed as well as the action integral.