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/08/08 00:04:00 UTC
svn commit: r828299 [7/7] - in
/websites/production/maventest/content/plugins/maven-clean-plugin-latest:
./ apidocs/ apidocs/org/apache/maven/plugin/clean/
apidocs/org/apache/maven/plugin/clean/class-use/ cobertura/ cobertura/css/
examples/ testapidocs...
Modified: websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/org/apache/maven/plugin/clean/GlobSelector.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/org/apache/maven/plugin/clean/GlobSelector.html (original)
+++ websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/org/apache/maven/plugin/clean/GlobSelector.html Tue Aug 7 22:03:58 2012
@@ -109,54 +109,59 @@
<a name="99" href="#99">99</a>
<a name="100" href="#100">100</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> String normalizePattern( String pattern )
<a name="101" href="#101">101</a> {
-<a name="102" href="#102">102</a> String normalized = pattern.replace( ( File.separatorChar == '/' ) ? '\\' : '/', File.separatorChar );
-<a name="103" href="#103">103</a>
-<a name="104" href="#104">104</a> <strong class="jxr_keyword">if</strong> ( normalized.endsWith( File.separator ) )
-<a name="105" href="#105">105</a> {
-<a name="106" href="#106">106</a> normalized += <span class="jxr_string">"**"</span>;
-<a name="107" href="#107">107</a> }
+<a name="102" href="#102">102</a> <strong class="jxr_keyword">if</strong> ( pattern == <strong class="jxr_keyword">null</strong> )
+<a name="103" href="#103">103</a> {
+<a name="104" href="#104">104</a> <strong class="jxr_keyword">return</strong> <span class="jxr_string">""</span>;
+<a name="105" href="#105">105</a> }
+<a name="106" href="#106">106</a>
+<a name="107" href="#107">107</a> String normalized = pattern.replace( ( File.separatorChar == '/' ) ? '\\' : '/', File.separatorChar );
<a name="108" href="#108">108</a>
-<a name="109" href="#109">109</a> <strong class="jxr_keyword">return</strong> normalized;
-<a name="110" href="#110">110</a> }
-<a name="111" href="#111">111</a>
-<a name="112" href="#112">112</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isSelected( String pathname )
-<a name="113" href="#113">113</a> {
-<a name="114" href="#114">114</a> <strong class="jxr_keyword">return</strong> ( includes.length <= 0 || isMatched( pathname, includes ) )
-<a name="115" href="#115">115</a> && ( excludes.length <= 0 || !isMatched( pathname, excludes ) );
-<a name="116" href="#116">116</a> }
-<a name="117" href="#117">117</a>
-<a name="118" href="#118">118</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isMatched( String pathname, String[] patterns )
-<a name="119" href="#119">119</a> {
-<a name="120" href="#120">120</a> <strong class="jxr_keyword">for</strong> ( <strong class="jxr_keyword">int</strong> i = patterns.length - 1; i >= 0; i-- )
-<a name="121" href="#121">121</a> {
-<a name="122" href="#122">122</a> String pattern = patterns[i];
-<a name="123" href="#123">123</a> <strong class="jxr_keyword">if</strong> ( SelectorUtils.matchPath( pattern, pathname ) )
-<a name="124" href="#124">124</a> {
-<a name="125" href="#125">125</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>;
-<a name="126" href="#126">126</a> }
-<a name="127" href="#127">127</a> }
-<a name="128" href="#128">128</a> <strong class="jxr_keyword">return</strong> false;
-<a name="129" href="#129">129</a> }
-<a name="130" href="#130">130</a>
-<a name="131" href="#131">131</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> couldHoldSelected( String pathname )
-<a name="132" href="#132">132</a> {
-<a name="133" href="#133">133</a> <strong class="jxr_keyword">for</strong> ( <strong class="jxr_keyword">int</strong> i = includes.length - 1; i >= 0; i-- )
-<a name="134" href="#134">134</a> {
-<a name="135" href="#135">135</a> String include = includes[i];
-<a name="136" href="#136">136</a> <strong class="jxr_keyword">if</strong> ( SelectorUtils.matchPatternStart( include, pathname ) )
-<a name="137" href="#137">137</a> {
-<a name="138" href="#138">138</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>;
-<a name="139" href="#139">139</a> }
-<a name="140" href="#140">140</a> }
-<a name="141" href="#141">141</a> <strong class="jxr_keyword">return</strong> includes.length <= 0;
-<a name="142" href="#142">142</a> }
-<a name="143" href="#143">143</a>
-<a name="144" href="#144">144</a> <strong class="jxr_keyword">public</strong> String toString()
-<a name="145" href="#145">145</a> {
-<a name="146" href="#146">146</a> <strong class="jxr_keyword">return</strong> str;
+<a name="109" href="#109">109</a> <strong class="jxr_keyword">if</strong> ( normalized.endsWith( File.separator ) )
+<a name="110" href="#110">110</a> {
+<a name="111" href="#111">111</a> normalized += <span class="jxr_string">"**"</span>;
+<a name="112" href="#112">112</a> }
+<a name="113" href="#113">113</a>
+<a name="114" href="#114">114</a> <strong class="jxr_keyword">return</strong> normalized;
+<a name="115" href="#115">115</a> }
+<a name="116" href="#116">116</a>
+<a name="117" href="#117">117</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isSelected( String pathname )
+<a name="118" href="#118">118</a> {
+<a name="119" href="#119">119</a> <strong class="jxr_keyword">return</strong> ( includes.length <= 0 || isMatched( pathname, includes ) )
+<a name="120" href="#120">120</a> && ( excludes.length <= 0 || !isMatched( pathname, excludes ) );
+<a name="121" href="#121">121</a> }
+<a name="122" href="#122">122</a>
+<a name="123" href="#123">123</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isMatched( String pathname, String[] patterns )
+<a name="124" href="#124">124</a> {
+<a name="125" href="#125">125</a> <strong class="jxr_keyword">for</strong> ( <strong class="jxr_keyword">int</strong> i = patterns.length - 1; i >= 0; i-- )
+<a name="126" href="#126">126</a> {
+<a name="127" href="#127">127</a> String pattern = patterns[i];
+<a name="128" href="#128">128</a> <strong class="jxr_keyword">if</strong> ( SelectorUtils.matchPath( pattern, pathname ) )
+<a name="129" href="#129">129</a> {
+<a name="130" href="#130">130</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>;
+<a name="131" href="#131">131</a> }
+<a name="132" href="#132">132</a> }
+<a name="133" href="#133">133</a> <strong class="jxr_keyword">return</strong> false;
+<a name="134" href="#134">134</a> }
+<a name="135" href="#135">135</a>
+<a name="136" href="#136">136</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> couldHoldSelected( String pathname )
+<a name="137" href="#137">137</a> {
+<a name="138" href="#138">138</a> <strong class="jxr_keyword">for</strong> ( <strong class="jxr_keyword">int</strong> i = includes.length - 1; i >= 0; i-- )
+<a name="139" href="#139">139</a> {
+<a name="140" href="#140">140</a> String include = includes[i];
+<a name="141" href="#141">141</a> <strong class="jxr_keyword">if</strong> ( SelectorUtils.matchPatternStart( include, pathname ) )
+<a name="142" href="#142">142</a> {
+<a name="143" href="#143">143</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>;
+<a name="144" href="#144">144</a> }
+<a name="145" href="#145">145</a> }
+<a name="146" href="#146">146</a> <strong class="jxr_keyword">return</strong> includes.length <= 0;
<a name="147" href="#147">147</a> }
<a name="148" href="#148">148</a>
-<a name="149" href="#149">149</a> }
+<a name="149" href="#149">149</a> <strong class="jxr_keyword">public</strong> String toString()
+<a name="150" href="#150">150</a> {
+<a name="151" href="#151">151</a> <strong class="jxr_keyword">return</strong> str;
+<a name="152" href="#152">152</a> }
+<a name="153" href="#153">153</a>
+<a name="154" href="#154">154</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-clean-plugin-latest/xref/org/apache/maven/plugin/clean/package-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/org/apache/maven/plugin/clean/package-frame.html (original)
+++ websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/org/apache/maven/plugin/clean/package-frame.html Tue Aug 7 22:03:58 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 Clean Plugin 2.4 Reference Package org.apache.maven.plugin.clean</title>
+ <title>Maven Clean Plugin 2.4.1 Reference Package org.apache.maven.plugin.clean</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/org/apache/maven/plugin/clean/package-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/org/apache/maven/plugin/clean/package-summary.html (original)
+++ websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/org/apache/maven/plugin/clean/package-summary.html Tue Aug 7 22:03:58 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 Clean Plugin 2.4 Reference Package org.apache.maven.plugin.clean</title>
+ <title>Maven Clean Plugin 2.4.1 Reference Package org.apache.maven.plugin.clean</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/overview-frame.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/overview-frame.html (original)
+++ websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/overview-frame.html Tue Aug 7 22:03:58 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 Clean Plugin 2.4 Reference</title>
+ <title>Maven Clean Plugin 2.4.1 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/overview-summary.html
==============================================================================
--- websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/overview-summary.html (original)
+++ websites/production/maventest/content/plugins/maven-clean-plugin-latest/xref/overview-summary.html Tue Aug 7 22:03:58 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 Clean Plugin 2.4 Reference</title>
+ <title>Maven Clean Plugin 2.4.1 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
@@ -24,7 +24,7 @@
</ul>
</div>
- <h2>Maven Clean Plugin 2.4 Reference</h2>
+ <h2>Maven Clean Plugin 2.4.1 Reference</h2>
<table class="summary">
<thead>