Allow OAR file rule to use non-OSGI jars

Change-Id: If2a82bdb5b217270ca02760f1c6cfc6f8f0dc7da
diff --git a/buck-tools/onos_oar.py b/buck-tools/onos_oar.py
index 4e56888..30f70f5 100755
--- a/buck-tools/onos_oar.py
+++ b/buck-tools/onos_oar.py
@@ -11,7 +11,10 @@
             if mvnCoords == 'NONE':
                 dest = filename
             else:
-                groupId, artifactId, version = mvnCoords.split(':')
+                parts = mvnCoords.split(':')
+                if len(parts) > 3:
+                    parts.insert(2, parts.pop()) # move version to the 3rd position
+                groupId, artifactId, version = parts[0:3]
                 groupId = groupId.replace('.', '/')
                 extension = filename.split('.')[-1]
                 if extension == 'jar':