m2eclipse workspace resolution not working ?

We have this “fix”:

Go to your workspace folder
in the folder .metadata/.plugins/org.maven.ide.eclipse, remove all file ending with .container
in eclipse, clear all projects
hope for the best

For us, it has resolved a nasty issue we had : some projects’ dependencies weren’t resolved locally even if the projects in question were in the workspace.
Hope it helps
++

How we have the development specific code safely out of the way

Quite frequently, one has to write some development specific code. For example, at work, we have, when needed, an “application launcher” (named with the application name) and a dev web page, mounted under /dev. This page in turn allows to write shortcuts in the application work flow, in order to access specific page with an [...]

Defining JavaScript variables…

hi
Do you know the difference in JavaScript between these variables declarations :
- myVar = “foo”
- var myVarVar = “foo”
In fact, the first one will have an unlimited scope, and thus accessible from the outer world, whereas the second one will only be accessible at this level and below.
As such, this is why the [...]

m2eclipse tips

Thanks to Maven: The Definitive Guide, I was able to answer some questions I had about m2eclipse as well as learn more of it.

When you put a plugin in the build part of the pom, how comes some are running on each source modification and others not ?
The reason is simple : m2eclipse runs by [...]

Wicket : provide a body to your tags !

Hi
We had a strange issue here : we created a component opened for extension. For some reason it was working with a Label but not a MultilineLabel. Crazy isn’t it ?
It turned out we declare this “opened” component like this :

The user of it should just override a callback method like this :
 Java |  copy |?             @Override            protected Component createContentComponent(final [...]