Upgraded archetype pom.xml files to use onos-maven-plugin v 1.5.0

Change-Id: Idf1f386b24166f9212a4cb589c311bb77d4b4d4a
diff --git a/tools/package/archetypes/ui/src/main/resources/archetype-resources/pom.xml b/tools/package/archetypes/ui/src/main/resources/archetype-resources/pom.xml
index 9ff1f62..1c4deec 100644
--- a/tools/package/archetypes/ui/src/main/resources/archetype-resources/pom.xml
+++ b/tools/package/archetypes/ui/src/main/resources/archetype-resources/pom.xml
@@ -118,6 +118,13 @@
                         </goals>
                     </execution>
                     <execution>
+                        <id>swagger</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>swagger</goal>
+                        </goals>
+                    </execution>
+                    <execution>
                         <id>app</id>
                         <phase>package</phase>
                         <goals>