Deploy Content To Sourceforge

First of all you have to create a shell:

ssh -t USER,PROJECT@shell.sourceforge.net create

Every time you want to deploy something you need to do this (Is there a workaround?) – this is strange …

File Release

Please look here for the official documentation. Or do:

scp FILE username@frs.sourceforge.net:uploads

After this you can add the file to a release.

Deploy Homepage

If you use maven for your project it is relative easy to deploy the content to sourceforge (although it was easier before the create-shell stuff):

  1. add the following snippet to the <project> node of your pom.xml:
    <distributionManagement>
    <site>
    <id>website</id>
    <url>scp://username@shell.sourceforge.net/home/groups/t/ti/timefinder/htdocs/</url>
    </site>
    </distributionManagement>
  2. mvn site:site
  3. mvn site:deploy

Or copy directly with scp:
scp *.jar username,timefinder@shell.sourceforge.net:/home/groups/t/ti/timefinder/htdocs/files

Userweb

To copy sth. to your personal website do:
scp FILE peat_hal@web.sourceforge.net:/home/users/p/pe/peat_hal/userweb/htdocs