My web searching skills could do with some refining...I found this article, which seems to point people in the correct direction: how to deploy processes in jBPM 6? | Planet JBoss Developer
I've yet to work my way through it, but it answers a lot of questions.
It is recommended to separate Java code that is not immediately part of the processes etc. (like service implementations etc.) in a separate project so you can build and deploy using your normal development cycle. This jar can then be added to your server or as a dependency to specific projects (after uploading the war to the workbench through the UI). This allows this kind of Java integration code to live independently and be managed using your normal development tools and cycle.
Alternatively, you could also still keep this Java code as part of your project on the workbench, yet use the git integration between your IDE and the workbench to do the changes related to these Java classes. We wouldn't expect you to edit this files on the workbench, but your developers could push them into the project using the git integration.
Thanks Kris, what you have described. I haven't tried using a distinct JAR. My initial impression was that anything relating to the process such as script tasks, service tasks etc, should be grouped into one deployment. Unfortunately, the latest book on JBPM doesn't have much to say on ServiceTasks, so I'll need to dig out some non JBPM 5 git hub examples, which seem to be in short supply . Again that could be due to my poor web search skills.
Regarding the IDE > Maven integration. I am having a problem with making a project appear on the workspace. So, if I create a repository called 'org.dev.smunro' and I created a JBPM maven project in Eclipse and attempt to publish through SSH, I can't a new project appear for the repository. I can see the project was committed into the internal git, but I was expecting the workbench to generate a project. Is this the case? If so, can you point me at a guide to achieve this? Even a JBPM 6 maven project with the required details I can attempt to upload and use for reference?