Brian Fox wrote: > 2010/4/27 Arnaud Héritier <aherit...@gmail.com>: >> It could be better but far from perfect. Few users are reading this file and >> are using it to create their own. >> I think they are often copying it from the page you pointed. >> There are several annoying things about settings from my point of view but >> we won't be able to change before a 3.x : >> - We cannot use properties in mirror url (if we want to switch between >> several mirrors with different profiles) >> - We don't have inheritence or mix-in capacity to share some part of them >> and to split env related settings (repo, mirrors, ..) from personal settings >> (credentials) > > > I think mirrors should be able to be defined inside of (settings) > profiles. That would make it easier to deal with moving from location > to location. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org >
It seems like the complex mirror settings is really just a workaround for the issue of repositories being added to the build by dependencies [1]. If Maven disabled this by default I think most people wouldn't need to define any mirrors. You would just define the repositories that you wanted in the correct order and be done. [1]http://docs.codehaus.org/display/MAVEN/Artifact+resolution+and+repository+discovery --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org