How to set secret ftp password for the deploy phase of a build pipeline (Maven)

I got an error, Gitlab doesn’t know my ftp password and I don’t know how to do. Ftp upload is defined in pom and the password in local “settings.xml”.

My lack of knowledge at this point took me here to ask this question. How to do?

21965 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project montemedia: Failed to deploy artifacts: Could not transfer artifact ch.randelshofer:montemedia:jar:0.7.7 from/to ftp-repository (ftp://ftp.tetede.co/m2repository): Password not specified for repository ftp-repository -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project montemedia: Failed to deploy artifacts: Could not transfer artifact ch.randelshofer:montemedia:jar:0.7.7 from/to ftp-repository (ftp://ftp.tetede.co/m2repository): Password not specified for repository ftp-repository
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)