Choose main artifact by packaging