Fix shell permissions
[sdnc/oam.git] / 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>