Runtimeapi dependency updates
[dcaegen2/platform.git] / mod / runtimeapi / runtime-web / pom.xml
index ff08ac1..722c36a 100644 (file)
@@ -25,7 +25,7 @@ limitations under the License.
                <version>1.0.1</version>
        </parent>
        <artifactId>runtime-web</artifactId>
-       <version>1.0.1</version>
+       <version>1.0.4-SNAPSHOT</version>
        <packaging>jar</packaging>
        <name>runtime-web</name>
        <description>MOD Runtime Web Module</description>
@@ -64,12 +64,12 @@ limitations under the License.
                <dependency>
                        <groupId>io.springfox</groupId>
                        <artifactId>springfox-swagger2</artifactId>
-                       <version>2.9.2</version>
+                       <version>2.10.5</version>
                </dependency>
                <dependency>
                        <groupId>io.springfox</groupId>
                        <artifactId>springfox-swagger-ui</artifactId>
-                       <version>2.9.2</version>
+                       <version>2.10.5</version>
                </dependency>
                <dependency>
                        <groupId>org.json</groupId>
@@ -118,6 +118,9 @@ limitations under the License.
                                                                <assembly>
                                                                        <descriptorRef>artifact</descriptorRef>
                                                                </assembly>
+                                                               <runCmds>
+                                                                 <runCmd>addgroup -g 1000 dcaemod &amp;&amp; adduser -s /bin/bash -u 1000 -G dcaemod -D dcaemod &amp;&amp; mkdir -p /maven/data &amp;&amp; chown -R dcaemod:dcaemod /maven/data</runCmd>
+                                                               </runCmds>
                                                                <workdir>/maven</workdir>
                                                                <volumes>
                                                                        <volume>/tmp</volume>
@@ -125,6 +128,7 @@ limitations under the License.
                                                                <ports>
                                                                        <port>9090</port>
                                                                </ports>
+                                                               <user>dcaemod</user>
                                                                <entryPoint>
                                                                        <exec>
                                                                                <arg>java</arg>