Error while running Processing with Maven

There are two types of dependency to consider, compile time and runtime. You need both how you provide them is up to you, normally it is easier just to include the runtime jar yourself (and place on classpath) but you could use maven to to download the jar for you. However the maven repository is (unofficial not supported and out of date) probably not what you want.