Can somebody explain the maven workflow to me?

I’m struggling pretty hard with Maven/Eclipse combination. I am able to start “from scratch” and install and compile as per the wiki, but as soon as I start going off the beaten path problems begin.

I have a binding that is based on the first alpha release. So, I use git to move HEAD back to the alpha commit, branch, fetch and merge the branch containing my binding code.

Now what? If I try to build with eclipse - errors. If I try to build with maven (mvn clean compile) - errors. If I checkout back to master branch - errors! (The errors are about missing classes and such)

What is the proper procedure for switching branches and compiling with respect to maven?

1 Like