<inline> --- Clifton Craig <[EMAIL PROTECTED]> wrote:
> On Thursday 27 April 2006 1:18 pm, dan tran wrote: > > If you plan to have all of your projects deployed on teh same > server, you > > should be able to setup > > the global settings.xml in m2home/conf. > > > > Checkout Settings.xml doc at maven site > > > > -D > > > > It's a no-go. There is no section in settings.xml for setting a > default > <distributionManagement/>. I also tried just setting a <repository/> > tag in > my default-profile and that won't work because Maven throws a > (non-descriptive) hard error on the protocol. I understood it to mean > that > the sftp protocol I was using for my deployment repository was not > understood > by the code responsible for loading the repositories. It looks like > I'm stuck > with defining deployment repositories in each pom. But as someone else has already suggested, you could use a parent POM to hold your default distributionmanagement section along with other usefule stuff such as default configs for some plugins, default download repositories if you have your own internal 'remote' repository, default versions of some common dependencies etcetera. Just deploy this POM to an internal remote repository and all you have to do is add the <parent> reference in your project-POMs. Marcel > --------------------------------------------------- > Clifton C. Craig, Software Engineer > Intelligent Computer Systems - �A Division of GBG > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
