How to release more than one package

It's possible to upload and release to more than one package with different files - all build during one site:generate cycle.

To do that, you need to customize your maven.xml file.

Example:

<goal name="dbforms:fileset:dbforms">
  <fileScanner var="maven.sourceforge.distFileList">
  <fileset dir="${maven.dist.dir}">
  <patternset>
  <include name="dbforms*"/>
  </patternset>
  </fileset>
  </fileScanner>
</goal>

<goal name="dbforms:fileset:examples">
  <fileScanner var="maven.sourceforge.distFileList">
  <fileset dir="${maven.dist.dir}">
  <patternset>
  <include name="bookstore*"/>
  <include name="testsuite*"/>
  <include name="bugtracker*"/>
  </patternset>
  </fileset>
  </fileScanner>
</goal>

<goal name="dbforms:release" description="creates a new SF release">
  <attainGoal name="sourceforge:changes"/>
  <attainGoal name="dbforms:fileset:dbforms"/>
  <j:set var="maven.sourceforge.project.packageName" value="dbforms" />
  <attainGoal name="sourceforge:upload"/>
  <attainGoal name="sourceforge:release"/>
  <attainGoal name="dbforms:fileset:examples"/>
  <j:set var="maven.sourceforge.project.packageName" value="dbforms-examples" />
  <attainGoal name="sourceforge:upload"/>
  <attainGoal name="sourceforge:release"/>
</goal>