How can I deploy artifacts from a Maven build to the SourceForge File Release System?

后端 未结 9 1310
耶瑟儿~
耶瑟儿~ 2020-12-31 11:28

I am using SourceForge for some Open Source projects and I want to automate the deployment of releases to the SourceForge File Release System. I use Maven for my builds and

9条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-31 11:49

    Where timp = user and webmacro = project

    scp url does not work:

    scp://timp,webmacro@shell.sourceforge.net:/home/groups/w/we/webmacro/htdocs/maven2/
    

    sftp url works:

     sftp://timp,webmacro@web.sourceforge.net:/home/groups/w/we/webmacro/htdocs/maven2
    

    or for project release artifacts:

    sftp://timp,webmacro@web.sourceforge.net:/home/frs/project/w/we/webmacro/releases
    

    scp will work to shell.sourceforge.net, but you have to create the shell before use with

    ssh -t timp,webmacro@shell.sourceforge.net create
    

提交回复
热议问题