Rename modules {org.springframework.*=>spring-*}

This renaming more intuitively expresses the relationship between
subprojects and the JAR artifacts they produce.

Tracking history across these renames is possible, but it requires
use of the --follow flag to `git log`, for example

    $ git log spring-aop/src/main/java/org/springframework/aop/Advisor.java

will show history up until the renaming event, where

    $ git log --follow spring-aop/src/main/java/org/springframework/aop/Advisor.java

will show history for all changes to the file, before and after the
renaming.

See http://chrisbeams.com/git-diff-across-renamed-directories
This commit is contained in:
Chris Beams 2012-01-20 22:51:02 +01:00
parent b6cb514d38
commit 02a4473c62
5671 changed files with 20 additions and 32 deletions

View File

@ -1,34 +1,22 @@
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'
include 'spring-aop'
include 'spring-asm'
include 'spring-aspects'
include 'spring-beans'
include 'spring-context'
include 'spring-context-support'
include 'spring-core'
include 'spring-expression'
include 'spring-instrument'
include 'spring-instrument-tomcat'
include 'spring-jdbc'
include 'spring-jms'
include 'spring-orm'
include 'spring-oxm'
include 'spring-struts'
include 'spring-test'
include 'spring-tx'
include 'spring-web'
include 'spring-webmvc'
include 'spring-webmvc-portlet'

Some files were not shown because too many files have changed in this diff Show More