Installing m2eclipse

"m2eclipse" is a plug-in that integrates maven2 functionality into eclipse.

A while ago I though I will give m2eclipse another go and install version 0.9.8 and the "Maven integration for WTP". Before using m2eclipse I used "External tools configuration" to run "mvn eclipse:eclipse" (and checked "refresh resources upon completion" on de Refresh tab).

After a "hanging" eclipse, it was trying to build my workspace forever, I decided to upgrade to m2eclipse 0.10. I followed (but didn't read carefully) the instructions on: http://m2eclipse.sonatype.org/installing-m2eclipse.html

Installing m2eclipse

"m2eclipse" is a plug-in that integrates maven2 functionality into eclipse.

A while ago I though I will give m2eclipse another go and install version 0.9.8 and the "Maven integration for WTP". Before using m2eclipse I used "External tools configuration" to run "mvn eclipse:eclipse" (and checked "refresh resources upon completion" on de Refresh tab).

After a "hanging" eclipse, it was trying to build my workspace forever, I decided to upgrade to m2eclipse 0.10. I followed (but didn't read carefully) the instructions on: http://m2eclipse.sonatype.org/installing-m2eclipse.html

Assertions in Eclipse when running JUnit tests

Our build server was complaining about tests that failed because assertions failed. While running the JUnit tests in Eclipse everything was fine. So I had to find out how to turn the assertions on in Eclipse.

Project dependency issue with maven-eclipse-plugin 2.6

I had some troubles with the new maven-eclipse-plugin version 2.6 and project dependencies.

Find those Memory leaks

Find the memory leaks in your app with Eclipse Memory Analyzer ( MAT ). This Eclipse plugin can give you a detailed view on object level of memory consumption in the JVM of your application.

Eclipse and static imports

Here is a way to fix static imports and make them available for code auto-complete (CTRL + space)

Eclipse abbreviated package names

"Another useful Eclipse trick is to use abbreviated package names. It's a nice feature on projects where you're inflicted with super.long.package.name.syndrome. Go to Window -> Preferences -> Java -> Appearance. Check the Compress all package names checkbox and type 1. in the text field."