Fix appc deployment build failure 09/3309/2
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Tue, 11 Apr 2017 09:26:47 +0000 (14:56 +0530)
committerKanagaraj Manickam <kanagaraj.manickam@huawei.com>
Tue, 11 Apr 2017 10:13:22 +0000 (10:13 +0000)
basic unix command such as bash, find are hard coded
with complete path which causes build failure. As these
commands are always available in system path, the
hard-coded path is removed to pass the build

Change-Id: I37d1a112dfce811c1074bb7f3af2865b3d221381
Signed-off-by: Kanagaraj Manickam <kanagaraj.manickam@huawei.com>
installation/appc/pom.xml

index 130a093..4df9516 100644 (file)
                                                        <goal>exec</goal>
                                                </goals>
                                                <configuration>
-                                                       <executable>/bin/bash</executable>
+                                                       <executable>bash</executable>
                                                        <environmentVariables>
                                                                <APPC_VERSION>${appc.version}</APPC_VERSION>
                                                                <APPC_OAM_VERSION>${project.version}</APPC_OAM_VERSION>
                                                        <goal>exec</goal>
                                                </goals>
                                                <configuration>
-                                                       <executable>/usr/bin/find</executable>
+                                                       <executable>find</executable>
                                                        <arguments>
                                                                <argument>${basedir}/target/docker-stage/opt/openecomp/appc</argument>
                                                                <argument>-name</argument>
                                                                        <goal>exec</goal>
                                                                </goals>
                                                                <configuration>
-                                                                       <executable>/bin/bash</executable>
+                                                                       <executable>bash</executable>
                                                                        <environmentVariables>
                                                                                <APPC_VERSION>${appc.version}</APPC_VERSION>
                                                                                <APPC_OAM_VERSION>${project.version}</APPC_OAM_VERSION>