Fix ueb-listener permissions 11/18811/1
authorDan Timoney <dtimoney@att.com>
Fri, 13 Oct 2017 19:21:39 +0000 (15:21 -0400)
committerDan Timoney <dtimoney@att.com>
Fri, 13 Oct 2017 19:21:39 +0000 (15:21 -0400)
Fix permissions on ueb-listener start script to allow
docker container to start properly.

Change-Id: I5c559644e26dddadebe515616ca5c1df8502f33a
Issue-ID: SDNC-116
Signed-off-by: Dan Timoney <dtimoney@att.com>
Former-commit-id: 4734972ee14f2181c7945154cab8b2a040e45af0

installation/ueb-listener/pom.xml

index 722840b..ac602c3 100644 (file)
                 </executions>
             </plugin>
 
+            <plugin>
+                <artifactId>exec-maven-plugin</artifactId>
+                <groupId>org.codehaus.mojo</groupId>
+                <version>1.5.0</version>
+                <executions>
+
 
+
+                    <execution>
+                        <id>change shell permissions</id>
+                        <phase>process-sources</phase>
+                        <goals>
+                            <goal>exec</goal>
+                        </goals>
+                        <configuration>
+                            <executable>/usr/bin/find</executable>
+                            <arguments>
+                                <argument>${basedir}/target/docker-stage/opt/onap/sdnc</argument>
+                                <argument>-name</argument>
+                                <argument>*.sh</argument>
+                                <argument>-exec</argument>
+                                <argument>chmod</argument>
+                                <argument>+x</argument>
+                                <argument>{}</argument>
+                                <argument>;</argument>
+                            </arguments>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
 
     </build>