> -----Original Message----- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Monday, February 27, 2006 9:20 AM > To: Gump code and data > Subject: Re: Maven builds and library tasks > > Bill Barker wrote: > > "Steve Loughran" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > >> > >> A couple of maven-repository related questions. as that is > the main cause > >> of the new projects I've added not building. > >> > >> > >> 1. how do I get the local repository into enough shape > that maven1 works? > >> This is a prerequisite to getting either ws-commons or > ws-axis2 to work? > >> > > > > IMHO, there is already way too much in the local repository > already. But as > > Brett has already said, this is a limitation of how Gump > and Maven interact. > > I actually quite like the fact that gump at least sanity checks the > validity of the M1/M2 dependency graph, > because if it doesnt, well, that can get you into trouble in many > different ways. so while doing any > in-build dependency fetching of classpaths is futile, it does > at least > check that that part of your code works to the level of "all the > declared dependencies are retrievable". > > > > > >> 2. I'm thinking of skipping classpath setup using the > m2-tasks when on > >> gump. Is there a well known properly like "gump.run" that > is set when ant > >> is running under gump, or should I make one up. > > > > Try build.sysclasspath=only. This, more generally tells > you that Ant is > > going to ignore any classpath setup you do. > > yes. I was also thinking of having a proper switch to say "dont run > functional tests here"; inferring that from build.sysclasspath is > probably bad form. >
For Maven projects, you can simply use maven.test.skip=true. For Ant projects, people either use a special gump-run target, or (less commonly) a special gump.run property. However, you'd have to set it explicitly in the project file: Gump won't do it for you. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
