Re: Maven in Linux environment

2011-08-17 Thread kalpeer
Hi Mark, Below is my structure of the project. /opt/project --> src/main/cpp --> pom.xml --> aol.properties -- new file I created for overriding the existing properties. I will be running the pom.xml which is available under /opt/project. I

Re: Maven in Linux environment

2011-08-10 Thread kalpeer
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.optio

Re: Maven in Linux environment

2011-08-09 Thread kalpeer
Thanks a lot. I have tried with nar plugin. But still I got the same error. On further study it looks like AOL property needs to be updated. I need to override the i386.Linux.linker=g++ with i386.Linux.linker=CC. Since I am using the SunStudio compiler for building. Can any one help me in overri

Re: Maven in Linux environment

2011-08-09 Thread kalpeer
i got this error [ERROR] BUILD FAILURE [INFO] [INFO] NAR: Please specify as part of , or for i386.Linux.CC.cpp. [INFO] -- View this message in conte

Re: Maven in Linux environment

2011-08-09 Thread kalpeer
We use the below maven-compiler-plugin true org.apache.maven.plugins maven-compiler-plugin -g:none org.freehep freehep-nar-plugin 2.0-alpha-10 true true

Maven in Linux environment

2011-08-09 Thread kalpeer
Hi All, We are using maven to compile the c++ code. We were using SunStudio 12.2 compiler and jdk 1.6.0_22 in Solaris environment. Now we are porting from Solaris to RHEL. We are using same version SunStudio 12.2 compiler and jdk 1.6.0_22. During compilation I can see the below compiler flags ar