Ant中有condition表达式,maven中对应的是profile,下面的链接相信描述了如何实现分支功能.
[url]http://maven.apache.org/guides/introduction/introduction-to-profiles.html[/url]
[url]http://maven.apache.org/guides/introduction/introduction-to-profiles.html[/url]