rootProject.name = 'spring' include 'org.springframework.core' include 'org.springframework.asm' include 'org.springframework.beans' include 'org.springframework.aop' include 'org.springframework.expression' include 'org.springframework.instrument' include 'org.springframework.instrument.tomcat' include 'org.springframework.context' include 'org.springframework.transaction' include 'org.springframework.oxm' include 'org.springframework.jms' include 'org.springframework.jdbc' include 'org.springframework.context.support' include 'org.springframework.web' include 'org.springframework.orm' include 'org.springframework.web.servlet' include 'org.springframework.test' include 'org.springframework.web.portlet' include 'org.springframework.web.struts' include 'org.springframework.aspects' // transform project names to maven-central artifact naming // e.g.: org.springframework.context.support => spring-context-support rootProject.children.each { project -> project.name = project.name.replace('org.springframework', 'spring').replace('.', '-') } // special cases project(":spring-transaction").name = 'spring-tx' project(":spring-web-servlet").name = 'spring-webmvc' project(":spring-web-portlet").name = 'spring-webmvc-portlet' project(":spring-web-struts").name = 'spring-struts'