summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-10-13 15:21:39 -0400
committerDan Timoney <dtimoney@att.com>2017-10-13 15:21:39 -0400
commitb9e83935cbb19d62730d855cf0e1efbff3ee664d (patch)
treea67e96b61d8e34750ee5daef6af109baf2e1d949
parent08053613014cc2c1f9e94ec14fdc0d551fc5e63f (diff)
Fix ueb-listener permissions
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
-rw-r--r--installation/ueb-listener/pom.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/installation/ueb-listener/pom.xml b/installation/ueb-listener/pom.xml
index 722840b1..ac602c3a 100644
--- a/installation/ueb-listener/pom.xml
+++ b/installation/ueb-listener/pom.xml
@@ -155,7 +155,36 @@
</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>