You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/05/08 13:33:32 UTC
svn commit: r816523 [8/8] - 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/ images/ testa...
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/testapidocs/overview-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/testapidocs/overview-summary.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/testapidocs/overview-summary.html Tue May 8 11:33:29 2012
@@ -2,20 +2,20 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_13) on Mon Oct 27 19:19:36 CET 2008 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Mon Mar 23 23:43:29 CET 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-Overview (Maven Release Plugin 2.0-beta-8 Test API)
+Overview (Maven Release Plugin 2.0-beta-9 Test API)
</TITLE>
-<META NAME="keywords" CONTENT="Overview, Maven Release Plugin 2.0-beta-8 Test API">
+<META NAME="keywords" CONTENT="Overview, Maven Release Plugin 2.0-beta-9 Test API">
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="Overview (Maven Release Plugin 2.0-beta-8 Test API)";
+ parent.document.title="Overview (Maven Release Plugin 2.0-beta-9 Test API)";
}
</SCRIPT>
<NOSCRIPT>
@@ -79,7 +79,7 @@ function windowTitle()
<HR>
<CENTER>
<H1>
-Maven Release Plugin 2.0-beta-8 Test API
+Maven Release Plugin 2.0-beta-9 Test API
</H1>
</CENTER>
@@ -153,6 +153,6 @@ Maven Release Plugin 2.0-beta-8 Test API
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2002-2008 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
+Copyright © 2002-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
\ No newline at end of file
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/testapidocs/overview-tree.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/testapidocs/overview-tree.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/testapidocs/overview-tree.html Tue May 8 11:33:29 2012
@@ -2,10 +2,10 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_13) on Mon Oct 27 19:19:36 CET 2008 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Mon Mar 23 23:43:29 CET 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
-Class Hierarchy (Maven Release Plugin 2.0-beta-8 Test API)
+Class Hierarchy (Maven Release Plugin 2.0-beta-9 Test API)
</TITLE>
@@ -14,7 +14,7 @@ Class Hierarchy (Maven Release Plugin 2.
<SCRIPT type="text/javascript">
function windowTitle()
{
- parent.document.title="Class Hierarchy (Maven Release Plugin 2.0-beta-8 Test API)";
+ parent.document.title="Class Hierarchy (Maven Release Plugin 2.0-beta-9 Test API)";
}
</SCRIPT>
<NOSCRIPT>
@@ -157,6 +157,6 @@ Class Hierarchy
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 2002-2008 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
+Copyright © 2002-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>
\ No newline at end of file
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/usage.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/usage.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/usage.html Tue May 8 11:33:29 2012
@@ -75,8 +75,8 @@ John Tolentino jtolentino@apache.org" />
- Last Published: 2008-10-27
- | Version: 2.0-beta-8
+ Last Published: 2009-03-23
+ | Version: 2.0-beta-9
</div>
<div class="clear">
<hr/>
@@ -225,6 +225,10 @@ John Tolentino jtolentino@apache.org" />
</li>
<li class="none">
+ <a href="../../mercury/index.html">Mercury</a>
+ </li>
+
+ <li class="none">
<a href="../index.html">Plugins</a>
</li>
@@ -317,7 +321,7 @@ John Tolentino jtolentino@apache.org" />
</div>
<div id="footer">
<div class="xright">©
- 2002-2008
+ 2002-2009
The Apache Software Foundation
@@ -328,7 +332,7 @@ John Tolentino jtolentino@apache.org" />
- </div>
+ - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a></div>
<div class="clear">
<hr/>
</div>
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/index.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/index.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/index.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference</title>
</head>
<frameset cols="20%,80%">
<frameset rows="30%,70%">
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/package-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/package-frame.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/package-frame.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference Package org.apache.maven.plugins.release</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference Package org.apache.maven.plugins.release</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/package-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/package-summary.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/package-summary.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference Package org.apache.maven.plugins.release</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference Package org.apache.maven.plugins.release</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -77,6 +77,6 @@
</ul>
</div>
<hr />
- Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/stubs/package-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/stubs/package-frame.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/stubs/package-frame.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference Package org.apache.maven.plugins.release.stubs</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference Package org.apache.maven.plugins.release.stubs</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/stubs/package-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/stubs/package-summary.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/org/apache/maven/plugins/release/stubs/package-summary.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference Package org.apache.maven.plugins.release.stubs</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference Package org.apache.maven.plugins.release.stubs</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -62,6 +62,6 @@
</ul>
</div>
<hr />
- Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/overview-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/overview-frame.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/overview-frame.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/overview-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/overview-summary.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref-test/overview-summary.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
@@ -24,7 +24,7 @@
</ul>
</div>
- <h2>Maven Release Plugin 2.0-beta-8 Reference</h2>
+ <h2>Maven Release Plugin 2.0-beta-9 Reference</h2>
<table class="summary">
<thead>
@@ -64,6 +64,6 @@
</div>
<hr />
- Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/index.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/index.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/index.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference</title>
</head>
<frameset cols="20%,80%">
<frameset rows="30%,70%">
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/PrepareReleaseMojo.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/PrepareReleaseMojo.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/PrepareReleaseMojo.html Tue May 8 11:33:29 2012
@@ -128,80 +128,101 @@
<a name="118" href="#118">118</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> allowTimestampedSnapshots;
<a name="119" href="#119">119</a>
<a name="120" href="#120">120</a> <em class="jxr_javadoccomment">/**</em>
-<a name="121" href="#121">121</a> <em class="jxr_javadoccomment"> * Default version to use when preparing a release or a branch.</em>
-<a name="122" href="#122">122</a> <em class="jxr_javadoccomment"> * </em>
-<a name="123" href="#123">123</a> <em class="jxr_javadoccomment"> * @parameter expression="${releaseVersion}"</em>
-<a name="124" href="#124">124</a> <em class="jxr_javadoccomment"> */</em>
-<a name="125" href="#125">125</a> <strong class="jxr_keyword">private</strong> String releaseVersion;
-<a name="126" href="#126">126</a>
-<a name="127" href="#127">127</a> <em class="jxr_javadoccomment">/**</em>
-<a name="128" href="#128">128</a> <em class="jxr_javadoccomment"> * Default version to use for new local working copy.</em>
-<a name="129" href="#129">129</a> <em class="jxr_javadoccomment"> * </em>
-<a name="130" href="#130">130</a> <em class="jxr_javadoccomment"> * @parameter expression="${developmentVersion}"</em>
-<a name="131" href="#131">131</a> <em class="jxr_javadoccomment"> */</em>
-<a name="132" href="#132">132</a> <strong class="jxr_keyword">private</strong> String developmentVersion;
-<a name="133" href="#133">133</a>
-<a name="134" href="#134">134</a> <em class="jxr_javadoccomment">/**</em>
-<a name="135" href="#135">135</a> <em class="jxr_javadoccomment"> * {@inheritDoc}</em>
-<a name="136" href="#136">136</a> <em class="jxr_javadoccomment"> */</em>
-<a name="137" href="#137">137</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> execute()
-<a name="138" href="#138">138</a> <strong class="jxr_keyword">throws</strong> MojoExecutionException, MojoFailureException
-<a name="139" href="#139">139</a> {
-<a name="140" href="#140">140</a> <strong class="jxr_keyword">super</strong>.execute();
-<a name="141" href="#141">141</a>
-<a name="142" href="#142">142</a> ReleaseDescriptor config = createReleaseDescriptor();
-<a name="143" href="#143">143</a> config.setAddSchema( addSchema );
-<a name="144" href="#144">144</a> config.setGenerateReleasePoms( generateReleasePoms );
-<a name="145" href="#145">145</a> config.setScmUseEditMode( useEditMode );
-<a name="146" href="#146">146</a> config.setPreparationGoals( preparationGoals );
-<a name="147" href="#147">147</a> config.setCommitByProject( commitByProject );
-<a name="148" href="#148">148</a> config.setUpdateDependencies( updateDependencies );
-<a name="149" href="#149">149</a> config.setAutoVersionSubmodules( autoVersionSubmodules );
-<a name="150" href="#150">150</a> config.setAllowTimestampedSnapshots( allowTimestampedSnapshots );
-<a name="151" href="#151">151</a> config.setDefaultReleaseVersion( releaseVersion );
-<a name="152" href="#152">152</a> config.setDefaultDevelopmentVersion( developmentVersion );
-<a name="153" href="#153">153</a>
-<a name="154" href="#154">154</a> <em class="jxr_comment">// Create a config containing values from the system properties (command line properties).</em>
-<a name="155" href="#155">155</a> ReleaseDescriptor sysPropertiesConfig
-<a name="156" href="#156">156</a> = ReleaseUtils.copyPropertiesToReleaseDescriptor( System.getProperties() );
-<a name="157" href="#157">157</a> mergeCommandLineConfig( config, sysPropertiesConfig );
-<a name="158" href="#158">158</a>
-<a name="159" href="#159">159</a> <strong class="jxr_keyword">try</strong>
-<a name="160" href="#160">160</a> {
-<a name="161" href="#161">161</a> releaseManager.prepare( config, getReleaseEnvironment(), reactorProjects, resume, dryRun );
-<a name="162" href="#162">162</a> }
-<a name="163" href="#163">163</a> <strong class="jxr_keyword">catch</strong> ( ReleaseExecutionException e )
-<a name="164" href="#164">164</a> {
-<a name="165" href="#165">165</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> MojoExecutionException( e.getMessage(), e );
-<a name="166" href="#166">166</a> }
-<a name="167" href="#167">167</a> <strong class="jxr_keyword">catch</strong> ( ReleaseFailureException e )
-<a name="168" href="#168">168</a> {
-<a name="169" href="#169">169</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> MojoFailureException( e.getMessage() );
-<a name="170" href="#170">170</a> }
-<a name="171" href="#171">171</a> }
-<a name="172" href="#172">172</a>
-<a name="173" href="#173">173</a> <em class="jxr_javadoccomment">/**</em>
-<a name="174" href="#174">174</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 name="175" href="#175">175</a> <em class="jxr_javadoccomment"> * it into the release config object.</em>
-<a name="176" href="#176">176</a> <em class="jxr_javadoccomment"> * </em>
-<a name="177" href="#177">177</a> <em class="jxr_javadoccomment"> * @param config The release configuration to merge the system properties into, must not be <code>null</code>.</em>
-<a name="178" href="#178">178</a> <em class="jxr_javadoccomment"> * @param sysPropertiesConfig The configuration from the system properties to merge in, must not be</em>
-<a name="179" href="#179">179</a> <em class="jxr_javadoccomment"> * <code>null</code>.</em>
-<a name="180" href="#180">180</a> <em class="jxr_javadoccomment"> */</em>
-<a name="181" href="#181">181</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> mergeCommandLineConfig( ReleaseDescriptor config, ReleaseDescriptor sysPropertiesConfig )
-<a name="182" href="#182">182</a> {
-<a name="183" href="#183">183</a> <em class="jxr_comment">// If the user specifies versions, these should be override the existing versions</em>
-<a name="184" href="#184">184</a> <strong class="jxr_keyword">if</strong> ( sysPropertiesConfig.getReleaseVersions() != <strong class="jxr_keyword">null</strong> )
+<a name="121" href="#121">121</a> <em class="jxr_javadoccomment"> * Whether to allow usage of a SNAPSHOT version of the Release Plugin. This in an internal property used to support</em>
+<a name="122" href="#122">122</a> <em class="jxr_javadoccomment"> * testing of the plugin itself in batch mode.</em>
+<a name="123" href="#123">123</a> <em class="jxr_javadoccomment"> * </em>
+<a name="124" href="#124">124</a> <em class="jxr_javadoccomment"> * @parameter expression="${allowReleasePluginSnapshot}" default-value="false"</em>
+<a name="125" href="#125">125</a> <em class="jxr_javadoccomment"> * @readonly</em>
+<a name="126" href="#126">126</a> <em class="jxr_javadoccomment"> */</em>
+<a name="127" href="#127">127</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> allowReleasePluginSnapshot;
+<a name="128" href="#128">128</a>
+<a name="129" href="#129">129</a> <em class="jxr_javadoccomment">/**</em>
+<a name="130" href="#130">130</a> <em class="jxr_javadoccomment"> * Default version to use when preparing a release or a branch.</em>
+<a name="131" href="#131">131</a> <em class="jxr_javadoccomment"> * </em>
+<a name="132" href="#132">132</a> <em class="jxr_javadoccomment"> * @parameter expression="${releaseVersion}"</em>
+<a name="133" href="#133">133</a> <em class="jxr_javadoccomment"> */</em>
+<a name="134" href="#134">134</a> <strong class="jxr_keyword">private</strong> String releaseVersion;
+<a name="135" href="#135">135</a>
+<a name="136" href="#136">136</a> <em class="jxr_javadoccomment">/**</em>
+<a name="137" href="#137">137</a> <em class="jxr_javadoccomment"> * Default version to use for new local working copy.</em>
+<a name="138" href="#138">138</a> <em class="jxr_javadoccomment"> * </em>
+<a name="139" href="#139">139</a> <em class="jxr_javadoccomment"> * @parameter expression="${developmentVersion}"</em>
+<a name="140" href="#140">140</a> <em class="jxr_javadoccomment"> */</em>
+<a name="141" href="#141">141</a> <strong class="jxr_keyword">private</strong> String developmentVersion;
+<a name="142" href="#142">142</a>
+<a name="143" href="#143">143</a> <em class="jxr_javadoccomment">/**</em>
+<a name="144" href="#144">144</a> <em class="jxr_javadoccomment"> * currently only implemented with svn scm. Enable a workaround to prevent issue </em>
+<a name="145" href="#145">145</a> <em class="jxr_javadoccomment"> * due to svn client > 1.5.0 (<a href="http://jira.codehaus.org/browse/SCM-406)" target="alexandria_uri">http://jira.codehaus.org/browse/SCM-406)</a></em>
+<a name="146" href="#146">146</a> <em class="jxr_javadoccomment"> * </em>
+<a name="147" href="#147">147</a> <em class="jxr_javadoccomment"> * </em>
+<a name="148" href="#148">148</a> <em class="jxr_javadoccomment"> * @parameter expression="${remoteTagging}" default-value="true"</em>
+<a name="149" href="#149">149</a> <em class="jxr_javadoccomment"> * @since 2.0-beta-9</em>
+<a name="150" href="#150">150</a> <em class="jxr_javadoccomment"> */</em>
+<a name="151" href="#151">151</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> remoteTagging;
+<a name="152" href="#152">152</a>
+<a name="153" href="#153">153</a> <em class="jxr_javadoccomment">/**</em>
+<a name="154" href="#154">154</a> <em class="jxr_javadoccomment"> * {@inheritDoc}</em>
+<a name="155" href="#155">155</a> <em class="jxr_javadoccomment"> */</em>
+<a name="156" href="#156">156</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> execute()
+<a name="157" href="#157">157</a> <strong class="jxr_keyword">throws</strong> MojoExecutionException, MojoFailureException
+<a name="158" href="#158">158</a> {
+<a name="159" href="#159">159</a> <strong class="jxr_keyword">super</strong>.execute();
+<a name="160" href="#160">160</a>
+<a name="161" href="#161">161</a> ReleaseDescriptor config = createReleaseDescriptor();
+<a name="162" href="#162">162</a> config.setAddSchema( addSchema );
+<a name="163" href="#163">163</a> config.setGenerateReleasePoms( generateReleasePoms );
+<a name="164" href="#164">164</a> config.setScmUseEditMode( useEditMode );
+<a name="165" href="#165">165</a> config.setPreparationGoals( preparationGoals );
+<a name="166" href="#166">166</a> config.setCommitByProject( commitByProject );
+<a name="167" href="#167">167</a> config.setUpdateDependencies( updateDependencies );
+<a name="168" href="#168">168</a> config.setAutoVersionSubmodules( autoVersionSubmodules );
+<a name="169" href="#169">169</a> config.setAllowTimestampedSnapshots( allowTimestampedSnapshots );
+<a name="170" href="#170">170</a> config.setSnapshotReleasePluginAllowed( allowReleasePluginSnapshot );
+<a name="171" href="#171">171</a> config.setDefaultReleaseVersion( releaseVersion );
+<a name="172" href="#172">172</a> config.setDefaultDevelopmentVersion( developmentVersion );
+<a name="173" href="#173">173</a> config.setRemoteTagging( remoteTagging );
+<a name="174" href="#174">174</a>
+<a name="175" href="#175">175</a> <em class="jxr_comment">// Create a config containing values from the system properties (command line properties).</em>
+<a name="176" href="#176">176</a> ReleaseDescriptor sysPropertiesConfig
+<a name="177" href="#177">177</a> = ReleaseUtils.copyPropertiesToReleaseDescriptor( System.getProperties() );
+<a name="178" href="#178">178</a> mergeCommandLineConfig( config, sysPropertiesConfig );
+<a name="179" href="#179">179</a>
+<a name="180" href="#180">180</a> <strong class="jxr_keyword">try</strong>
+<a name="181" href="#181">181</a> {
+<a name="182" href="#182">182</a> releaseManager.prepare( config, getReleaseEnvironment(), reactorProjects, resume, dryRun );
+<a name="183" href="#183">183</a> }
+<a name="184" href="#184">184</a> <strong class="jxr_keyword">catch</strong> ( ReleaseExecutionException e )
<a name="185" href="#185">185</a> {
-<a name="186" href="#186">186</a> config.getReleaseVersions().putAll( sysPropertiesConfig.getReleaseVersions() );
+<a name="186" href="#186">186</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> MojoExecutionException( e.getMessage(), e );
<a name="187" href="#187">187</a> }
-<a name="188" href="#188">188</a> <strong class="jxr_keyword">if</strong> ( sysPropertiesConfig.getDevelopmentVersions() != <strong class="jxr_keyword">null</strong> )
+<a name="188" href="#188">188</a> <strong class="jxr_keyword">catch</strong> ( ReleaseFailureException e )
<a name="189" href="#189">189</a> {
-<a name="190" href="#190">190</a> config.getDevelopmentVersions().putAll( sysPropertiesConfig.getDevelopmentVersions() );
+<a name="190" href="#190">190</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> MojoFailureException( e.getMessage() );
<a name="191" href="#191">191</a> }
<a name="192" href="#192">192</a> }
<a name="193" href="#193">193</a>
-<a name="194" href="#194">194</a> }
+<a name="194" href="#194">194</a> <em class="jxr_javadoccomment">/**</em>
+<a name="195" href="#195">195</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 name="196" href="#196">196</a> <em class="jxr_javadoccomment"> * it into the release config object.</em>
+<a name="197" href="#197">197</a> <em class="jxr_javadoccomment"> * </em>
+<a name="198" href="#198">198</a> <em class="jxr_javadoccomment"> * @param config The release configuration to merge the system properties into, must not be <code>null</code>.</em>
+<a name="199" href="#199">199</a> <em class="jxr_javadoccomment"> * @param sysPropertiesConfig The configuration from the system properties to merge in, must not be</em>
+<a name="200" href="#200">200</a> <em class="jxr_javadoccomment"> * <code>null</code>.</em>
+<a name="201" href="#201">201</a> <em class="jxr_javadoccomment"> */</em>
+<a name="202" href="#202">202</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> mergeCommandLineConfig( ReleaseDescriptor config, ReleaseDescriptor sysPropertiesConfig )
+<a name="203" href="#203">203</a> {
+<a name="204" href="#204">204</a> <em class="jxr_comment">// If the user specifies versions, these should be override the existing versions</em>
+<a name="205" href="#205">205</a> <strong class="jxr_keyword">if</strong> ( sysPropertiesConfig.getReleaseVersions() != <strong class="jxr_keyword">null</strong> )
+<a name="206" href="#206">206</a> {
+<a name="207" href="#207">207</a> config.getReleaseVersions().putAll( sysPropertiesConfig.getReleaseVersions() );
+<a name="208" href="#208">208</a> }
+<a name="209" href="#209">209</a> <strong class="jxr_keyword">if</strong> ( sysPropertiesConfig.getDevelopmentVersions() != <strong class="jxr_keyword">null</strong> )
+<a name="210" href="#210">210</a> {
+<a name="211" href="#211">211</a> config.getDevelopmentVersions().putAll( sysPropertiesConfig.getDevelopmentVersions() );
+<a name="212" href="#212">212</a> }
+<a name="213" href="#213">213</a> }
+<a name="214" href="#214">214</a>
+<a name="215" href="#215">215</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/package-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/package-frame.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/package-frame.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference Package org.apache.maven.plugins.release</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference Package org.apache.maven.plugins.release</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/package-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/package-summary.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/org/apache/maven/plugins/release/package-summary.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference Package org.apache.maven.plugins.release</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference Package org.apache.maven.plugins.release</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -92,6 +92,6 @@
</ul>
</div>
<hr />
- Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/overview-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/overview-frame.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/overview-frame.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/overview-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/overview-summary.html (original)
+++ websites/production/maventest/content/plugins/maven-release-plugin-latest/xref/overview-summary.html Tue May 8 11:33:29 2012
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Maven Release Plugin 2.0-beta-8 Reference</title>
+ <title>Maven Release Plugin 2.0-beta-9 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
@@ -24,7 +24,7 @@
</ul>
</div>
- <h2>Maven Release Plugin 2.0-beta-8 Reference</h2>
+ <h2>Maven Release Plugin 2.0-beta-9 Reference</h2>
<table class="summary">
<thead>
@@ -59,6 +59,6 @@
</div>
<hr />
- Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file