maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r816538 [28/32] - in /websites/production/maventest/content/plugins/maven-release-plugin-latest: ./ apidocs/ apidocs/org/apache/maven/plugins/release/ apidocs/org/apache/maven/plugins/release/class-use/ cobertura/ css/ examples/ testapidocs...
Date Tue, 08 May 2012 11:42:45 GMT
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/AbstractReleaseMojo.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/AbstractReleaseMojo.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/AbstractReleaseMojo.html Tue May  8 11:42:40 2012
@@ -103,21 +103,21 @@
 <a class="jxr_linenumber" name="93" href="#93">93</a>      <strong class="jxr_keyword">private</strong> String tagBase;
 <a class="jxr_linenumber" name="94" href="#94">94</a>  
 <a class="jxr_linenumber" name="95" href="#95">95</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="96" href="#96">96</a>  <em class="jxr_javadoccomment">     * @parameter expression="${basedir}"</em>
+<a class="jxr_linenumber" name="96" href="#96">96</a>  <em class="jxr_javadoccomment">     * @parameter default-value="${basedir}"</em>
 <a class="jxr_linenumber" name="97" href="#97">97</a>  <em class="jxr_javadoccomment">     * @required</em>
 <a class="jxr_linenumber" name="98" href="#98">98</a>  <em class="jxr_javadoccomment">     * @readonly</em>
 <a class="jxr_linenumber" name="99" href="#99">99</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="100" href="#100">100</a>     <strong class="jxr_keyword">protected</strong> File basedir;
+<a class="jxr_linenumber" name="100" href="#100">100</a>     <strong class="jxr_keyword">private</strong> File basedir;
 <a class="jxr_linenumber" name="101" href="#101">101</a> 
 <a class="jxr_linenumber" name="102" href="#102">102</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="103" href="#103">103</a> <em class="jxr_javadoccomment">     * @parameter expression="${settings}"</em>
+<a class="jxr_linenumber" name="103" href="#103">103</a> <em class="jxr_javadoccomment">     * @parameter default-value="${settings}"</em>
 <a class="jxr_linenumber" name="104" href="#104">104</a> <em class="jxr_javadoccomment">     * @required</em>
 <a class="jxr_linenumber" name="105" href="#105">105</a> <em class="jxr_javadoccomment">     * @readonly</em>
 <a class="jxr_linenumber" name="106" href="#106">106</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="107" href="#107">107</a>     <strong class="jxr_keyword">protected</strong> Settings settings;
+<a class="jxr_linenumber" name="107" href="#107">107</a>     <strong class="jxr_keyword">private</strong> Settings settings;
 <a class="jxr_linenumber" name="108" href="#108">108</a> 
 <a class="jxr_linenumber" name="109" href="#109">109</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="110" href="#110">110</a> <em class="jxr_javadoccomment">     * @parameter expression="${project}"</em>
+<a class="jxr_linenumber" name="110" href="#110">110</a> <em class="jxr_javadoccomment">     * @parameter default-value="${project}"</em>
 <a class="jxr_linenumber" name="111" href="#111">111</a> <em class="jxr_javadoccomment">     * @required</em>
 <a class="jxr_linenumber" name="112" href="#112">112</a> <em class="jxr_javadoccomment">     * @readonly</em>
 <a class="jxr_linenumber" name="113" href="#113">113</a> <em class="jxr_javadoccomment">     */</em>
@@ -151,117 +151,117 @@
 <a class="jxr_linenumber" name="141" href="#141">141</a>     <strong class="jxr_keyword">private</strong> String scmCommentPrefix;
 <a class="jxr_linenumber" name="142" href="#142">142</a> 
 <a class="jxr_linenumber" name="143" href="#143">143</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="144" href="#144">144</a> <em class="jxr_javadoccomment">     * @parameter expression="${reactorProjects}"</em>
+<a class="jxr_linenumber" name="144" href="#144">144</a> <em class="jxr_javadoccomment">     * @parameter default-value="${reactorProjects}"</em>
 <a class="jxr_linenumber" name="145" href="#145">145</a> <em class="jxr_javadoccomment">     * @required</em>
 <a class="jxr_linenumber" name="146" href="#146">146</a> <em class="jxr_javadoccomment">     * @readonly</em>
 <a class="jxr_linenumber" name="147" href="#147">147</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="148" href="#148">148</a>     <strong class="jxr_keyword">protected</strong> List reactorProjects;
+<a class="jxr_linenumber" name="148" href="#148">148</a>     <strong class="jxr_keyword">private</strong> List&lt;MavenProject&gt; reactorProjects;
 <a class="jxr_linenumber" name="149" href="#149">149</a> 
 <a class="jxr_linenumber" name="150" href="#150">150</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="151" href="#151">151</a> <em class="jxr_javadoccomment">     * List of provider implementations.</em>
-<a class="jxr_linenumber" name="152" href="#152">152</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="153" href="#153">153</a> <em class="jxr_javadoccomment">     * @parameter</em>
-<a class="jxr_linenumber" name="154" href="#154">154</a> <em class="jxr_javadoccomment">     * @since 2.0-beta-6</em>
-<a class="jxr_linenumber" name="155" href="#155">155</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="156" href="#156">156</a>     <strong class="jxr_keyword">private</strong> Map providerImplementations;
-<a class="jxr_linenumber" name="157" href="#157">157</a> 
-<a class="jxr_linenumber" name="158" href="#158">158</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="159" href="#159">159</a> <em class="jxr_javadoccomment">     * The M2_HOME parameter to use for forked Maven invocations.</em>
-<a class="jxr_linenumber" name="160" href="#160">160</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="161" href="#161">161</a> <em class="jxr_javadoccomment">     * @parameter default-value="${maven.home}"</em>
-<a class="jxr_linenumber" name="162" href="#162">162</a> <em class="jxr_javadoccomment">     * @since 2.0-beta-8</em>
-<a class="jxr_linenumber" name="163" href="#163">163</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="164" href="#164">164</a>     <strong class="jxr_keyword">protected</strong> File mavenHome;
-<a class="jxr_linenumber" name="165" href="#165">165</a> 
-<a class="jxr_linenumber" name="166" href="#166">166</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="167" href="#167">167</a> <em class="jxr_javadoccomment">     * The JAVA_HOME parameter to use for forked Maven invocations.</em>
-<a class="jxr_linenumber" name="168" href="#168">168</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="169" href="#169">169</a> <em class="jxr_javadoccomment">     * @parameter default-value="${java.home}"</em>
-<a class="jxr_linenumber" name="170" href="#170">170</a> <em class="jxr_javadoccomment">     * @since 2.0-beta-8</em>
-<a class="jxr_linenumber" name="171" href="#171">171</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="172" href="#172">172</a>     <strong class="jxr_keyword">protected</strong> File javaHome;
-<a class="jxr_linenumber" name="173" href="#173">173</a> 
-<a class="jxr_linenumber" name="174" href="#174">174</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="175" href="#175">175</a> <em class="jxr_javadoccomment">     * The command-line local repository directory in use for this build (if specified).</em>
-<a class="jxr_linenumber" name="176" href="#176">176</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="177" href="#177">177</a> <em class="jxr_javadoccomment">     * @parameter default-value="${maven.repo.local}"</em>
-<a class="jxr_linenumber" name="178" href="#178">178</a> <em class="jxr_javadoccomment">     * @since 2.0-beta-8</em>
-<a class="jxr_linenumber" name="179" href="#179">179</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="180" href="#180">180</a>     <strong class="jxr_keyword">protected</strong> File localRepoDirectory;
-<a class="jxr_linenumber" name="181" href="#181">181</a> 
-<a class="jxr_linenumber" name="182" href="#182">182</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="183" href="#183">183</a> <em class="jxr_javadoccomment">     * Role hint of the {@link org.apache.maven.shared.release.exec.MavenExecutor} implementation to use.</em>
-<a class="jxr_linenumber" name="184" href="#184">184</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="185" href="#185">185</a> <em class="jxr_javadoccomment">     * @parameter expression="${mavenExecutorId}" default-value="invoker"</em>
-<a class="jxr_linenumber" name="186" href="#186">186</a> <em class="jxr_javadoccomment">     * @since 2.0-beta-8</em>
-<a class="jxr_linenumber" name="187" href="#187">187</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="188" href="#188">188</a>     <strong class="jxr_keyword">protected</strong> String mavenExecutorId;
-<a class="jxr_linenumber" name="189" href="#189">189</a> 
-<a class="jxr_linenumber" name="190" href="#190">190</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="191" href="#191">191</a> <em class="jxr_javadoccomment">     * Use a local checkout instead of doing a checkout from the upstream repository.</em>
-<a class="jxr_linenumber" name="192" href="#192">192</a> <em class="jxr_javadoccomment">     * ATTENTION: This will only work with distributed SCMs which support the file:// protocol</em>
-<a class="jxr_linenumber" name="193" href="#193">193</a> <em class="jxr_javadoccomment">     * like e.g. git, jgit or hg!</em>
-<a class="jxr_linenumber" name="194" href="#194">194</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="195" href="#195">195</a> <em class="jxr_javadoccomment">     * TODO: we should think about having the defaults for the various SCM providers provided via modello!</em>
+<a class="jxr_linenumber" name="151" href="#151">151</a> <em class="jxr_javadoccomment">     * Add a new or overwrite the default implementation per provider. </em>
+<a class="jxr_linenumber" name="152" href="#152">152</a> <em class="jxr_javadoccomment">     * The key is the scm prefix and the value is the role hint of the {@link org.apache.maven.scm.provider.ScmProvider}.</em>
+<a class="jxr_linenumber" name="153" href="#153">153</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="154" href="#154">154</a> <em class="jxr_javadoccomment">     * @parameter</em>
+<a class="jxr_linenumber" name="155" href="#155">155</a> <em class="jxr_javadoccomment">     * @since 2.0-beta-6</em>
+<a class="jxr_linenumber" name="156" href="#156">156</a> <em class="jxr_javadoccomment">     * @see ScmManager#setScmProviderImplementation(String, String)</em>
+<a class="jxr_linenumber" name="157" href="#157">157</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="158" href="#158">158</a>     <strong class="jxr_keyword">private</strong> Map&lt;String, String&gt; providerImplementations;
+<a class="jxr_linenumber" name="159" href="#159">159</a> 
+<a class="jxr_linenumber" name="160" href="#160">160</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="161" href="#161">161</a> <em class="jxr_javadoccomment">     * The {@code M2_HOME} parameter to use for forked Maven invocations.</em>
+<a class="jxr_linenumber" name="162" href="#162">162</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="163" href="#163">163</a> <em class="jxr_javadoccomment">     * @parameter default-value="${maven.home}"</em>
+<a class="jxr_linenumber" name="164" href="#164">164</a> <em class="jxr_javadoccomment">     * @since 2.0-beta-8</em>
+<a class="jxr_linenumber" name="165" href="#165">165</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="166" href="#166">166</a>     <strong class="jxr_keyword">protected</strong> File mavenHome;
+<a class="jxr_linenumber" name="167" href="#167">167</a> 
+<a class="jxr_linenumber" name="168" href="#168">168</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="169" href="#169">169</a> <em class="jxr_javadoccomment">     * The {@code JAVA_HOME} parameter to use for forked Maven invocations.</em>
+<a class="jxr_linenumber" name="170" href="#170">170</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="171" href="#171">171</a> <em class="jxr_javadoccomment">     * @parameter default-value="${java.home}"</em>
+<a class="jxr_linenumber" name="172" href="#172">172</a> <em class="jxr_javadoccomment">     * @since 2.0-beta-8</em>
+<a class="jxr_linenumber" name="173" href="#173">173</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="174" href="#174">174</a>     <strong class="jxr_keyword">private</strong> File javaHome;
+<a class="jxr_linenumber" name="175" href="#175">175</a> 
+<a class="jxr_linenumber" name="176" href="#176">176</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="177" href="#177">177</a> <em class="jxr_javadoccomment">     * The command-line local repository directory in use for this build (if specified).</em>
+<a class="jxr_linenumber" name="178" href="#178">178</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="179" href="#179">179</a> <em class="jxr_javadoccomment">     * @parameter default-value="${maven.repo.local}"</em>
+<a class="jxr_linenumber" name="180" href="#180">180</a> <em class="jxr_javadoccomment">     * @since 2.0-beta-8</em>
+<a class="jxr_linenumber" name="181" href="#181">181</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="182" href="#182">182</a>     <strong class="jxr_keyword">private</strong> File localRepoDirectory;
+<a class="jxr_linenumber" name="183" href="#183">183</a> 
+<a class="jxr_linenumber" name="184" href="#184">184</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="185" href="#185">185</a> <em class="jxr_javadoccomment">     * Role hint of the {@link org.apache.maven.shared.release.exec.MavenExecutor} implementation to use.</em>
+<a class="jxr_linenumber" name="186" href="#186">186</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="187" href="#187">187</a> <em class="jxr_javadoccomment">     * @parameter expression="${mavenExecutorId}" default-value="invoker"</em>
+<a class="jxr_linenumber" name="188" href="#188">188</a> <em class="jxr_javadoccomment">     * @since 2.0-beta-8</em>
+<a class="jxr_linenumber" name="189" href="#189">189</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="190" href="#190">190</a>     <strong class="jxr_keyword">private</strong> String mavenExecutorId;
+<a class="jxr_linenumber" name="191" href="#191">191</a> 
+<a class="jxr_linenumber" name="192" href="#192">192</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="193" href="#193">193</a> <em class="jxr_javadoccomment">     * Use a local checkout instead of doing a checkout from the upstream repository.</em>
+<a class="jxr_linenumber" name="194" href="#194">194</a> <em class="jxr_javadoccomment">     * ATTENTION: This will only work with distributed SCMs which support the file:// protocol</em>
+<a class="jxr_linenumber" name="195" href="#195">195</a> <em class="jxr_javadoccomment">     * like e.g. git, jgit or hg!</em>
 <a class="jxr_linenumber" name="196" href="#196">196</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="197" href="#197">197</a> <em class="jxr_javadoccomment">     * @parameter expression="${localCheckout}" default-value="false"</em>
-<a class="jxr_linenumber" name="198" href="#198">198</a> <em class="jxr_javadoccomment">     * @since 2.0</em>
-<a class="jxr_linenumber" name="199" href="#199">199</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="200" href="#200">200</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> localCheckout;
-<a class="jxr_linenumber" name="201" href="#201">201</a>     
-<a class="jxr_linenumber" name="202" href="#202">202</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="203" href="#203">203</a> <em class="jxr_javadoccomment">     * Implemented with git will or not push changes to the upstream repository.</em>
-<a class="jxr_linenumber" name="204" href="#204">204</a> <em class="jxr_javadoccomment">     * &lt;code&gt;true&lt;/code&gt; by default to preserve backward compatibility.</em>
-<a class="jxr_linenumber" name="205" href="#205">205</a> <em class="jxr_javadoccomment">     * @parameter expression="${pushChanges}" default-value="true"</em>
-<a class="jxr_linenumber" name="206" href="#206">206</a> <em class="jxr_javadoccomment">     * @since 2.1</em>
-<a class="jxr_linenumber" name="207" href="#207">207</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="208" href="#208">208</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> pushChanges = <strong class="jxr_keyword">true</strong>;
-<a class="jxr_linenumber" name="209" href="#209">209</a> 
-<a class="jxr_linenumber" name="210" href="#210">210</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="211" href="#211">211</a> <em class="jxr_javadoccomment">     * The SCM manager.</em>
-<a class="jxr_linenumber" name="212" href="#212">212</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="213" href="#213">213</a> <em class="jxr_javadoccomment">     * @component</em>
-<a class="jxr_linenumber" name="214" href="#214">214</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="215" href="#215">215</a>     <strong class="jxr_keyword">private</strong> ScmManager scmManager;
-<a class="jxr_linenumber" name="216" href="#216">216</a> 
-<a class="jxr_linenumber" name="217" href="#217">217</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="218" href="#218">218</a> <em class="jxr_javadoccomment">     * @parameter expression="${session}"</em>
-<a class="jxr_linenumber" name="219" href="#219">219</a> <em class="jxr_javadoccomment">     * @readonly</em>
-<a class="jxr_linenumber" name="220" href="#220">220</a> <em class="jxr_javadoccomment">     * @required</em>
-<a class="jxr_linenumber" name="221" href="#221">221</a> <em class="jxr_javadoccomment">     * @since 2.0</em>
-<a class="jxr_linenumber" name="222" href="#222">222</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="223" href="#223">223</a>     <strong class="jxr_keyword">protected</strong> MavenSession session;
-<a class="jxr_linenumber" name="224" href="#224">224</a> 
-<a class="jxr_linenumber" name="225" href="#225">225</a> 
-<a class="jxr_linenumber" name="226" href="#226">226</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="227" href="#227">227</a> <em class="jxr_javadoccomment">     * Gets the enviroment settings configured for this release.</em>
-<a class="jxr_linenumber" name="228" href="#228">228</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="229" href="#229">229</a> <em class="jxr_javadoccomment">     * @return The release environment, never &lt;code&gt;null&lt;/code&gt;.</em>
-<a class="jxr_linenumber" name="230" href="#230">230</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="231" href="#231">231</a>     <strong class="jxr_keyword">protected</strong> ReleaseEnvironment getReleaseEnvironment()
-<a class="jxr_linenumber" name="232" href="#232">232</a>     {
-<a class="jxr_linenumber" name="233" href="#233">233</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> DefaultReleaseEnvironment().setSettings( settings )
-<a class="jxr_linenumber" name="234" href="#234">234</a>                                               .setJavaHome( javaHome )
-<a class="jxr_linenumber" name="235" href="#235">235</a>                                               .setMavenHome( mavenHome )
-<a class="jxr_linenumber" name="236" href="#236">236</a>                                               .setLocalRepositoryDirectory( localRepoDirectory )
-<a class="jxr_linenumber" name="237" href="#237">237</a>                                               .setMavenExecutorId( mavenExecutorId );
-<a class="jxr_linenumber" name="238" href="#238">238</a>     }
-<a class="jxr_linenumber" name="239" href="#239">239</a> 
-<a class="jxr_linenumber" name="240" href="#240">240</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="241" href="#241">241</a> <em class="jxr_javadoccomment">     * {@inheritDoc}</em>
-<a class="jxr_linenumber" name="242" href="#242">242</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="243" href="#243">243</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> execute()
-<a class="jxr_linenumber" name="244" href="#244">244</a>         <strong class="jxr_keyword">throws</strong> MojoExecutionException, MojoFailureException
-<a class="jxr_linenumber" name="245" href="#245">245</a>     {
-<a class="jxr_linenumber" name="246" href="#246">246</a>         <strong class="jxr_keyword">if</strong> ( providerImplementations != <strong class="jxr_keyword">null</strong> )
-<a class="jxr_linenumber" name="247" href="#247">247</a>         {
-<a class="jxr_linenumber" name="248" href="#248">248</a>             <strong class="jxr_keyword">for</strong> ( Iterator i = providerImplementations.keySet().iterator(); i.hasNext(); )
-<a class="jxr_linenumber" name="249" href="#249">249</a>             {
-<a class="jxr_linenumber" name="250" href="#250">250</a>                 String providerType = (String) i.next();
-<a class="jxr_linenumber" name="251" href="#251">251</a>                 String providerImplementation = (String) providerImplementations.get( providerType );
-<a class="jxr_linenumber" name="252" href="#252">252</a>                 getLog().info( <span class="jxr_string">"Change the default '"</span> + providerType + <span class="jxr_string">"' provider implementation to '"</span>
-<a class="jxr_linenumber" name="253" href="#253">253</a>                     + providerImplementation + <span class="jxr_string">"'."</span> );
-<a class="jxr_linenumber" name="254" href="#254">254</a>                 scmManager.setScmProviderImplementation( providerType, providerImplementation );
+<a class="jxr_linenumber" name="197" href="#197">197</a> <em class="jxr_javadoccomment">     * TODO: we should think about having the defaults for the various SCM providers provided via modello!</em>
+<a class="jxr_linenumber" name="198" href="#198">198</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="199" href="#199">199</a> <em class="jxr_javadoccomment">     * @parameter expression="${localCheckout}" default-value="false"</em>
+<a class="jxr_linenumber" name="200" href="#200">200</a> <em class="jxr_javadoccomment">     * @since 2.0</em>
+<a class="jxr_linenumber" name="201" href="#201">201</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="202" href="#202">202</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> localCheckout;
+<a class="jxr_linenumber" name="203" href="#203">203</a>     
+<a class="jxr_linenumber" name="204" href="#204">204</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="205" href="#205">205</a> <em class="jxr_javadoccomment">     * Implemented with git will or not push changes to the upstream repository.</em>
+<a class="jxr_linenumber" name="206" href="#206">206</a> <em class="jxr_javadoccomment">     * &lt;code&gt;true&lt;/code&gt; by default to preserve backward compatibility.</em>
+<a class="jxr_linenumber" name="207" href="#207">207</a> <em class="jxr_javadoccomment">     * @parameter expression="${pushChanges}" default-value="true"</em>
+<a class="jxr_linenumber" name="208" href="#208">208</a> <em class="jxr_javadoccomment">     * @since 2.1</em>
+<a class="jxr_linenumber" name="209" href="#209">209</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="210" href="#210">210</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> pushChanges = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="211" href="#211">211</a> 
+<a class="jxr_linenumber" name="212" href="#212">212</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="213" href="#213">213</a> <em class="jxr_javadoccomment">     * The SCM manager.</em>
+<a class="jxr_linenumber" name="214" href="#214">214</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="215" href="#215">215</a> <em class="jxr_javadoccomment">     * @component</em>
+<a class="jxr_linenumber" name="216" href="#216">216</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="217" href="#217">217</a>     <strong class="jxr_keyword">private</strong> ScmManager scmManager;
+<a class="jxr_linenumber" name="218" href="#218">218</a> 
+<a class="jxr_linenumber" name="219" href="#219">219</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="220" href="#220">220</a> <em class="jxr_javadoccomment">     * @parameter default-value="${session}"</em>
+<a class="jxr_linenumber" name="221" href="#221">221</a> <em class="jxr_javadoccomment">     * @readonly</em>
+<a class="jxr_linenumber" name="222" href="#222">222</a> <em class="jxr_javadoccomment">     * @required</em>
+<a class="jxr_linenumber" name="223" href="#223">223</a> <em class="jxr_javadoccomment">     * @since 2.0</em>
+<a class="jxr_linenumber" name="224" href="#224">224</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="225" href="#225">225</a>     <strong class="jxr_keyword">protected</strong> MavenSession session;
+<a class="jxr_linenumber" name="226" href="#226">226</a> 
+<a class="jxr_linenumber" name="227" href="#227">227</a> 
+<a class="jxr_linenumber" name="228" href="#228">228</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="229" href="#229">229</a> <em class="jxr_javadoccomment">     * Gets the enviroment settings configured for this release.</em>
+<a class="jxr_linenumber" name="230" href="#230">230</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="231" href="#231">231</a> <em class="jxr_javadoccomment">     * @return The release environment, never &lt;code&gt;null&lt;/code&gt;.</em>
+<a class="jxr_linenumber" name="232" href="#232">232</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="233" href="#233">233</a>     <strong class="jxr_keyword">protected</strong> ReleaseEnvironment getReleaseEnvironment()
+<a class="jxr_linenumber" name="234" href="#234">234</a>     {
+<a class="jxr_linenumber" name="235" href="#235">235</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> DefaultReleaseEnvironment().setSettings( settings )
+<a class="jxr_linenumber" name="236" href="#236">236</a>                                               .setJavaHome( javaHome )
+<a class="jxr_linenumber" name="237" href="#237">237</a>                                               .setMavenHome( mavenHome )
+<a class="jxr_linenumber" name="238" href="#238">238</a>                                               .setLocalRepositoryDirectory( localRepoDirectory )
+<a class="jxr_linenumber" name="239" href="#239">239</a>                                               .setMavenExecutorId( mavenExecutorId );
+<a class="jxr_linenumber" name="240" href="#240">240</a>     }
+<a class="jxr_linenumber" name="241" href="#241">241</a> 
+<a class="jxr_linenumber" name="242" href="#242">242</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="243" href="#243">243</a> <em class="jxr_javadoccomment">     * {@inheritDoc}</em>
+<a class="jxr_linenumber" name="244" href="#244">244</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="245" href="#245">245</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> execute()
+<a class="jxr_linenumber" name="246" href="#246">246</a>         <strong class="jxr_keyword">throws</strong> MojoExecutionException, MojoFailureException
+<a class="jxr_linenumber" name="247" href="#247">247</a>     {
+<a class="jxr_linenumber" name="248" href="#248">248</a>         <strong class="jxr_keyword">if</strong> ( providerImplementations != <strong class="jxr_keyword">null</strong> )
+<a class="jxr_linenumber" name="249" href="#249">249</a>         {
+<a class="jxr_linenumber" name="250" href="#250">250</a>             <strong class="jxr_keyword">for</strong> ( Map.Entry&lt;String, String&gt; providerEntry : providerImplementations.entrySet() )
+<a class="jxr_linenumber" name="251" href="#251">251</a>             {
+<a class="jxr_linenumber" name="252" href="#252">252</a>                 getLog().info( <span class="jxr_string">"Change the default '"</span> + providerEntry.getKey() + <span class="jxr_string">"' provider implementation to '"</span>
+<a class="jxr_linenumber" name="253" href="#253">253</a>                     + providerEntry.getValue() + <span class="jxr_string">"'."</span> );
+<a class="jxr_linenumber" name="254" href="#254">254</a>                 scmManager.setScmProviderImplementation( providerEntry.getKey(), providerEntry.getValue() );
 <a class="jxr_linenumber" name="255" href="#255">255</a>             }
 <a class="jxr_linenumber" name="256" href="#256">256</a>         }
 <a class="jxr_linenumber" name="257" href="#257">257</a>     }
@@ -292,134 +292,140 @@
 <a class="jxr_linenumber" name="282" href="#282">282</a>         
 <a class="jxr_linenumber" name="283" href="#283">283</a>         descriptor.setPushChanges( pushChanges );
 <a class="jxr_linenumber" name="284" href="#284">284</a> 
-<a class="jxr_linenumber" name="285" href="#285">285</a>         List profiles = project.getActiveProfiles();
-<a class="jxr_linenumber" name="286" href="#286">286</a> 
-<a class="jxr_linenumber" name="287" href="#287">287</a>         String arguments = <strong class="jxr_keyword">this</strong>.arguments;
-<a class="jxr_linenumber" name="288" href="#288">288</a>         <strong class="jxr_keyword">if</strong> ( profiles != <strong class="jxr_keyword">null</strong> &amp;&amp; !profiles.isEmpty() )
-<a class="jxr_linenumber" name="289" href="#289">289</a>         {
-<a class="jxr_linenumber" name="290" href="#290">290</a>             <strong class="jxr_keyword">if</strong> ( !StringUtils.isEmpty( arguments ) )
-<a class="jxr_linenumber" name="291" href="#291">291</a>             {
-<a class="jxr_linenumber" name="292" href="#292">292</a>                 arguments += <span class="jxr_string">" -P "</span>;
-<a class="jxr_linenumber" name="293" href="#293">293</a>             }
-<a class="jxr_linenumber" name="294" href="#294">294</a>             <strong class="jxr_keyword">else</strong>
-<a class="jxr_linenumber" name="295" href="#295">295</a>             {
-<a class="jxr_linenumber" name="296" href="#296">296</a>                 arguments = <span class="jxr_string">"-P "</span>;
-<a class="jxr_linenumber" name="297" href="#297">297</a>             }
-<a class="jxr_linenumber" name="298" href="#298">298</a> 
-<a class="jxr_linenumber" name="299" href="#299">299</a>             <strong class="jxr_keyword">for</strong> ( Iterator it = profiles.iterator(); it.hasNext(); )
-<a class="jxr_linenumber" name="300" href="#300">300</a>             {
-<a class="jxr_linenumber" name="301" href="#301">301</a>                 Profile profile = (Profile) it.next();
-<a class="jxr_linenumber" name="302" href="#302">302</a> 
-<a class="jxr_linenumber" name="303" href="#303">303</a>                 arguments += profile.getId();
-<a class="jxr_linenumber" name="304" href="#304">304</a>                 <strong class="jxr_keyword">if</strong> ( it.hasNext() )
-<a class="jxr_linenumber" name="305" href="#305">305</a>                 {
-<a class="jxr_linenumber" name="306" href="#306">306</a>                     arguments += <span class="jxr_string">","</span>;
-<a class="jxr_linenumber" name="307" href="#307">307</a>                 }
-<a class="jxr_linenumber" name="308" href="#308">308</a>             }
-<a class="jxr_linenumber" name="309" href="#309">309</a> 
-<a class="jxr_linenumber" name="310" href="#310">310</a>             String additionalProfiles = getAdditionalProfiles();
-<a class="jxr_linenumber" name="311" href="#311">311</a>             <strong class="jxr_keyword">if</strong> ( additionalProfiles != <strong class="jxr_keyword">null</strong> )
-<a class="jxr_linenumber" name="312" href="#312">312</a>             {
-<a class="jxr_linenumber" name="313" href="#313">313</a>                 <strong class="jxr_keyword">if</strong> ( !profiles.isEmpty() )
-<a class="jxr_linenumber" name="314" href="#314">314</a>                 {
-<a class="jxr_linenumber" name="315" href="#315">315</a>                     arguments += <span class="jxr_string">","</span>;
-<a class="jxr_linenumber" name="316" href="#316">316</a>                 }
-<a class="jxr_linenumber" name="317" href="#317">317</a>                 arguments += additionalProfiles;
-<a class="jxr_linenumber" name="318" href="#318">318</a>             }
-<a class="jxr_linenumber" name="319" href="#319">319</a>         }
-<a class="jxr_linenumber" name="320" href="#320">320</a>         descriptor.setAdditionalArguments( arguments );
-<a class="jxr_linenumber" name="321" href="#321">321</a> 
-<a class="jxr_linenumber" name="322" href="#322">322</a>         <strong class="jxr_keyword">return</strong> descriptor;
-<a class="jxr_linenumber" name="323" href="#323">323</a>     }
-<a class="jxr_linenumber" name="324" href="#324">324</a> 
-<a class="jxr_linenumber" name="325" href="#325">325</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="326" href="#326">326</a> <em class="jxr_javadoccomment">     * Gets the comma separated list of additional profiles for the release build.</em>
-<a class="jxr_linenumber" name="327" href="#327">327</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="328" href="#328">328</a> <em class="jxr_javadoccomment">     * @return additional profiles to enable during release</em>
-<a class="jxr_linenumber" name="329" href="#329">329</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="330" href="#330">330</a>     <strong class="jxr_keyword">protected</strong> String getAdditionalProfiles()
-<a class="jxr_linenumber" name="331" href="#331">331</a>     {
-<a class="jxr_linenumber" name="332" href="#332">332</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
-<a class="jxr_linenumber" name="333" href="#333">333</a>     }
-<a class="jxr_linenumber" name="334" href="#334">334</a> 
-<a class="jxr_linenumber" name="335" href="#335">335</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="336" href="#336">336</a> <em class="jxr_javadoccomment">     * Sets the component used to perform release actions.</em>
-<a class="jxr_linenumber" name="337" href="#337">337</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="338" href="#338">338</a> <em class="jxr_javadoccomment">     * @param releaseManager The release manager implementation to use, must not be &lt;code&gt;null&lt;/code&gt;.</em>
-<a class="jxr_linenumber" name="339" href="#339">339</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="340" href="#340">340</a>     <strong class="jxr_keyword">void</strong> setReleaseManager( ReleaseManager releaseManager )
-<a class="jxr_linenumber" name="341" href="#341">341</a>     {
-<a class="jxr_linenumber" name="342" href="#342">342</a>         <strong class="jxr_keyword">this</strong>.releaseManager = releaseManager;
-<a class="jxr_linenumber" name="343" href="#343">343</a>     }
-<a class="jxr_linenumber" name="344" href="#344">344</a> 
-<a class="jxr_linenumber" name="345" href="#345">345</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="346" href="#346">346</a> <em class="jxr_javadoccomment">     * Gets the effective settings for this build.</em>
-<a class="jxr_linenumber" name="347" href="#347">347</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="348" href="#348">348</a> <em class="jxr_javadoccomment">     * @return The effective settings for this build, never &lt;code&gt;null&lt;/code&gt;.</em>
-<a class="jxr_linenumber" name="349" href="#349">349</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="350" href="#350">350</a>     Settings getSettings()
-<a class="jxr_linenumber" name="351" href="#351">351</a>     {
-<a class="jxr_linenumber" name="352" href="#352">352</a>         <strong class="jxr_keyword">return</strong> settings;
-<a class="jxr_linenumber" name="353" href="#353">353</a>     }
-<a class="jxr_linenumber" name="354" href="#354">354</a> 
-<a class="jxr_linenumber" name="355" href="#355">355</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="356" href="#356">356</a> <em class="jxr_javadoccomment">     * Sets the base directory of the build.</em>
-<a class="jxr_linenumber" name="357" href="#357">357</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="358" href="#358">358</a> <em class="jxr_javadoccomment">     * @param basedir The build's base directory, must not be &lt;code&gt;null&lt;/code&gt;.</em>
-<a class="jxr_linenumber" name="359" href="#359">359</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="360" href="#360">360</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setBasedir( File basedir )
-<a class="jxr_linenumber" name="361" href="#361">361</a>     {
-<a class="jxr_linenumber" name="362" href="#362">362</a>         <strong class="jxr_keyword">this</strong>.basedir = basedir;
-<a class="jxr_linenumber" name="363" href="#363">363</a>     }
-<a class="jxr_linenumber" name="364" href="#364">364</a> 
-<a class="jxr_linenumber" name="365" href="#365">365</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="366" href="#366">366</a> <em class="jxr_javadoccomment">     * Gets the list of projects in the build reactor.</em>
-<a class="jxr_linenumber" name="367" href="#367">367</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="368" href="#368">368</a> <em class="jxr_javadoccomment">     * @return The list of reactor project, never &lt;code&gt;null&lt;/code&gt;.</em>
-<a class="jxr_linenumber" name="369" href="#369">369</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="370" href="#370">370</a>     <strong class="jxr_keyword">public</strong> List getReactorProjects()
-<a class="jxr_linenumber" name="371" href="#371">371</a>     {
-<a class="jxr_linenumber" name="372" href="#372">372</a>         <strong class="jxr_keyword">return</strong> reactorProjects;
-<a class="jxr_linenumber" name="373" href="#373">373</a>     }
-<a class="jxr_linenumber" name="374" href="#374">374</a> 
-<a class="jxr_linenumber" name="375" href="#375">375</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="376" href="#376">376</a> <em class="jxr_javadoccomment">     * Add additional arguments.</em>
-<a class="jxr_linenumber" name="377" href="#377">377</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="378" href="#378">378</a> <em class="jxr_javadoccomment">     * @param argument The argument to add, must not be &lt;code&gt;null&lt;/code&gt;.</em>
-<a class="jxr_linenumber" name="379" href="#379">379</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="380" href="#380">380</a>     <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> addArgument( String argument )
-<a class="jxr_linenumber" name="381" href="#381">381</a>     {
-<a class="jxr_linenumber" name="382" href="#382">382</a>         <strong class="jxr_keyword">if</strong> ( arguments != <strong class="jxr_keyword">null</strong> )
-<a class="jxr_linenumber" name="383" href="#383">383</a>         {
-<a class="jxr_linenumber" name="384" href="#384">384</a>             arguments += <span class="jxr_string">" "</span> + argument;
-<a class="jxr_linenumber" name="385" href="#385">385</a>         }
-<a class="jxr_linenumber" name="386" href="#386">386</a>         <strong class="jxr_keyword">else</strong>
-<a class="jxr_linenumber" name="387" href="#387">387</a>         {
-<a class="jxr_linenumber" name="388" href="#388">388</a>             arguments = argument;
-<a class="jxr_linenumber" name="389" href="#389">389</a>         }
-<a class="jxr_linenumber" name="390" href="#390">390</a>     }
-<a class="jxr_linenumber" name="391" href="#391">391</a> 
-<a class="jxr_linenumber" name="392" href="#392">392</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="393" href="#393">393</a> <em class="jxr_javadoccomment">     * This method takes some of the release configuration picked up from the command line system properties and copies</em>
-<a class="jxr_linenumber" name="394" href="#394">394</a> <em class="jxr_javadoccomment">     * it into the release config object.</em>
-<a class="jxr_linenumber" name="395" href="#395">395</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="396" href="#396">396</a> <em class="jxr_javadoccomment">     * @param config The release configuration to merge the system properties into, must not be &lt;code&gt;null&lt;/code&gt;.</em>
-<a class="jxr_linenumber" name="397" href="#397">397</a> <em class="jxr_javadoccomment">     * @param sysPropertiesConfig The configuration from the system properties to merge in, must not be</em>
-<a class="jxr_linenumber" name="398" href="#398">398</a> <em class="jxr_javadoccomment">     *            &lt;code&gt;null&lt;/code&gt;.</em>
-<a class="jxr_linenumber" name="399" href="#399">399</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="400" href="#400">400</a>     <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> mergeCommandLineConfig( ReleaseDescriptor config, ReleaseDescriptor sysPropertiesConfig )
-<a class="jxr_linenumber" name="401" href="#401">401</a>     {
-<a class="jxr_linenumber" name="402" href="#402">402</a>         <em class="jxr_comment">// If the user specifies versions, these should override the existing versions</em>
-<a class="jxr_linenumber" name="403" href="#403">403</a>         <strong class="jxr_keyword">if</strong> ( sysPropertiesConfig.getReleaseVersions() != <strong class="jxr_keyword">null</strong> )
-<a class="jxr_linenumber" name="404" href="#404">404</a>         {
-<a class="jxr_linenumber" name="405" href="#405">405</a>             config.getReleaseVersions().putAll( sysPropertiesConfig.getReleaseVersions() );
-<a class="jxr_linenumber" name="406" href="#406">406</a>         }
-<a class="jxr_linenumber" name="407" href="#407">407</a>         <strong class="jxr_keyword">if</strong> ( sysPropertiesConfig.getDevelopmentVersions() != <strong class="jxr_keyword">null</strong> )
-<a class="jxr_linenumber" name="408" href="#408">408</a>         {
-<a class="jxr_linenumber" name="409" href="#409">409</a>             config.getDevelopmentVersions().putAll( sysPropertiesConfig.getDevelopmentVersions() );
-<a class="jxr_linenumber" name="410" href="#410">410</a>         }
-<a class="jxr_linenumber" name="411" href="#411">411</a>     }
-<a class="jxr_linenumber" name="412" href="#412">412</a> }
+<a class="jxr_linenumber" name="285" href="#285">285</a>         @SuppressWarnings(<span class="jxr_string">"unchecked"</span>)
+<a class="jxr_linenumber" name="286" href="#286">286</a>         List&lt;Profile&gt; profiles = project.getActiveProfiles();
+<a class="jxr_linenumber" name="287" href="#287">287</a> 
+<a class="jxr_linenumber" name="288" href="#288">288</a>         String arguments = <strong class="jxr_keyword">this</strong>.arguments;
+<a class="jxr_linenumber" name="289" href="#289">289</a>         <strong class="jxr_keyword">if</strong> ( profiles != <strong class="jxr_keyword">null</strong> &amp;&amp; !profiles.isEmpty() )
+<a class="jxr_linenumber" name="290" href="#290">290</a>         {
+<a class="jxr_linenumber" name="291" href="#291">291</a>             <strong class="jxr_keyword">if</strong> ( !StringUtils.isEmpty( arguments ) )
+<a class="jxr_linenumber" name="292" href="#292">292</a>             {
+<a class="jxr_linenumber" name="293" href="#293">293</a>                 arguments += <span class="jxr_string">" -P "</span>;
+<a class="jxr_linenumber" name="294" href="#294">294</a>             }
+<a class="jxr_linenumber" name="295" href="#295">295</a>             <strong class="jxr_keyword">else</strong>
+<a class="jxr_linenumber" name="296" href="#296">296</a>             {
+<a class="jxr_linenumber" name="297" href="#297">297</a>                 arguments = <span class="jxr_string">"-P "</span>;
+<a class="jxr_linenumber" name="298" href="#298">298</a>             }
+<a class="jxr_linenumber" name="299" href="#299">299</a> 
+<a class="jxr_linenumber" name="300" href="#300">300</a>             <strong class="jxr_keyword">for</strong> ( Iterator&lt;Profile&gt; it = profiles.iterator(); it.hasNext(); )
+<a class="jxr_linenumber" name="301" href="#301">301</a>             {
+<a class="jxr_linenumber" name="302" href="#302">302</a>                 Profile profile = it.next();
+<a class="jxr_linenumber" name="303" href="#303">303</a> 
+<a class="jxr_linenumber" name="304" href="#304">304</a>                 arguments += profile.getId();
+<a class="jxr_linenumber" name="305" href="#305">305</a>                 <strong class="jxr_keyword">if</strong> ( it.hasNext() )
+<a class="jxr_linenumber" name="306" href="#306">306</a>                 {
+<a class="jxr_linenumber" name="307" href="#307">307</a>                     arguments += <span class="jxr_string">","</span>;
+<a class="jxr_linenumber" name="308" href="#308">308</a>                 }
+<a class="jxr_linenumber" name="309" href="#309">309</a>             }
+<a class="jxr_linenumber" name="310" href="#310">310</a> 
+<a class="jxr_linenumber" name="311" href="#311">311</a>             String additionalProfiles = getAdditionalProfiles();
+<a class="jxr_linenumber" name="312" href="#312">312</a>             <strong class="jxr_keyword">if</strong> ( additionalProfiles != <strong class="jxr_keyword">null</strong> )
+<a class="jxr_linenumber" name="313" href="#313">313</a>             {
+<a class="jxr_linenumber" name="314" href="#314">314</a>                 <strong class="jxr_keyword">if</strong> ( !profiles.isEmpty() )
+<a class="jxr_linenumber" name="315" href="#315">315</a>                 {
+<a class="jxr_linenumber" name="316" href="#316">316</a>                     arguments += <span class="jxr_string">","</span>;
+<a class="jxr_linenumber" name="317" href="#317">317</a>                 }
+<a class="jxr_linenumber" name="318" href="#318">318</a>                 arguments += additionalProfiles;
+<a class="jxr_linenumber" name="319" href="#319">319</a>             }
+<a class="jxr_linenumber" name="320" href="#320">320</a>         }
+<a class="jxr_linenumber" name="321" href="#321">321</a>         descriptor.setAdditionalArguments( arguments );
+<a class="jxr_linenumber" name="322" href="#322">322</a> 
+<a class="jxr_linenumber" name="323" href="#323">323</a>         <strong class="jxr_keyword">return</strong> descriptor;
+<a class="jxr_linenumber" name="324" href="#324">324</a>     }
+<a class="jxr_linenumber" name="325" href="#325">325</a> 
+<a class="jxr_linenumber" name="326" href="#326">326</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="327" href="#327">327</a> <em class="jxr_javadoccomment">     * Gets the comma separated list of additional profiles for the release build.</em>
+<a class="jxr_linenumber" name="328" href="#328">328</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="329" href="#329">329</a> <em class="jxr_javadoccomment">     * @return additional profiles to enable during release</em>
+<a class="jxr_linenumber" name="330" href="#330">330</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="331" href="#331">331</a>     <strong class="jxr_keyword">protected</strong> String getAdditionalProfiles()
+<a class="jxr_linenumber" name="332" href="#332">332</a>     {
+<a class="jxr_linenumber" name="333" href="#333">333</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="334" href="#334">334</a>     }
+<a class="jxr_linenumber" name="335" href="#335">335</a> 
+<a class="jxr_linenumber" name="336" href="#336">336</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="337" href="#337">337</a> <em class="jxr_javadoccomment">     * Sets the component used to perform release actions.</em>
+<a class="jxr_linenumber" name="338" href="#338">338</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="339" href="#339">339</a> <em class="jxr_javadoccomment">     * @param releaseManager The release manager implementation to use, must not be &lt;code&gt;null&lt;/code&gt;.</em>
+<a class="jxr_linenumber" name="340" href="#340">340</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="341" href="#341">341</a>     <strong class="jxr_keyword">void</strong> setReleaseManager( ReleaseManager releaseManager )
+<a class="jxr_linenumber" name="342" href="#342">342</a>     {
+<a class="jxr_linenumber" name="343" href="#343">343</a>         <strong class="jxr_keyword">this</strong>.releaseManager = releaseManager;
+<a class="jxr_linenumber" name="344" href="#344">344</a>     }
+<a class="jxr_linenumber" name="345" href="#345">345</a> 
+<a class="jxr_linenumber" name="346" href="#346">346</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="347" href="#347">347</a> <em class="jxr_javadoccomment">     * Gets the effective settings for this build.</em>
+<a class="jxr_linenumber" name="348" href="#348">348</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="349" href="#349">349</a> <em class="jxr_javadoccomment">     * @return The effective settings for this build, never &lt;code&gt;null&lt;/code&gt;.</em>
+<a class="jxr_linenumber" name="350" href="#350">350</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="351" href="#351">351</a>     Settings getSettings()
+<a class="jxr_linenumber" name="352" href="#352">352</a>     {
+<a class="jxr_linenumber" name="353" href="#353">353</a>         <strong class="jxr_keyword">return</strong> settings;
+<a class="jxr_linenumber" name="354" href="#354">354</a>     }
+<a class="jxr_linenumber" name="355" href="#355">355</a>     
+<a class="jxr_linenumber" name="356" href="#356">356</a>     <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">final</strong> File getBasedir()
+<a class="jxr_linenumber" name="357" href="#357">357</a>     {
+<a class="jxr_linenumber" name="358" href="#358">358</a>         <strong class="jxr_keyword">return</strong> basedir;
+<a class="jxr_linenumber" name="359" href="#359">359</a>     }
+<a class="jxr_linenumber" name="360" href="#360">360</a> 
+<a class="jxr_linenumber" name="361" href="#361">361</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="362" href="#362">362</a> <em class="jxr_javadoccomment">     * Sets the base directory of the build.</em>
+<a class="jxr_linenumber" name="363" href="#363">363</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="364" href="#364">364</a> <em class="jxr_javadoccomment">     * @param basedir The build's base directory, must not be &lt;code&gt;null&lt;/code&gt;.</em>
+<a class="jxr_linenumber" name="365" href="#365">365</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="366" href="#366">366</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setBasedir( File basedir )
+<a class="jxr_linenumber" name="367" href="#367">367</a>     {
+<a class="jxr_linenumber" name="368" href="#368">368</a>         <strong class="jxr_keyword">this</strong>.basedir = basedir;
+<a class="jxr_linenumber" name="369" href="#369">369</a>     }
+<a class="jxr_linenumber" name="370" href="#370">370</a> 
+<a class="jxr_linenumber" name="371" href="#371">371</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="372" href="#372">372</a> <em class="jxr_javadoccomment">     * Gets the list of projects in the build reactor.</em>
+<a class="jxr_linenumber" name="373" href="#373">373</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="374" href="#374">374</a> <em class="jxr_javadoccomment">     * @return The list of reactor project, never &lt;code&gt;null&lt;/code&gt;.</em>
+<a class="jxr_linenumber" name="375" href="#375">375</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="376" href="#376">376</a>     <strong class="jxr_keyword">public</strong> List&lt;MavenProject&gt; getReactorProjects()
+<a class="jxr_linenumber" name="377" href="#377">377</a>     {
+<a class="jxr_linenumber" name="378" href="#378">378</a>         <strong class="jxr_keyword">return</strong> reactorProjects;
+<a class="jxr_linenumber" name="379" href="#379">379</a>     }
+<a class="jxr_linenumber" name="380" href="#380">380</a> 
+<a class="jxr_linenumber" name="381" href="#381">381</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="382" href="#382">382</a> <em class="jxr_javadoccomment">     * Add additional arguments.</em>
+<a class="jxr_linenumber" name="383" href="#383">383</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="384" href="#384">384</a> <em class="jxr_javadoccomment">     * @param argument The argument to add, must not be &lt;code&gt;null&lt;/code&gt;.</em>
+<a class="jxr_linenumber" name="385" href="#385">385</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="386" href="#386">386</a>     <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> addArgument( String argument )
+<a class="jxr_linenumber" name="387" href="#387">387</a>     {
+<a class="jxr_linenumber" name="388" href="#388">388</a>         <strong class="jxr_keyword">if</strong> ( arguments != <strong class="jxr_keyword">null</strong> )
+<a class="jxr_linenumber" name="389" href="#389">389</a>         {
+<a class="jxr_linenumber" name="390" href="#390">390</a>             arguments += <span class="jxr_string">" "</span> + argument;
+<a class="jxr_linenumber" name="391" href="#391">391</a>         }
+<a class="jxr_linenumber" name="392" href="#392">392</a>         <strong class="jxr_keyword">else</strong>
+<a class="jxr_linenumber" name="393" href="#393">393</a>         {
+<a class="jxr_linenumber" name="394" href="#394">394</a>             arguments = argument;
+<a class="jxr_linenumber" name="395" href="#395">395</a>         }
+<a class="jxr_linenumber" name="396" href="#396">396</a>     }
+<a class="jxr_linenumber" name="397" href="#397">397</a> 
+<a class="jxr_linenumber" name="398" href="#398">398</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="399" href="#399">399</a> <em class="jxr_javadoccomment">     * This method takes some of the release configuration picked up from the command line system properties and copies</em>
+<a class="jxr_linenumber" name="400" href="#400">400</a> <em class="jxr_javadoccomment">     * it into the release config object.</em>
+<a class="jxr_linenumber" name="401" href="#401">401</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="402" href="#402">402</a> <em class="jxr_javadoccomment">     * @param config The release configuration to merge the system properties into, must not be &lt;code&gt;null&lt;/code&gt;.</em>
+<a class="jxr_linenumber" name="403" href="#403">403</a> <em class="jxr_javadoccomment">     * @param sysPropertiesConfig The configuration from the system properties to merge in, must not be</em>
+<a class="jxr_linenumber" name="404" href="#404">404</a> <em class="jxr_javadoccomment">     *            &lt;code&gt;null&lt;/code&gt;.</em>
+<a class="jxr_linenumber" name="405" href="#405">405</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="406" href="#406">406</a>     <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> mergeCommandLineConfig( ReleaseDescriptor config, ReleaseDescriptor sysPropertiesConfig )
+<a class="jxr_linenumber" name="407" href="#407">407</a>     {
+<a class="jxr_linenumber" name="408" href="#408">408</a>         <em class="jxr_comment">// If the user specifies versions, these should override the existing versions</em>
+<a class="jxr_linenumber" name="409" href="#409">409</a>         <strong class="jxr_keyword">if</strong> ( sysPropertiesConfig.getReleaseVersions() != <strong class="jxr_keyword">null</strong> )
+<a class="jxr_linenumber" name="410" href="#410">410</a>         {
+<a class="jxr_linenumber" name="411" href="#411">411</a>             config.getReleaseVersions().putAll( sysPropertiesConfig.getReleaseVersions() );
+<a class="jxr_linenumber" name="412" href="#412">412</a>         }
+<a class="jxr_linenumber" name="413" href="#413">413</a>         <strong class="jxr_keyword">if</strong> ( sysPropertiesConfig.getDevelopmentVersions() != <strong class="jxr_keyword">null</strong> )
+<a class="jxr_linenumber" name="414" href="#414">414</a>         {
+<a class="jxr_linenumber" name="415" href="#415">415</a>             config.getDevelopmentVersions().putAll( sysPropertiesConfig.getDevelopmentVersions() );
+<a class="jxr_linenumber" name="416" href="#416">416</a>         }
+<a class="jxr_linenumber" name="417" href="#417">417</a>     }
+<a class="jxr_linenumber" name="418" href="#418">418</a> }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>

Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/BranchReleaseMojo.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/BranchReleaseMojo.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/BranchReleaseMojo.html Tue May  8 11:42:40 2012
@@ -164,95 +164,93 @@
 <a class="jxr_linenumber" name="154" href="#154">154</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> remoteTagging;
 <a class="jxr_linenumber" name="155" href="#155">155</a> 
 <a class="jxr_linenumber" name="156" href="#156">156</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="157" href="#157">157</a> <em class="jxr_javadoccomment">     * Additional files that will skipped when checking for</em>
+<a class="jxr_linenumber" name="157" href="#157">157</a> <em class="jxr_javadoccomment">     * A list of additional exclude filters that will be skipped when checking for</em>
 <a class="jxr_linenumber" name="158" href="#158">158</a> <em class="jxr_javadoccomment">     * modifications on the working copy.</em>
 <a class="jxr_linenumber" name="159" href="#159">159</a> <em class="jxr_javadoccomment">     *</em>
 <a class="jxr_linenumber" name="160" href="#160">160</a> <em class="jxr_javadoccomment">     * Is ignored, when checkModificationExcludes is set.</em>
 <a class="jxr_linenumber" name="161" href="#161">161</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="162" href="#162">162</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="163" href="#163">163</a> <em class="jxr_javadoccomment">     * @parameter</em>
-<a class="jxr_linenumber" name="164" href="#164">164</a> <em class="jxr_javadoccomment">     * @since 2.1</em>
-<a class="jxr_linenumber" name="165" href="#165">165</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="166" href="#166">166</a>     <strong class="jxr_keyword">private</strong> String[] checkModificationExcludes;
-<a class="jxr_linenumber" name="167" href="#167">167</a> 
-<a class="jxr_linenumber" name="168" href="#168">168</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="169" href="#169">169</a> <em class="jxr_javadoccomment">     * Command-line version of checkModificationExcludes</em>
-<a class="jxr_linenumber" name="170" href="#170">170</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="171" href="#171">171</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="172" href="#172">172</a> <em class="jxr_javadoccomment">     * @parameter expression="${checkModificationExcludeList}"</em>
-<a class="jxr_linenumber" name="173" href="#173">173</a> <em class="jxr_javadoccomment">     * @since 2.1</em>
-<a class="jxr_linenumber" name="174" href="#174">174</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="175" href="#175">175</a>     <strong class="jxr_keyword">private</strong> String checkModificationExcludeList;
-<a class="jxr_linenumber" name="176" href="#176">176</a> 
-<a class="jxr_linenumber" name="177" href="#177">177</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="178" href="#178">178</a> <em class="jxr_javadoccomment">     * Default version to use when preparing a release or a branch.</em>
-<a class="jxr_linenumber" name="179" href="#179">179</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="180" href="#180">180</a> <em class="jxr_javadoccomment">     * @parameter expression="${releaseVersion}"</em>
-<a class="jxr_linenumber" name="181" href="#181">181</a> <em class="jxr_javadoccomment">     * @since 2.0</em>
-<a class="jxr_linenumber" name="182" href="#182">182</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="183" href="#183">183</a>     <strong class="jxr_keyword">private</strong> String releaseVersion;
-<a class="jxr_linenumber" name="184" href="#184">184</a> 
-<a class="jxr_linenumber" name="185" href="#185">185</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="186" href="#186">186</a> <em class="jxr_javadoccomment">     * Default version to use for new local working copy.</em>
-<a class="jxr_linenumber" name="187" href="#187">187</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="188" href="#188">188</a> <em class="jxr_javadoccomment">     * @parameter expression="${developmentVersion}"</em>
-<a class="jxr_linenumber" name="189" href="#189">189</a> <em class="jxr_javadoccomment">     * @since 2.0</em>
-<a class="jxr_linenumber" name="190" href="#190">190</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="191" href="#191">191</a>     <strong class="jxr_keyword">private</strong> String developmentVersion;
-<a class="jxr_linenumber" name="192" href="#192">192</a> 
-<a class="jxr_linenumber" name="193" href="#193">193</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="194" href="#194">194</a> <em class="jxr_javadoccomment">     * {@inheritDoc}</em>
-<a class="jxr_linenumber" name="195" href="#195">195</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="196" href="#196">196</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> execute()
-<a class="jxr_linenumber" name="197" href="#197">197</a>         <strong class="jxr_keyword">throws</strong> MojoExecutionException, MojoFailureException
-<a class="jxr_linenumber" name="198" href="#198">198</a>     {
-<a class="jxr_linenumber" name="199" href="#199">199</a>         <strong class="jxr_keyword">super</strong>.execute();
-<a class="jxr_linenumber" name="200" href="#200">200</a> 
-<a class="jxr_linenumber" name="201" href="#201">201</a>         ReleaseDescriptor config = createReleaseDescriptor();
-<a class="jxr_linenumber" name="202" href="#202">202</a>         config.setAddSchema( addSchema );
-<a class="jxr_linenumber" name="203" href="#203">203</a>         config.setScmUseEditMode( useEditMode );
-<a class="jxr_linenumber" name="204" href="#204">204</a>         config.setUpdateDependencies( updateDependencies );
-<a class="jxr_linenumber" name="205" href="#205">205</a>         config.setAutoVersionSubmodules( autoVersionSubmodules );
-<a class="jxr_linenumber" name="206" href="#206">206</a>         config.setScmReleaseLabel( branchName );
-<a class="jxr_linenumber" name="207" href="#207">207</a>         config.setScmBranchBase( branchBase );
-<a class="jxr_linenumber" name="208" href="#208">208</a>         config.setBranchCreation( <strong class="jxr_keyword">true</strong> );
-<a class="jxr_linenumber" name="209" href="#209">209</a>         config.setUpdateBranchVersions( updateBranchVersions );
-<a class="jxr_linenumber" name="210" href="#210">210</a>         config.setUpdateWorkingCopyVersions( updateWorkingCopyVersions );
-<a class="jxr_linenumber" name="211" href="#211">211</a>         config.setUpdateVersionsToSnapshot( updateVersionsToSnapshot );
-<a class="jxr_linenumber" name="212" href="#212">212</a>         config.setRemoteTagging( remoteTagging );
-<a class="jxr_linenumber" name="213" href="#213">213</a>         config.setDefaultReleaseVersion( releaseVersion );
-<a class="jxr_linenumber" name="214" href="#214">214</a>         config.setDefaultDevelopmentVersion( developmentVersion );
-<a class="jxr_linenumber" name="215" href="#215">215</a>         config.setSuppressCommitBeforeTagOrBranch( suppressCommitBeforeBranch );
-<a class="jxr_linenumber" name="216" href="#216">216</a> 
-<a class="jxr_linenumber" name="217" href="#217">217</a>         <em class="jxr_comment">// Create a config containing values from the session properties (ie command line properties with cli).</em>
-<a class="jxr_linenumber" name="218" href="#218">218</a>         ReleaseDescriptor sysPropertiesConfig
-<a class="jxr_linenumber" name="219" href="#219">219</a>                 = ReleaseUtils.copyPropertiesToReleaseDescriptor( session.getExecutionProperties() );
-<a class="jxr_linenumber" name="220" href="#220">220</a>         mergeCommandLineConfig( config, sysPropertiesConfig );
-<a class="jxr_linenumber" name="221" href="#221">221</a> 
-<a class="jxr_linenumber" name="222" href="#222">222</a>         <strong class="jxr_keyword">if</strong> ( checkModificationExcludeList != <strong class="jxr_keyword">null</strong> )
-<a class="jxr_linenumber" name="223" href="#223">223</a>         {
-<a class="jxr_linenumber" name="224" href="#224">224</a>             checkModificationExcludes = checkModificationExcludeList.replaceAll( <span class="jxr_string">"&#92;&#92;s"</span>, <span class="jxr_string">""</span> ).split( <span class="jxr_string">","</span> );
-<a class="jxr_linenumber" name="225" href="#225">225</a>         }
-<a class="jxr_linenumber" name="226" href="#226">226</a> 
-<a class="jxr_linenumber" name="227" href="#227">227</a>         <strong class="jxr_keyword">if</strong> ( checkModificationExcludes != <strong class="jxr_keyword">null</strong> )
-<a class="jxr_linenumber" name="228" href="#228">228</a>         {
-<a class="jxr_linenumber" name="229" href="#229">229</a>             config.setCheckModificationExcludes( Arrays.asList( checkModificationExcludes ) );
-<a class="jxr_linenumber" name="230" href="#230">230</a>         }
-<a class="jxr_linenumber" name="231" href="#231">231</a> 
-<a class="jxr_linenumber" name="232" href="#232">232</a>         <strong class="jxr_keyword">try</strong>
-<a class="jxr_linenumber" name="233" href="#233">233</a>         {
-<a class="jxr_linenumber" name="234" href="#234">234</a>             releaseManager.branch( config, getReleaseEnvironment(), reactorProjects, dryRun );
-<a class="jxr_linenumber" name="235" href="#235">235</a>         }
-<a class="jxr_linenumber" name="236" href="#236">236</a>         <strong class="jxr_keyword">catch</strong> ( ReleaseExecutionException e )
-<a class="jxr_linenumber" name="237" href="#237">237</a>         {
-<a class="jxr_linenumber" name="238" href="#238">238</a>             <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> MojoExecutionException( e.getMessage(), e );
-<a class="jxr_linenumber" name="239" href="#239">239</a>         }
-<a class="jxr_linenumber" name="240" href="#240">240</a>         <strong class="jxr_keyword">catch</strong> ( ReleaseFailureException e )
-<a class="jxr_linenumber" name="241" href="#241">241</a>         {
-<a class="jxr_linenumber" name="242" href="#242">242</a>             <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> MojoFailureException( e.getMessage(), e );
-<a class="jxr_linenumber" name="243" href="#243">243</a>         }
-<a class="jxr_linenumber" name="244" href="#244">244</a>     }
-<a class="jxr_linenumber" name="245" href="#245">245</a> }
+<a class="jxr_linenumber" name="162" href="#162">162</a> <em class="jxr_javadoccomment">     * @parameter</em>
+<a class="jxr_linenumber" name="163" href="#163">163</a> <em class="jxr_javadoccomment">     * @since 2.1</em>
+<a class="jxr_linenumber" name="164" href="#164">164</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="165" href="#165">165</a>     <strong class="jxr_keyword">private</strong> String[] checkModificationExcludes;
+<a class="jxr_linenumber" name="166" href="#166">166</a> 
+<a class="jxr_linenumber" name="167" href="#167">167</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="168" href="#168">168</a> <em class="jxr_javadoccomment">     * Command-line version of checkModificationExcludes.</em>
+<a class="jxr_linenumber" name="169" href="#169">169</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="170" href="#170">170</a> <em class="jxr_javadoccomment">     * @parameter expression="${checkModificationExcludeList}"</em>
+<a class="jxr_linenumber" name="171" href="#171">171</a> <em class="jxr_javadoccomment">     * @since 2.1</em>
+<a class="jxr_linenumber" name="172" href="#172">172</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="173" href="#173">173</a>     <strong class="jxr_keyword">private</strong> String checkModificationExcludeList;
+<a class="jxr_linenumber" name="174" href="#174">174</a> 
+<a class="jxr_linenumber" name="175" href="#175">175</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="176" href="#176">176</a> <em class="jxr_javadoccomment">     * Default version to use when preparing a release or a branch.</em>
+<a class="jxr_linenumber" name="177" href="#177">177</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="178" href="#178">178</a> <em class="jxr_javadoccomment">     * @parameter expression="${releaseVersion}"</em>
+<a class="jxr_linenumber" name="179" href="#179">179</a> <em class="jxr_javadoccomment">     * @since 2.0</em>
+<a class="jxr_linenumber" name="180" href="#180">180</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="181" href="#181">181</a>     <strong class="jxr_keyword">private</strong> String releaseVersion;
+<a class="jxr_linenumber" name="182" href="#182">182</a> 
+<a class="jxr_linenumber" name="183" href="#183">183</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="184" href="#184">184</a> <em class="jxr_javadoccomment">     * Default version to use for new local working copy.</em>
+<a class="jxr_linenumber" name="185" href="#185">185</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="186" href="#186">186</a> <em class="jxr_javadoccomment">     * @parameter expression="${developmentVersion}"</em>
+<a class="jxr_linenumber" name="187" href="#187">187</a> <em class="jxr_javadoccomment">     * @since 2.0</em>
+<a class="jxr_linenumber" name="188" href="#188">188</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="189" href="#189">189</a>     <strong class="jxr_keyword">private</strong> String developmentVersion;
+<a class="jxr_linenumber" name="190" href="#190">190</a> 
+<a class="jxr_linenumber" name="191" href="#191">191</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="192" href="#192">192</a> <em class="jxr_javadoccomment">     * {@inheritDoc}</em>
+<a class="jxr_linenumber" name="193" href="#193">193</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="194" href="#194">194</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> execute()
+<a class="jxr_linenumber" name="195" href="#195">195</a>         <strong class="jxr_keyword">throws</strong> MojoExecutionException, MojoFailureException
+<a class="jxr_linenumber" name="196" href="#196">196</a>     {
+<a class="jxr_linenumber" name="197" href="#197">197</a>         <strong class="jxr_keyword">super</strong>.execute();
+<a class="jxr_linenumber" name="198" href="#198">198</a> 
+<a class="jxr_linenumber" name="199" href="#199">199</a>         ReleaseDescriptor config = createReleaseDescriptor();
+<a class="jxr_linenumber" name="200" href="#200">200</a>         config.setAddSchema( addSchema );
+<a class="jxr_linenumber" name="201" href="#201">201</a>         config.setScmUseEditMode( useEditMode );
+<a class="jxr_linenumber" name="202" href="#202">202</a>         config.setUpdateDependencies( updateDependencies );
+<a class="jxr_linenumber" name="203" href="#203">203</a>         config.setAutoVersionSubmodules( autoVersionSubmodules );
+<a class="jxr_linenumber" name="204" href="#204">204</a>         config.setScmReleaseLabel( branchName );
+<a class="jxr_linenumber" name="205" href="#205">205</a>         config.setScmBranchBase( branchBase );
+<a class="jxr_linenumber" name="206" href="#206">206</a>         config.setBranchCreation( <strong class="jxr_keyword">true</strong> );
+<a class="jxr_linenumber" name="207" href="#207">207</a>         config.setUpdateBranchVersions( updateBranchVersions );
+<a class="jxr_linenumber" name="208" href="#208">208</a>         config.setUpdateWorkingCopyVersions( updateWorkingCopyVersions );
+<a class="jxr_linenumber" name="209" href="#209">209</a>         config.setUpdateVersionsToSnapshot( updateVersionsToSnapshot );
+<a class="jxr_linenumber" name="210" href="#210">210</a>         config.setRemoteTagging( remoteTagging );
+<a class="jxr_linenumber" name="211" href="#211">211</a>         config.setDefaultReleaseVersion( releaseVersion );
+<a class="jxr_linenumber" name="212" href="#212">212</a>         config.setDefaultDevelopmentVersion( developmentVersion );
+<a class="jxr_linenumber" name="213" href="#213">213</a>         config.setSuppressCommitBeforeTagOrBranch( suppressCommitBeforeBranch );
+<a class="jxr_linenumber" name="214" href="#214">214</a> 
+<a class="jxr_linenumber" name="215" href="#215">215</a>         <em class="jxr_comment">// Create a config containing values from the session properties (ie command line properties with cli).</em>
+<a class="jxr_linenumber" name="216" href="#216">216</a>         ReleaseDescriptor sysPropertiesConfig
+<a class="jxr_linenumber" name="217" href="#217">217</a>                 = ReleaseUtils.copyPropertiesToReleaseDescriptor( session.getExecutionProperties() );
+<a class="jxr_linenumber" name="218" href="#218">218</a>         mergeCommandLineConfig( config, sysPropertiesConfig );
+<a class="jxr_linenumber" name="219" href="#219">219</a> 
+<a class="jxr_linenumber" name="220" href="#220">220</a>         <strong class="jxr_keyword">if</strong> ( checkModificationExcludeList != <strong class="jxr_keyword">null</strong> )
+<a class="jxr_linenumber" name="221" href="#221">221</a>         {
+<a class="jxr_linenumber" name="222" href="#222">222</a>             checkModificationExcludes = checkModificationExcludeList.replaceAll( <span class="jxr_string">"&#92;&#92;s"</span>, <span class="jxr_string">""</span> ).split( <span class="jxr_string">","</span> );
+<a class="jxr_linenumber" name="223" href="#223">223</a>         }
+<a class="jxr_linenumber" name="224" href="#224">224</a> 
+<a class="jxr_linenumber" name="225" href="#225">225</a>         <strong class="jxr_keyword">if</strong> ( checkModificationExcludes != <strong class="jxr_keyword">null</strong> )
+<a class="jxr_linenumber" name="226" href="#226">226</a>         {
+<a class="jxr_linenumber" name="227" href="#227">227</a>             config.setCheckModificationExcludes( Arrays.asList( checkModificationExcludes ) );
+<a class="jxr_linenumber" name="228" href="#228">228</a>         }
+<a class="jxr_linenumber" name="229" href="#229">229</a> 
+<a class="jxr_linenumber" name="230" href="#230">230</a>         <strong class="jxr_keyword">try</strong>
+<a class="jxr_linenumber" name="231" href="#231">231</a>         {
+<a class="jxr_linenumber" name="232" href="#232">232</a>             releaseManager.branch( config, getReleaseEnvironment(), getReactorProjects(), dryRun );
+<a class="jxr_linenumber" name="233" href="#233">233</a>         }
+<a class="jxr_linenumber" name="234" href="#234">234</a>         <strong class="jxr_keyword">catch</strong> ( ReleaseExecutionException e )
+<a class="jxr_linenumber" name="235" href="#235">235</a>         {
+<a class="jxr_linenumber" name="236" href="#236">236</a>             <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> MojoExecutionException( e.getMessage(), e );
+<a class="jxr_linenumber" name="237" href="#237">237</a>         }
+<a class="jxr_linenumber" name="238" href="#238">238</a>         <strong class="jxr_keyword">catch</strong> ( ReleaseFailureException e )
+<a class="jxr_linenumber" name="239" href="#239">239</a>         {
+<a class="jxr_linenumber" name="240" href="#240">240</a>             <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> MojoFailureException( e.getMessage(), e );
+<a class="jxr_linenumber" name="241" href="#241">241</a>         }
+<a class="jxr_linenumber" name="242" href="#242">242</a>     }
+<a class="jxr_linenumber" name="243" href="#243">243</a> }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>

Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/CleanReleaseMojo.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/CleanReleaseMojo.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/CleanReleaseMojo.html Tue May  8 11:42:40 2012
@@ -57,8 +57,8 @@
 <a class="jxr_linenumber" name="47" href="#47">47</a>          <strong class="jxr_keyword">super</strong>.execute();
 <a class="jxr_linenumber" name="48" href="#48">48</a>  
 <a class="jxr_linenumber" name="49" href="#49">49</a>          ReleaseDescriptor releaseDescriptor = <strong class="jxr_keyword">new</strong> ReleaseDescriptor();
-<a class="jxr_linenumber" name="50" href="#50">50</a>          releaseDescriptor.setWorkingDirectory( basedir.getAbsolutePath() );
-<a class="jxr_linenumber" name="51" href="#51">51</a>          releaseManager.clean( releaseDescriptor, <strong class="jxr_keyword">null</strong>, reactorProjects );
+<a class="jxr_linenumber" name="50" href="#50">50</a>          releaseDescriptor.setWorkingDirectory( getBasedir().getAbsolutePath() );
+<a class="jxr_linenumber" name="51" href="#51">51</a>          releaseManager.clean( releaseDescriptor, <strong class="jxr_keyword">null</strong>, getReactorProjects() );
 <a class="jxr_linenumber" name="52" href="#52">52</a>      }
 <a class="jxr_linenumber" name="53" href="#53">53</a>  
 <a class="jxr_linenumber" name="54" href="#54">54</a>  }



Mime
View raw message