you can use Maven Profile to perform conditional build, you can place profile(s) in settings.xml as mentioned by Mick, but usually it should be in your pom.xml since it is quite difficult to have developer to modify his/her settings.xml
-D On Sun, Jun 21, 2009 at 7:19 PM, Mick Knutson<[email protected]> wrote: > Put it into the settings.xml > > --- > Thank You… > > Mick Knutson, President > > BASE Logic, Inc. > Enterprise Architecture, Design, Mentoring & Agile Consulting > p. (866) BLiNC-411: (254-6241-1) > f. (415) 685-4233 > > Website: http://baselogic.com > Linked IN: http://linkedin.com/in/mickknutson > Vacation Rental: http://tahoe.baselogic.com > --- > > > > On Sun, Jun 21, 2009 at 7:09 PM, Alexy Khrabrov <[email protected]>wrote: > >> I'd like to be able to compile my project with either Scala 2.7.5 or >> 2.8. There's a property scala.version saying which. How can I >> maintain the setup where I don't have to edit pom.xml but rather have >> two ready configurations? >> >> Cheers, >> Alexy >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
