------ Specifying the Mail Sender ------ Stephane Nicoll ------ 2011-03-30 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one ~~ or more contributor license agreements. See the NOTICE file ~~ distributed with this work for additional information ~~ regarding copyright ownership. The ASF licenses this file ~~ to you under the Apache License, Version 2.0 (the ~~ "License"); you may not use this file except in compliance ~~ with the License. You may obtain a copy of the License at ~~ ~~ http://www.apache.org/licenses/LICENSE-2.0 ~~ ~~ Unless required by applicable law or agreed to in writing, ~~ software distributed under the License is distributed on an ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~~ KIND, either express or implied. See the License for the ~~ specific language governing permissions and limitations ~~ under the License. ~~ NOTE: For help with the syntax of this file, see: ~~ http://maven.apache.org/doxia/references/apt-format.html Specifying the Mail Sender The identity used to send the announcement mail can be customized. It can be either a member of the <<<\>>> section of the POM or it can be specified explicitly with the <<<\>>> parameter of the plugin. * Specifying the developer to use To specify which developer is used to send the announcement, simply specify the <<>> of the developer as in the example below: +-----------------+ ... jsmith John Smith jsmith@foo.bar ... ... org.apache.maven.plugins maven-changes-plugin ${project.version} jsmith ... +-----------------+ If no developer <<>> is specified, the first <<<\>>> in the list will be used. You can also do this from the command line, if the person doing the release changes between releases. +-----------------+ mvn -Dchanges.fromDeveloperId=jsmith changes:announcement-mail +-----------------+ * Specifying the sender explicitly If you want to specify the sender explicitly and not rely on the <<>> section of your POM, define the <<>> parameter of the plugin. +-----------------+ ... org.apache.maven.plugins maven-changes-plugin ${project.version} Release Notification noreply@foo.bar ... +-----------------+