Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Maven and Sourceforge

This page is a starting point for anyone that uses Maven and sourceforge.net. The intention is to provide a step-by-step guide on deploying your site and your files using Maven onto sourceforge.net.

On Windows

  • Download and install putty(Easiest is to use the windows installer)
  • Install svn itself (not only tortoiseSVN, otherwise you get an error from the scm plugin)
  • Use
    to check your scm information
  • Use
    , just to test the connection to sourceforge. If you get the error
    svn: PROPFIND of '/svnroot/vigilog/trunk': Server certificate verification failed: issuer is not trusted (https://svn.sourceforge.net)
    
    , then run the svn command manually: "svn log -v https://svn.sourceforge.net/svnroot/vigilog/trunk" and choose "accept permanently". After that, run the maven command again.
  • Add a distribution management section to your pom.xml:

Replace "festerwim" with your own username and also use the correct directory for your own project. Note that you have to use lowercase for the directories, otherwise the Maven plugin will try to create directories where it has no permissions.

  • Deploy your website by using "mvn site:deploy"
  • No labels