Building OSB projects with Maven and removing the eclipse dependency by Mark Nelson
July 9, 2013 Leave a comment
In this earlier post, I talked about a way to automate the build and deployment for OSB, but I did not go so far as to get that working in Maven, though you certainly could. But, OSB PS6 has added a new tool called configjar which lets you build a sbconfig.jar file without needing to have eclipse/OEPE/OSB IDE installed on the machine where you are doing the build. You do still need OSB, but removing that IDE dependency is a big step forward.
You can find configjar sitting under your Oracle_OSB1/tools/configjar directory in your OSB PS6 installation. There is a readme file there that tells you how to use it from ANT and WLST. Here, I want to show you how to use it from Maven, and therefore Hudson, etc. too.
For this post, I went into the OSB IDE and created a simple project called osbProject1 which contains a single Proxy Service called (imaginatively) ProxyService1. It is just a plain old ‘any’ proxy service with essentially no implementation at all. But it is enough to do what we need to do. Read the full article here.
For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.
