Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Maven and Sourceforge

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

Upload the website

SCM information

  • 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)
  • Add the scm information to your pom.xml (see This is an example if you use subversion:
    Code Block
  • Use
    Code Block
    mvn scm:validate
    to check your scm information
  • Use
    Code Block
    mvn scm:changelog
    , just to test the connection to sourceforge. If you get the error
    No Format
    svn: PROPFIND of '/svnroot/vigilog/trunk': Server certificate verification failed: issuer is not trusted (
    , then run the svn command manually: "svn log -v" and choose "accept permanently". After that, run the maven command again.

Mailinglists and forums

  • If you use mailinglists, you can add them to your pom.xml as follows:
    Code Block
        <name>JWebUnit Development Mailing list</name>
        <name>JWebUnit User Mailing list</name>
    Of course, you will need to add the maven-project-info-reports-plugin to your <reports/> section.

Change report and issue tracking

In the pom.xml:

Code Block
  <system>sourceforge</system><!--don't care-->

Do not forget to set your own sourceforge group_id.

Then add the changes plugin to the reports:

Code Block

Now in your change.xml, you can put:

Code Block
<action type="fix" dev="Julien Henry" due-to="Pete Bull" issue="1554148">
               bla bla

This will generate a link for your issue by replacing %ISSUE% with issue attribut value. (With the previous example:

Deploy the site

  • Add a distribution management section to your pom.xml:
    Code Block
    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.
  • Put this section in your settings.xml. Make sure the id's match!
    Code Block
    Replace username and password ofcourse.
    Sidenote: the "775" means owning user can do anything, all users of the owning group
    can do anything, anybody else can read and execute. This is important if you want others (besides yourself) to be able to update the website.
  • Deploy your website by using "mvn site:deploy"
    You will get a warning "The authenticity of host '' can't be established.", but just type "yes" to continue.