Property Settings

PropertyOptional?Description
maven.sourceforge.project.groupId Yes This is the project group ID of your Sourceforge project.

Set this to the appropriate value. You can find this value in the Admin Summary page of your project. If you do not set this then the groupId is calculated from maven.sourceforge.project.name.
maven.sourceforge.project.name Yes This is the project UNIX name of your Sourceforge project.

Default is the groupId from the project.xml. If you set maven.sourceforge.project.groupId then you do not need this property.
maven.sourceforge.project.packageName Yes The package name to use for the File Release System.

Defaults to the artifactId from the project.xml.
maven.sourceforge.project.version Yes The release name (version) to use for the File Release System.

Defaults to the current project version from the project.xml.
maven.sourceforge.overwriteExistingVersion Yes Set to true if you want to allow the plugin to overwrite an existing release version.

This is a safety property that prevents a misconfiguration from destroying old versions. Defaults to false.
maven.sourceforge.username Yes The user name to use for login on the SourceForge website.

Defaults to ${maven.userName}
maven.sourceforge.password No The password to use to login on the SourceForge website.

It is strongly recommanded to define those properties, in particular the password, either for the command line arguments, -Dmaven.sourceforge.password=mypassword or in the file ${user.home}/build.properties
maven.sourceforge.publish.includes

maven.sourceforge.publish.excludes
Yes The files to upload to sourceforge when using the deploy goal.

These properties define an ant include/exclude pair of files to upload and deploy. The settings are only used by the deploy and preparefiles goals.

The values are paths relative to the target directory. The default value is to include the zip and gz files from the distributions subdirectory. You can change this, for example is you just wanted to release the jar file and the src distribution.

Example values might be *.jar or distributions/*-src.zip.
maven.sourceforge.userEmail Yes The email of the user (used when logging on SoureForge FTP server).

Defaults to ${maven.sourceforge.username}@users.sourceforge.net
maven.proxy.host Yes The IP or address of your proxy, if you are connecting to internet via a proxy. Define this property in the file ${user.home}/build.properties
maven.proxy.port Yes The port number of your proxy if you are connecting to internet via a proxy. Define this property in the file ${user.home}/build.properties
maven.proxy.username Yes User name if your proxy requires authentication. Define this property in the file ${user.home}/build.properties
maven.proxy.password Yes Password if your proxy requires authentication. Define this property in the file ${user.home}/build.properties
maven.proxy.ntdomain Yes The proxy NT domain for authentification on M$ proxy. Define this property in the file ${user.home}/build.properties
maven.sourceforge.project.releaseNotes Yes Name of the release notes files to include with the release.

Defaults to RELEASE-NOTES.txt
maven.sourceforge.project.changeNotes Yes Name of the changes file to include with the release.

This is generated automatically from the changes.xml file if present. Defaults to ${maven.build.dir}/CHANGES.txt
maven.sourceforge.project.sendEmailNotice Yes Set to false if you don't want to send an email notice for the release.

Default is true.
maven.sourceforge.project.submitNewsItem Yes Set to true if you want to submit a news item for the release.

Default is false. If true, then maven.sourceforge.project.releaseNotes is mandatory and must point to an existing file. Also, maven.sourceforge.project.newsTitle is mandatory.
maven.sourceforge.project.newsTitle Yes The title for news items.

The news item title will be "{newsTitle} {version} released". Defaults to the project name.