I don't think plague would be an issue - viruses require proteins to be similar to attach and reproduce, and bacteria require nutrients to be the same. And as for resources? Asteroid mining will get you more water, minerals and metals.
But territory - terraforming might be really difficult or take too long. If aliens need an oxygen/CO2/nitrogen atmosphere and liquid water, Earth could be tempting, even if the plant/animal life is useless to them.
If territory isn't an issue, maybe we'd just be friends or anthropological curios.
But yeah I agree that there's very little our planet has that an alien civilization would want. The only reasons I could see for war would be some sort of pre-emptive response ("some day they will be able to attack us, let's wipe them out before they can") or an ideological conflict. Maybe they have a religion/ideology/culture that sees us as needing to be destroyed. Maybe if they see us as a lesser race to be exterminated, like the Nazis. Or maybe we are evil in their morality. There's the sci-fi staple of seeing mankind as inherently violent and warlike, or polluting, but also more exotic things. Maybe they are immortal and don't reproduce, and see us and our potential for expansion as a sort of cosmic cancer. Maybe they are photosyntheic beings, and see anything that lives by consuming other life as a threat. But I think those are unlikely.
At the very least I think that they wouldn't wipe us out on sight. If they did have strong opinions on religion or forms of government, it would likely take years of contact and dialogue to even figure out we were in disagreement. Even then diplomacy and diplomatic pressure would probably be used long before military force.