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.

Upload the website

SCM information

Mailinglists and forums

Change report and issue tracking

In the pom.xml:

<issueManagement>
  <system>sourceforge</system><!--don't care-->
  <url>http://sourceforge.net/tracker/?group_id=61302</url>
</issueManagement>

Do not forget to set your own sourceforge group_id.

Then add the changes plugin to the reports:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-changes-plugin</artifactId>
  <inherited>false</inherited>
  <reportSets>
    <reportSet>
      <reports>
        <report>changes-report</report>
      </reports>
    </reportSet>
  </reportSets>
  <configuration>
    <issueLinkTemplate>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</issueLinkTemplate>
  </configuration>
</plugin>

Now in your change.xml, you can put:

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

This will generate a link for your issue by replacing %ISSUE% with issue attribut value. (With the previous example: http://sourceforge.net/support/tracker.php?aid=1554148)

Deploy the site