Fixed generation of ivy.xml to attach artifacts to the correct configurations.