Fix shell permissions 67/44967/1
authorTimoney, Dan (dt5972) <dt5972@att.com>
Thu, 26 Apr 2018 19:58:05 +0000 (15:58 -0400)
committerTimoney, Dan (dt5972) <dt5972@att.com>
Thu, 26 Apr 2018 19:58:05 +0000 (15:58 -0400)
Set execute permission on shell script

Change-Id: I5b2d94067f8a77fbfb1d2310368f1b1d78a2b834
Issue-ID: SDNC-288
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: d83d0cdc37715ce9547b8896cc31915f1c5c6da5

installation/ansible-server/pom.xml

index 76ee8aa..6078a2c 100644 (file)
                 <version>1.5.0</version>
                 <executions>
                     <execution>
-                        <id>change shell permissions</id>
+                        <id>change python permissions</id>
                         <phase>process-sources</phase>
                         <goals>
                             <goal>exec</goal>
                             </arguments>
                         </configuration>
                     </execution>
+                       <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>