Hello Stephen and everybody, Thanks for replying (apologies i was not allowed to get back to my PC as I had to go for a BPM installation so couldn't reply in time):
I noticed that there was a default <build> in my POM which had a compiler plugin config there as well so when i commented out the compiler plugin my profile with toolchain for jdk 1.5 worked fine for other users to see what i was using : http://codepad.org/RiTy1hAz myweb.war POM but I have this conceptual issue now : If i use SITJDK5 profile that has a hardcoded JDK path for 1.5 it never goes for the default, but if i use the DEVJDK5 profile that has the toolchain it ignores the toolchain and goes for the default if there is one present. So with tool chain I cannot have a default compiler config and will have to have a default profile just for this reason and use -PDEFAULT if i am going for toolchain. Also: if anyone could be kind enough to shed some light on this : If i use DEVJDK5 profile it says: [INFO] Webapp assembled in [105622 msecs] and if i use SITJDK5 profile: [INFO] Webapp assembled in [72607 msecs] with toolchain it takes more time though even though the jdk is the same. Thanks for the help so far. Maven is so easy to work with im lovin it !! (at least for now :D ) Syed... -- View this message in context: http://maven.40175.n5.nabble.com/what-does-define-do-in-maven-tp5485392p5501578.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
