And, what has your experience been? Do you think that Maven has been well suited to your project, and how would y开发者_StackOverflow中文版ou advise others on following your path?
Thanks in advance!
CERN seems to be using it in combination with Make:
http://accelconf.web.cern.ch/accelconf/icalepcs2011/papers/wepks026.pdf
I have not used Maven for any of my projects but some of my colleagues used for java projects. Are you looking for ant special features of it ? if its plain vanilla build then stick with Makefiles. You can also look at http://www.scons.org/
Why do you want to use maven for a C/C++ project? Maven is very good but require you a very deep knowledge, and it is strongly Java-oriented. I think Makefiles are good also for big C++ project.
I will suggest automake+autoconf for a slight better way of managing Makefile creation.
Take also a look to big project like the OpenOffice sources, for getting inspired.
I'm using CMake under Maven: http://code.google.com/p/cmake-maven-project/
I find CMake much easier to use because it generates full-fledged project files. You can then open those project files and run the debugger, profiler, etc.
精彩评论