Hi you need to put it in the pom directory in which you run maven, not the parent dir.
Regards Mark On Aug 10, 2011, at 5:39 PM, kalpeer wrote: > Thanks a lot. > > I created aol.properties in my root directory of the project. that is in the > location(/opt/project) where is my parent pom.xml is available. > aol.properties: > > i386.Linux.linker=CC > > i386.Linux.CC.cpp.compiler=CC > i386.Linux.CC.cpp.defines=Linux GNU_GCC f2cFortran > i386.Linux.CC.cpp.options= > i386.Linux.CC.cpp.includes=**/*.cc **/*.cpp **/*.cxx > i386.Linux.CC.cpp.excludes= > > i386.Linux.CC.c.compiler=suncc > i386.Linux.CC.c.defines=Linux GNU_GCC f2cFortran > i386.Linux.CC.c.options= > i386.Linux.CC.c.includes=**/*.c > i386.Linux.CC.c.excludes= > > i386.Linux.CC.fortran.compiler=sunf77 > i386.Linux.CC.fortran.defines=Linux GNU_GCC f2cFortran > i386.Linux.CC.fortran.options=-Wall > i386.Linux.CC.fortran.includes=**/*.f **/*.for > i386.Linux.CC.fortran.excludes= > > i386.Linux.CC.java.include=include;include/linux > i386.Linux.CC.java.runtimeDirectory=jre/lib/i386/client > > i386.Linux.CC.linker.systemLibs=pthread:shared > > i386.Linux.CC.lib.prefix=lib > i386.Linux.CC.shared.prefix=lib > i386.Linux.CC.static.extension=a > i386.Linux.CC.shared.extension=so > i386.Linux.CC.plugin.extension=so > i386.Linux.CC.jni.extension=so > i386.Linux.CC.executable.extension= > > But during pom.xml it is not picking up aol.properties from the new > location. > > do i need to add any tag in pom.xml to specify the new location of > aol.properties. > > I am new to the maven.please correct me if am wrong. > > Thanks > Kalai > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Maven-in-Linux-environment-tp4681852p4686269.html > Sent from the Maven Developers mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > 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]
