Recently I encountered this weird problem when i was trying to build a project after installing the m2eclipse plugin on my eclipse galileo. Build id: 20100218-1602 The problem was that when i built the project from command line, it was just working fine, however, as soon as I built the project from eclipse, eclipse started… [Read more…]
When you are starting a new project it is very easy to get started if the project structure can be built for you. Maven provides a plugin called maven-archetype-plugin which can help you generate the desired project structure depending on the application that you are trying to build. The Archetype Plugin allows the user to… [Read more…]
Let us assume that you have a maven based project. This would mean you have a pom.xml if you are using maven 2. Now if you execute mvn eclipse:eclipse the maven eclipse plugin generated the required .classpath and .project files so that your project can become a first class eclipse project. However, by default the… [Read more…]
If you get an error OutOfMemory error while doing mvn site, because of all the reports that you are generating, just increase the heap size for maven2. The way to do that on linux. In your mvn.sh add this as the first line after the copyright and other comments. export MAVEN_OPTS=”-Xmx512m” note than Maven 2.0.6… [Read more…]
June 26, 2010
8