Drone ci java source code maven build using ssh runner

Hi,
I am trying to implement maven build on a vm using ssh runner with drone.but facing issue with rto clone task.
kind: pipeline
type: ssh
name: default
server:
host: 65.52.34.188
user: haripreethi
password:
from_secret: ssh_password
steps:

  • name: build
    pom-file: ‘/myapp/pom.xml’
    commands:
    • mvn -f ‘myapp/pom.xml’
    • mvn clean install

issue is

  • mvn clean install
    2 [INFO] Scanning for projects…
    3 [INFO] ------------------------------------------------------------------------
    4 [INFO] BUILD FAILURE
    5 [INFO] ------------------------------------------------------------------------
    6 [INFO] Total time: 0.114 s
    7
    8 [INFO] Finished at: 2021-08-11T07:57:38Z
    9 [INFO] ------------------------------------------------------------------------
    10 [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/tmp/drone-p9WSBCgJUZYE0qWo/drone/src). Please verify you invoked Maven from the correct directory. → [Help 1]
    11 [ERROR]
    12 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    13 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    14 [ERROR]
    15 [ERROR] For more information about the errors and possible solutions, please read the following articles:
    16 [ERROR] [Help 1] MissingProjectException - Apache Maven - Apache Software Foundation


http://65.52.34.188/haripreethisagar/AXA_WEB_APP/4/1/2