Somehow, my maven plugin stopped working in my eclipse (again!!!). I have already posted on maven plugin installation and everything earlier. However, this doesn't seem to work now. :-(. no idea though. So, I had to restart my "mission mvn". Finally after a lot of struggle on making the current mvn plugin to work, I looked for a new plugin and got this link
. I installed this plugin and I could see "mvn commands" populated in "Run as.. " section. My happiness couldn't last for long as I couldn't successfully build mahout codebase using this plugin.
mvn install is giving build error however mvn compile is successfully compiling. Should be able to resolve soon. Stay Tuned...
Finally, I figure out a way to avoid build errors in eclipse using maven. Following checks need to be made to see if everything is configured properly
Right click on Project -> select Properties -> Make sure under Java Build Path and libraries tab, whether Maven ClassPath container and maven dependancies are present
Right click on Project -> select Properties ->Make sure under builder, you have maven project builder and maven incremental builder and default Java builder are available
Right click on project - select properties - select maven at left hand side - check include modules.
Once all above are configured properly, right click on project and select build project. This should build without any issues.
Showing posts with label plugin. Show all posts
Showing posts with label plugin. Show all posts
Monday, January 25, 2010
My struggle with Maven plugin for eclipse and mahout building
Friday, December 11, 2009
Installing Maven in fc9 and maven plugin for eclipse
for maven plugin - install the below plugin
http://www.eclipse.org/iam/
and the respective installation instructions are available at http://code.google.com/p/q4e/wiki/Installation
and once it is installed successfully, select maven by right clicking the project and then build is done using maven rather ant.
And, for installing maven in fc9, yum is showing maven2.0.4 which is old and doesn't work with latest maven pom.xml. So, in order to install latest version of maven, get the latest version from apache site http://maven.apache.org/download.html and download it. Once downloaded, specify the bin path in your PATH variable. Reference: http://beans.seartipy.com/page/2/
Subscribe to:
Posts (Atom)