Restore the artifact gathering by dependency (destroyed by r1374767) which makes the source attachement work with Maven repositories