Project structure is following:
mvn clean package
then grab release artifacts in following places:
/spacewar-game/target/Space war.app /spacewar-dist/target/space-war.exe /spacewar-dist/target/space-war.jar
Manually upload files to sourceforge files section.
This documentation is published at https://space-war-2.sourceforge.io.
Here is described how to propagate changes in documentation to sourceforge site. procedure required shell account at sourceforge with access to project space-war-2. Replace [user] with correct user name.
In your home directory is file ~/.m2/settings.xml. If file doesn't exist crate new one. Edit server section:
<servers>
...
<server>
<id>spacewar.sf.net</id>
<username>[user]</username>
<password>s!cr!t</password>
</server>
...
</servers>This setting provide user name and password for ssh account at sourceforge server. New site documentation will be uploaded to this server.
ssh -t [user],space-war-2@shell.sourceforge.net create cd /home/project-web/space-war-2/htdocs/ rm -rf * exit
following command upload documentation to /home/project-web/space-war-2/htdocs/spacewar-site
mvn clean site-deploy
Documentation was generate to directory spacewar-site. It have to be moved to root directory.
ssh -t [user],space-war-2@shell.sourceforge.net cd /home/project-web/space-war-2/htdocs/ mv spacewar-site/* . exit
Verify that new documentation version is at space-war-2.sourceforge.io.