How to specify maven's distributionManagement organisation wide?
问题 I'm trying to figure out how to organize many (around 50+) maven2 projects, so that they can deploy into a central nexus repository. When using the mvn deploy goal, one does need to specify the target in the distributionManagement tag like this: <distributionManagement> <repository> <id>nexus-site</id> <url>http://central_nexus/server</url> </repository> </distributionManagement> Now, i don't want every single pom.xml (of those 50+) to contain this block over and over again. My first though