You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-commits@maven.apache.org by hb...@apache.org on 2014/12/31 08:11:22 UTC

svn commit: r934557 [9/24] - in /websites/production/maven/content/ref/3-LATEST: ./ apache-maven/ apidocs/ apidocs/org/apache/maven/building/ apidocs/org/apache/maven/building/class-use/ apidocs/org/apache/maven/plugin/internal/ apidocs/org/apache/mave...

Added: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/DefaultProblemTest.html
==============================================================================
--- websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/DefaultProblemTest.html (added)
+++ websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/DefaultProblemTest.html Wed Dec 31 07:11:17 2014
@@ -0,0 +1,208 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="fr">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>package org.apache.maven.building;<a name="line.1"></a>
+<span class="sourceLineNo">002</span><a name="line.2"></a>
+<span class="sourceLineNo">003</span>/*<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * or more contributor license agreements.  See the NOTICE file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * distributed with this work for additional information<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * to you under the Apache License, Version 2.0 (the<a name="line.8"></a>
+<span class="sourceLineNo">009</span> * "License"); you may not use this file except in compliance<a name="line.9"></a>
+<span class="sourceLineNo">010</span> * with the License.  You may obtain a copy of the License at<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> *   http://www.apache.org/licenses/LICENSE-2.0<a name="line.12"></a>
+<span class="sourceLineNo">013</span> *<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * Unless required by applicable law or agreed to in writing,<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * software distributed under the License is distributed on an<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * KIND, either express or implied.  See the License for the<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * specific language governing permissions and limitations<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * under the License.<a name="line.19"></a>
+<span class="sourceLineNo">020</span> */<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>import static org.junit.Assert.assertEquals;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import static org.junit.Assert.assertSame;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.maven.building.Problem.Severity;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.junit.Test;<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>public class DefaultProblemTest<a name="line.28"></a>
+<span class="sourceLineNo">029</span>{<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span>    @Test<a name="line.31"></a>
+<span class="sourceLineNo">032</span>    public void testGetSeverity()<a name="line.32"></a>
+<span class="sourceLineNo">033</span>    {<a name="line.33"></a>
+<span class="sourceLineNo">034</span>        DefaultProblem problem = new DefaultProblem( null, null, null, -1, -1, null );<a name="line.34"></a>
+<span class="sourceLineNo">035</span>        assertEquals( Severity.ERROR, problem.getSeverity() );<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span>        problem = new DefaultProblem( null, Severity.FATAL, null, -1, -1, null );<a name="line.37"></a>
+<span class="sourceLineNo">038</span>        assertEquals( Severity.FATAL, problem.getSeverity() );<a name="line.38"></a>
+<span class="sourceLineNo">039</span>        <a name="line.39"></a>
+<span class="sourceLineNo">040</span>        problem = new DefaultProblem( null, Severity.ERROR, null, -1, -1, null );<a name="line.40"></a>
+<span class="sourceLineNo">041</span>        assertEquals( Severity.ERROR, problem.getSeverity() );<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span>        problem = new DefaultProblem( null, Severity.WARNING, null, -1, -1, null );<a name="line.43"></a>
+<span class="sourceLineNo">044</span>        assertEquals( Severity.WARNING, problem.getSeverity() );<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    }<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    <a name="line.46"></a>
+<span class="sourceLineNo">047</span>    @Test<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    public void testGetLineNumber()<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    {<a name="line.49"></a>
+<span class="sourceLineNo">050</span>        DefaultProblem problem = new DefaultProblem( null, null, null, -1, -1, null );<a name="line.50"></a>
+<span class="sourceLineNo">051</span>        assertEquals( -1, problem.getLineNumber() );<a name="line.51"></a>
+<span class="sourceLineNo">052</span><a name="line.52"></a>
+<span class="sourceLineNo">053</span>        problem = new DefaultProblem( null, null, null, 42, -1, null );<a name="line.53"></a>
+<span class="sourceLineNo">054</span>        assertEquals( 42, problem.getLineNumber() );<a name="line.54"></a>
+<span class="sourceLineNo">055</span>        <a name="line.55"></a>
+<span class="sourceLineNo">056</span>        problem = new DefaultProblem( null, null, null, Integer.MAX_VALUE, -1, null );<a name="line.56"></a>
+<span class="sourceLineNo">057</span>        assertEquals( Integer.MAX_VALUE, problem.getLineNumber() );<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span>        // this case is not specified, might also return -1<a name="line.59"></a>
+<span class="sourceLineNo">060</span>        problem = new DefaultProblem( null, null, null, Integer.MIN_VALUE, -1, null );<a name="line.60"></a>
+<span class="sourceLineNo">061</span>        assertEquals( Integer.MIN_VALUE, problem.getLineNumber() );<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    }<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    <a name="line.63"></a>
+<span class="sourceLineNo">064</span>    @Test<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    public void testGetColumnNumber()<a name="line.65"></a>
+<span class="sourceLineNo">066</span>    {<a name="line.66"></a>
+<span class="sourceLineNo">067</span>        DefaultProblem problem = new DefaultProblem( null, null, null, -1, -1, null );<a name="line.67"></a>
+<span class="sourceLineNo">068</span>        assertEquals( -1, problem.getColumnNumber() );<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span>        problem = new DefaultProblem( null, null, null, -1, 42, null );<a name="line.70"></a>
+<span class="sourceLineNo">071</span>        assertEquals( 42, problem.getColumnNumber() );<a name="line.71"></a>
+<span class="sourceLineNo">072</span>        <a name="line.72"></a>
+<span class="sourceLineNo">073</span>        problem = new DefaultProblem( null, null, null, -1, Integer.MAX_VALUE, null );<a name="line.73"></a>
+<span class="sourceLineNo">074</span>        assertEquals( Integer.MAX_VALUE, problem.getColumnNumber() );<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span>        // this case is not specified, might also return -1<a name="line.76"></a>
+<span class="sourceLineNo">077</span>        problem = new DefaultProblem( null, null, null, -1, Integer.MIN_VALUE, null );<a name="line.77"></a>
+<span class="sourceLineNo">078</span>        assertEquals( Integer.MIN_VALUE, problem.getColumnNumber() );<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    }<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    <a name="line.80"></a>
+<span class="sourceLineNo">081</span>    @Test<a name="line.81"></a>
+<span class="sourceLineNo">082</span>    public void testGetException()<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    {<a name="line.83"></a>
+<span class="sourceLineNo">084</span>        DefaultProblem problem = new DefaultProblem( null, null, null, -1, -1, null );<a name="line.84"></a>
+<span class="sourceLineNo">085</span>        assertEquals( null, problem.getException() );<a name="line.85"></a>
+<span class="sourceLineNo">086</span>        <a name="line.86"></a>
+<span class="sourceLineNo">087</span>        Exception e = new Exception();<a name="line.87"></a>
+<span class="sourceLineNo">088</span>        problem = new DefaultProblem( null, null, null, -1, -1, e );<a name="line.88"></a>
+<span class="sourceLineNo">089</span>        assertSame( e, problem.getException() );<a name="line.89"></a>
+<span class="sourceLineNo">090</span>    }<a name="line.90"></a>
+<span class="sourceLineNo">091</span><a name="line.91"></a>
+<span class="sourceLineNo">092</span>    @Test<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    public void testGetSource()<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    {<a name="line.94"></a>
+<span class="sourceLineNo">095</span>        DefaultProblem problem = new DefaultProblem( null, null, null, -1, -1, null );<a name="line.95"></a>
+<span class="sourceLineNo">096</span>        assertEquals( "", problem.getSource() );<a name="line.96"></a>
+<span class="sourceLineNo">097</span>        <a name="line.97"></a>
+<span class="sourceLineNo">098</span>        problem = new DefaultProblem( null, null, "", -1, -1, null );<a name="line.98"></a>
+<span class="sourceLineNo">099</span>        assertEquals( "", problem.getSource() );<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>        problem = new DefaultProblem( null, null, "SOURCE", -1, -1, null );<a name="line.101"></a>
+<span class="sourceLineNo">102</span>        assertEquals( "SOURCE", problem.getSource() );<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    }<a name="line.103"></a>
+<span class="sourceLineNo">104</span><a name="line.104"></a>
+<span class="sourceLineNo">105</span>    @Test<a name="line.105"></a>
+<span class="sourceLineNo">106</span>    public void testGetLocation()<a name="line.106"></a>
+<span class="sourceLineNo">107</span>    {<a name="line.107"></a>
+<span class="sourceLineNo">108</span>        DefaultProblem problem = new DefaultProblem( null, null, null, -1, -1, null );<a name="line.108"></a>
+<span class="sourceLineNo">109</span>        assertEquals( "", problem.getLocation() );<a name="line.109"></a>
+<span class="sourceLineNo">110</span>        <a name="line.110"></a>
+<span class="sourceLineNo">111</span>        problem = new DefaultProblem( null, null, "SOURCE", -1, -1, null );<a name="line.111"></a>
+<span class="sourceLineNo">112</span>        assertEquals( "SOURCE", problem.getLocation() );<a name="line.112"></a>
+<span class="sourceLineNo">113</span><a name="line.113"></a>
+<span class="sourceLineNo">114</span>        problem = new DefaultProblem( null, null, null, 42, -1, null );<a name="line.114"></a>
+<span class="sourceLineNo">115</span>        assertEquals( "line 42", problem.getLocation() );<a name="line.115"></a>
+<span class="sourceLineNo">116</span><a name="line.116"></a>
+<span class="sourceLineNo">117</span>        problem = new DefaultProblem( null, null, null, -1, 127, null );<a name="line.117"></a>
+<span class="sourceLineNo">118</span>        assertEquals( "column 127", problem.getLocation() );<a name="line.118"></a>
+<span class="sourceLineNo">119</span><a name="line.119"></a>
+<span class="sourceLineNo">120</span>        problem = new DefaultProblem( null, null, "SOURCE", 42, 127, null );<a name="line.120"></a>
+<span class="sourceLineNo">121</span>        assertEquals( "SOURCE, line 42, column 127", problem.getLocation() );<a name="line.121"></a>
+<span class="sourceLineNo">122</span>    }<a name="line.122"></a>
+<span class="sourceLineNo">123</span>    <a name="line.123"></a>
+<span class="sourceLineNo">124</span>    @Test<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    public void testGetMessage()<a name="line.125"></a>
+<span class="sourceLineNo">126</span>    {<a name="line.126"></a>
+<span class="sourceLineNo">127</span>        DefaultProblem problem = new DefaultProblem( "MESSAGE", null, null, -1, -1, null );<a name="line.127"></a>
+<span class="sourceLineNo">128</span>        assertEquals( "MESSAGE", problem.getMessage() );<a name="line.128"></a>
+<span class="sourceLineNo">129</span><a name="line.129"></a>
+<span class="sourceLineNo">130</span>        problem = new DefaultProblem( null, null, null, -1, -1, new Exception() );<a name="line.130"></a>
+<span class="sourceLineNo">131</span>        assertEquals( "", problem.getMessage() );<a name="line.131"></a>
+<span class="sourceLineNo">132</span><a name="line.132"></a>
+<span class="sourceLineNo">133</span>        problem = new DefaultProblem( null, null, null, -1, -1, new Exception( "EXCEPTION MESSAGE" ) );<a name="line.133"></a>
+<span class="sourceLineNo">134</span>        assertEquals( "EXCEPTION MESSAGE", problem.getMessage() );<a name="line.134"></a>
+<span class="sourceLineNo">135</span>    }<a name="line.135"></a>
+<span class="sourceLineNo">136</span>}<a name="line.136"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/DefaultProblemTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/DefaultProblemTest.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/FileSourceTest.html
==============================================================================
--- websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/FileSourceTest.html (added)
+++ websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/FileSourceTest.html Wed Dec 31 07:11:17 2014
@@ -0,0 +1,165 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="fr">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>package org.apache.maven.building;<a name="line.1"></a>
+<span class="sourceLineNo">002</span><a name="line.2"></a>
+<span class="sourceLineNo">003</span>/*<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * or more contributor license agreements.  See the NOTICE file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * distributed with this work for additional information<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * to you under the Apache License, Version 2.0 (the<a name="line.8"></a>
+<span class="sourceLineNo">009</span> * "License"); you may not use this file except in compliance<a name="line.9"></a>
+<span class="sourceLineNo">010</span> * with the License.  You may obtain a copy of the License at<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> *   http://www.apache.org/licenses/LICENSE-2.0<a name="line.12"></a>
+<span class="sourceLineNo">013</span> *<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * Unless required by applicable law or agreed to in writing,<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * software distributed under the License is distributed on an<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * KIND, either express or implied.  See the License for the<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * specific language governing permissions and limitations<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * under the License.<a name="line.19"></a>
+<span class="sourceLineNo">020</span> */<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>import static org.junit.Assert.assertEquals;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import static org.junit.Assert.fail;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.io.File;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import java.io.InputStream;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import java.util.Scanner;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.junit.Test;<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span>public class FileSourceTest<a name="line.31"></a>
+<span class="sourceLineNo">032</span>{<a name="line.32"></a>
+<span class="sourceLineNo">033</span><a name="line.33"></a>
+<span class="sourceLineNo">034</span>    @Test<a name="line.34"></a>
+<span class="sourceLineNo">035</span>    public void testFileSource()<a name="line.35"></a>
+<span class="sourceLineNo">036</span>    {<a name="line.36"></a>
+<span class="sourceLineNo">037</span>        try<a name="line.37"></a>
+<span class="sourceLineNo">038</span>        {<a name="line.38"></a>
+<span class="sourceLineNo">039</span>            new FileSource( null );<a name="line.39"></a>
+<span class="sourceLineNo">040</span>            fail( "Should fail, since you must specify a file" );<a name="line.40"></a>
+<span class="sourceLineNo">041</span>        }<a name="line.41"></a>
+<span class="sourceLineNo">042</span>        catch ( IllegalArgumentException e )<a name="line.42"></a>
+<span class="sourceLineNo">043</span>        {<a name="line.43"></a>
+<span class="sourceLineNo">044</span>            assertEquals( "no file specified", e.getMessage() );<a name="line.44"></a>
+<span class="sourceLineNo">045</span>        }<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    }<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span>    @Test<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    public void testGetInputStream()<a name="line.49"></a>
+<span class="sourceLineNo">050</span>        throws Exception<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    {<a name="line.51"></a>
+<span class="sourceLineNo">052</span>        File txtFile = new File( "target/test-classes/source.txt" );<a name="line.52"></a>
+<span class="sourceLineNo">053</span>        FileSource source = new FileSource( txtFile );<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>        Scanner scanner = null;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>        InputStream is = null;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>        try<a name="line.57"></a>
+<span class="sourceLineNo">058</span>        {<a name="line.58"></a>
+<span class="sourceLineNo">059</span>            is = source.getInputStream();<a name="line.59"></a>
+<span class="sourceLineNo">060</span><a name="line.60"></a>
+<span class="sourceLineNo">061</span>            scanner = new Scanner( is );<a name="line.61"></a>
+<span class="sourceLineNo">062</span>            assertEquals( "Hello World!", scanner.nextLine() );<a name="line.62"></a>
+<span class="sourceLineNo">063</span>        }<a name="line.63"></a>
+<span class="sourceLineNo">064</span>        finally<a name="line.64"></a>
+<span class="sourceLineNo">065</span>        {<a name="line.65"></a>
+<span class="sourceLineNo">066</span>            if ( scanner != null )<a name="line.66"></a>
+<span class="sourceLineNo">067</span>            {<a name="line.67"></a>
+<span class="sourceLineNo">068</span>                scanner.close();<a name="line.68"></a>
+<span class="sourceLineNo">069</span>            }<a name="line.69"></a>
+<span class="sourceLineNo">070</span>            if ( is != null )<a name="line.70"></a>
+<span class="sourceLineNo">071</span>            {<a name="line.71"></a>
+<span class="sourceLineNo">072</span>                is.close();<a name="line.72"></a>
+<span class="sourceLineNo">073</span>            }<a name="line.73"></a>
+<span class="sourceLineNo">074</span>        }<a name="line.74"></a>
+<span class="sourceLineNo">075</span>    }<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span>    @Test<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    public void testGetLocation()<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    {<a name="line.79"></a>
+<span class="sourceLineNo">080</span>        File txtFile = new File( "target/test-classes/source.txt" );<a name="line.80"></a>
+<span class="sourceLineNo">081</span>        FileSource source = new FileSource( txtFile );<a name="line.81"></a>
+<span class="sourceLineNo">082</span>        assertEquals( txtFile.getAbsolutePath(), source.getLocation() );<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    }<a name="line.83"></a>
+<span class="sourceLineNo">084</span><a name="line.84"></a>
+<span class="sourceLineNo">085</span>    @Test<a name="line.85"></a>
+<span class="sourceLineNo">086</span>    public void testGetFile()<a name="line.86"></a>
+<span class="sourceLineNo">087</span>    {<a name="line.87"></a>
+<span class="sourceLineNo">088</span>        File txtFile = new File( "target/test-classes/source.txt" );<a name="line.88"></a>
+<span class="sourceLineNo">089</span>        FileSource source = new FileSource( txtFile );<a name="line.89"></a>
+<span class="sourceLineNo">090</span>        assertEquals( txtFile.getAbsoluteFile(), source.getFile() );<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    }<a name="line.91"></a>
+<span class="sourceLineNo">092</span><a name="line.92"></a>
+<span class="sourceLineNo">093</span>}<a name="line.93"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/FileSourceTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/FileSourceTest.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/ProblemCollectorFactoryTest.html
==============================================================================
--- websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/ProblemCollectorFactoryTest.html (added)
+++ websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/ProblemCollectorFactoryTest.html Wed Dec 31 07:11:17 2014
@@ -0,0 +1,117 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="fr">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>package org.apache.maven.building;<a name="line.1"></a>
+<span class="sourceLineNo">002</span><a name="line.2"></a>
+<span class="sourceLineNo">003</span>/*<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * or more contributor license agreements.  See the NOTICE file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * distributed with this work for additional information<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * to you under the Apache License, Version 2.0 (the<a name="line.8"></a>
+<span class="sourceLineNo">009</span> * "License"); you may not use this file except in compliance<a name="line.9"></a>
+<span class="sourceLineNo">010</span> * with the License.  You may obtain a copy of the License at<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> *   http://www.apache.org/licenses/LICENSE-2.0<a name="line.12"></a>
+<span class="sourceLineNo">013</span> *<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * Unless required by applicable law or agreed to in writing,<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * software distributed under the License is distributed on an<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * KIND, either express or implied.  See the License for the<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * specific language governing permissions and limitations<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * under the License.<a name="line.19"></a>
+<span class="sourceLineNo">020</span> */<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>import static org.junit.Assert.assertEquals;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import static org.junit.Assert.assertNotSame;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.util.Collections;<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.junit.Test;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>public class ProblemCollectorFactoryTest<a name="line.29"></a>
+<span class="sourceLineNo">030</span>{<a name="line.30"></a>
+<span class="sourceLineNo">031</span><a name="line.31"></a>
+<span class="sourceLineNo">032</span>    @Test<a name="line.32"></a>
+<span class="sourceLineNo">033</span>    public void testNewInstance()<a name="line.33"></a>
+<span class="sourceLineNo">034</span>    {<a name="line.34"></a>
+<span class="sourceLineNo">035</span>        ProblemCollector collector1 = ProblemCollectorFactory.newInstance( null );<a name="line.35"></a>
+<span class="sourceLineNo">036</span>        <a name="line.36"></a>
+<span class="sourceLineNo">037</span>        Problem problem = new DefaultProblem( "MESSAGE1", null, null, -1, -1, null );<a name="line.37"></a>
+<span class="sourceLineNo">038</span>        ProblemCollector collector2 = ProblemCollectorFactory.newInstance( Collections.singletonList( problem ) );<a name="line.38"></a>
+<span class="sourceLineNo">039</span>        <a name="line.39"></a>
+<span class="sourceLineNo">040</span>        assertNotSame( collector1, collector2 );<a name="line.40"></a>
+<span class="sourceLineNo">041</span>        assertEquals( 0, collector1.getProblems().size() );<a name="line.41"></a>
+<span class="sourceLineNo">042</span>        assertEquals( 1, collector2.getProblems().size() );<a name="line.42"></a>
+<span class="sourceLineNo">043</span>    }<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span>}<a name="line.45"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/ProblemCollectorFactoryTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/ProblemCollectorFactoryTest.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/StringSourceTest.html
==============================================================================
--- websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/StringSourceTest.html (added)
+++ websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/StringSourceTest.html Wed Dec 31 07:11:17 2014
@@ -0,0 +1,151 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="fr">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>package org.apache.maven.building;<a name="line.1"></a>
+<span class="sourceLineNo">002</span><a name="line.2"></a>
+<span class="sourceLineNo">003</span>/*<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * or more contributor license agreements.  See the NOTICE file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * distributed with this work for additional information<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * to you under the Apache License, Version 2.0 (the<a name="line.8"></a>
+<span class="sourceLineNo">009</span> * "License"); you may not use this file except in compliance<a name="line.9"></a>
+<span class="sourceLineNo">010</span> * with the License.  You may obtain a copy of the License at<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> *   http://www.apache.org/licenses/LICENSE-2.0<a name="line.12"></a>
+<span class="sourceLineNo">013</span> *<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * Unless required by applicable law or agreed to in writing,<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * software distributed under the License is distributed on an<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * KIND, either express or implied.  See the License for the<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * specific language governing permissions and limitations<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * under the License.<a name="line.19"></a>
+<span class="sourceLineNo">020</span> */<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>import static org.junit.Assert.assertEquals;<a name="line.22"></a>
+<span class="sourceLineNo">023</span><a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.io.InputStream;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.util.Scanner;<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.junit.Test;<a name="line.27"></a>
+<span class="sourceLineNo">028</span><a name="line.28"></a>
+<span class="sourceLineNo">029</span>public class StringSourceTest<a name="line.29"></a>
+<span class="sourceLineNo">030</span>{<a name="line.30"></a>
+<span class="sourceLineNo">031</span>    @Test<a name="line.31"></a>
+<span class="sourceLineNo">032</span>    public void testGetInputStream()<a name="line.32"></a>
+<span class="sourceLineNo">033</span>        throws Exception<a name="line.33"></a>
+<span class="sourceLineNo">034</span>    {<a name="line.34"></a>
+<span class="sourceLineNo">035</span>        StringSource source = new StringSource( "Hello World!" );<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span>        Scanner scanner = null;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>        InputStream is = null;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>        try<a name="line.39"></a>
+<span class="sourceLineNo">040</span>        {<a name="line.40"></a>
+<span class="sourceLineNo">041</span>            is = source.getInputStream();<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span>            scanner = new Scanner( is );<a name="line.43"></a>
+<span class="sourceLineNo">044</span>            assertEquals( "Hello World!", scanner.nextLine() );<a name="line.44"></a>
+<span class="sourceLineNo">045</span>        }<a name="line.45"></a>
+<span class="sourceLineNo">046</span>        finally<a name="line.46"></a>
+<span class="sourceLineNo">047</span>        {<a name="line.47"></a>
+<span class="sourceLineNo">048</span>            if ( scanner != null )<a name="line.48"></a>
+<span class="sourceLineNo">049</span>            {<a name="line.49"></a>
+<span class="sourceLineNo">050</span>                scanner.close();<a name="line.50"></a>
+<span class="sourceLineNo">051</span>            }<a name="line.51"></a>
+<span class="sourceLineNo">052</span>            if ( is != null )<a name="line.52"></a>
+<span class="sourceLineNo">053</span>            {<a name="line.53"></a>
+<span class="sourceLineNo">054</span>                is.close();<a name="line.54"></a>
+<span class="sourceLineNo">055</span>            }<a name="line.55"></a>
+<span class="sourceLineNo">056</span>        }<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    }<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span>    @Test<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    public void testGetLocation()<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    {<a name="line.61"></a>
+<span class="sourceLineNo">062</span>        StringSource source = new StringSource( "Hello World!" );<a name="line.62"></a>
+<span class="sourceLineNo">063</span>        assertEquals( "(memory)", source.getLocation() );<a name="line.63"></a>
+<span class="sourceLineNo">064</span><a name="line.64"></a>
+<span class="sourceLineNo">065</span>        source = new StringSource( "Hello World!", "LOCATION" );<a name="line.65"></a>
+<span class="sourceLineNo">066</span>        assertEquals( "LOCATION", source.getLocation() );<a name="line.66"></a>
+<span class="sourceLineNo">067</span>    }<a name="line.67"></a>
+<span class="sourceLineNo">068</span><a name="line.68"></a>
+<span class="sourceLineNo">069</span>    @Test<a name="line.69"></a>
+<span class="sourceLineNo">070</span>    public void testGetContent()<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    {<a name="line.71"></a>
+<span class="sourceLineNo">072</span>        StringSource source = new StringSource( null );<a name="line.72"></a>
+<span class="sourceLineNo">073</span>        assertEquals( "", source.getContent() );<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span>        source = new StringSource( "Hello World!", "LOCATION" );<a name="line.75"></a>
+<span class="sourceLineNo">076</span>        assertEquals( "Hello World!", source.getContent() );<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    }<a name="line.77"></a>
+<span class="sourceLineNo">078</span><a name="line.78"></a>
+<span class="sourceLineNo">079</span>}<a name="line.79"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/StringSourceTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/StringSourceTest.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/UrlSourceTest.html
==============================================================================
--- websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/UrlSourceTest.html (added)
+++ websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/UrlSourceTest.html Wed Dec 31 07:11:17 2014
@@ -0,0 +1,159 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="fr">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>package org.apache.maven.building;<a name="line.1"></a>
+<span class="sourceLineNo">002</span><a name="line.2"></a>
+<span class="sourceLineNo">003</span>/*<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * or more contributor license agreements.  See the NOTICE file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * distributed with this work for additional information<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * to you under the Apache License, Version 2.0 (the<a name="line.8"></a>
+<span class="sourceLineNo">009</span> * "License"); you may not use this file except in compliance<a name="line.9"></a>
+<span class="sourceLineNo">010</span> * with the License.  You may obtain a copy of the License at<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> *   http://www.apache.org/licenses/LICENSE-2.0<a name="line.12"></a>
+<span class="sourceLineNo">013</span> *<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * Unless required by applicable law or agreed to in writing,<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * software distributed under the License is distributed on an<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.16"></a>
+<span class="sourceLineNo">017</span> * KIND, either express or implied.  See the License for the<a name="line.17"></a>
+<span class="sourceLineNo">018</span> * specific language governing permissions and limitations<a name="line.18"></a>
+<span class="sourceLineNo">019</span> * under the License.<a name="line.19"></a>
+<span class="sourceLineNo">020</span> */<a name="line.20"></a>
+<span class="sourceLineNo">021</span><a name="line.21"></a>
+<span class="sourceLineNo">022</span>import static org.junit.Assert.assertEquals;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import static org.junit.Assert.fail;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.io.File;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import java.io.InputStream;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import java.net.URL;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import java.util.Scanner;<a name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.junit.Test;<a name="line.30"></a>
+<span class="sourceLineNo">031</span><a name="line.31"></a>
+<span class="sourceLineNo">032</span>public class UrlSourceTest<a name="line.32"></a>
+<span class="sourceLineNo">033</span>{<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span>    @Test<a name="line.35"></a>
+<span class="sourceLineNo">036</span>    public void testUrlSource()<a name="line.36"></a>
+<span class="sourceLineNo">037</span>    {<a name="line.37"></a>
+<span class="sourceLineNo">038</span>        try<a name="line.38"></a>
+<span class="sourceLineNo">039</span>        {<a name="line.39"></a>
+<span class="sourceLineNo">040</span>            new UrlSource( null );<a name="line.40"></a>
+<span class="sourceLineNo">041</span>            fail( "Should fail, since you must specify a url" );<a name="line.41"></a>
+<span class="sourceLineNo">042</span>        }<a name="line.42"></a>
+<span class="sourceLineNo">043</span>        catch ( IllegalArgumentException e )<a name="line.43"></a>
+<span class="sourceLineNo">044</span>        {<a name="line.44"></a>
+<span class="sourceLineNo">045</span>            assertEquals( "no url specified", e.getMessage() );<a name="line.45"></a>
+<span class="sourceLineNo">046</span>        }<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    }<a name="line.47"></a>
+<span class="sourceLineNo">048</span><a name="line.48"></a>
+<span class="sourceLineNo">049</span>    @Test<a name="line.49"></a>
+<span class="sourceLineNo">050</span>    public void testGetInputStream()<a name="line.50"></a>
+<span class="sourceLineNo">051</span>        throws Exception<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    {<a name="line.52"></a>
+<span class="sourceLineNo">053</span>        URL txtFile = new File( "target/test-classes/source.txt" ).toURI().toURL();<a name="line.53"></a>
+<span class="sourceLineNo">054</span>        UrlSource source = new UrlSource( txtFile );<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span>        Scanner scanner = null;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>        InputStream is = null;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>        try<a name="line.58"></a>
+<span class="sourceLineNo">059</span>        {<a name="line.59"></a>
+<span class="sourceLineNo">060</span>            is = source.getInputStream();<a name="line.60"></a>
+<span class="sourceLineNo">061</span><a name="line.61"></a>
+<span class="sourceLineNo">062</span>            scanner = new Scanner( is );<a name="line.62"></a>
+<span class="sourceLineNo">063</span>            assertEquals( "Hello World!", scanner.nextLine() );<a name="line.63"></a>
+<span class="sourceLineNo">064</span>        }<a name="line.64"></a>
+<span class="sourceLineNo">065</span>        finally<a name="line.65"></a>
+<span class="sourceLineNo">066</span>        {<a name="line.66"></a>
+<span class="sourceLineNo">067</span>            if ( scanner != null )<a name="line.67"></a>
+<span class="sourceLineNo">068</span>            {<a name="line.68"></a>
+<span class="sourceLineNo">069</span>                scanner.close();<a name="line.69"></a>
+<span class="sourceLineNo">070</span>            }<a name="line.70"></a>
+<span class="sourceLineNo">071</span>            if ( is != null )<a name="line.71"></a>
+<span class="sourceLineNo">072</span>            {<a name="line.72"></a>
+<span class="sourceLineNo">073</span>                is.close();<a name="line.73"></a>
+<span class="sourceLineNo">074</span>            }<a name="line.74"></a>
+<span class="sourceLineNo">075</span>        }<a name="line.75"></a>
+<span class="sourceLineNo">076</span>    }<a name="line.76"></a>
+<span class="sourceLineNo">077</span><a name="line.77"></a>
+<span class="sourceLineNo">078</span>    @Test<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    public void testGetLocation()<a name="line.79"></a>
+<span class="sourceLineNo">080</span>        throws Exception<a name="line.80"></a>
+<span class="sourceLineNo">081</span>    {<a name="line.81"></a>
+<span class="sourceLineNo">082</span>        URL txtFile = new File( "target/test-classes/source.txt" ).toURI().toURL();<a name="line.82"></a>
+<span class="sourceLineNo">083</span>        UrlSource source = new UrlSource( txtFile );<a name="line.83"></a>
+<span class="sourceLineNo">084</span>        assertEquals( txtFile.toExternalForm(), source.getLocation() );<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    }<a name="line.85"></a>
+<span class="sourceLineNo">086</span><a name="line.86"></a>
+<span class="sourceLineNo">087</span>}<a name="line.87"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/UrlSourceTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/src-html/org/apache/maven/building/UrlSourceTest.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/stylesheet.css
==============================================================================
--- websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/stylesheet.css (added)
+++ websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/stylesheet.css Wed Dec 31 07:11:17 2014
@@ -0,0 +1,474 @@
+/* Javadoc style sheet */
+/*
+Overall document style
+*/
+body {
+    background-color:#ffffff;
+    color:#353833;
+    font-family:Arial, Helvetica, sans-serif;
+    font-size:76%;
+    margin:0;
+}
+a:link, a:visited {
+    text-decoration:none;
+    color:#4c6b87;
+}
+a:hover, a:focus {
+    text-decoration:none;
+    color:#bb7a2a;
+}
+a:active {
+    text-decoration:none;
+    color:#4c6b87;
+}
+a[name] {
+    color:#353833;
+}
+a[name]:hover {
+    text-decoration:none;
+    color:#353833;
+}
+pre {
+    font-size:1.3em;
+}
+h1 {
+    font-size:1.8em;
+}
+h2 {
+    font-size:1.5em;
+}
+h3 {
+    font-size:1.4em;
+}
+h4 {
+    font-size:1.3em;
+}
+h5 {
+    font-size:1.2em;
+}
+h6 {
+    font-size:1.1em;
+}
+ul {
+    list-style-type:disc;
+}
+code, tt {
+    font-size:1.2em;
+}
+dt code {
+    font-size:1.2em;
+}
+table tr td dt code {
+    font-size:1.2em;
+    vertical-align:top;
+}
+sup {
+    font-size:.6em;
+}
+/*
+Document title and Copyright styles
+*/
+.clear {
+    clear:both;
+    height:0px;
+    overflow:hidden;
+}
+.aboutLanguage {
+    float:right;
+    padding:0px 21px;
+    font-size:.8em;
+    z-index:200;
+    margin-top:-7px;
+}
+.legalCopy {
+    margin-left:.5em;
+}
+.bar a, .bar a:link, .bar a:visited, .bar a:active {
+    color:#FFFFFF;
+    text-decoration:none;
+}
+.bar a:hover, .bar a:focus {
+    color:#bb7a2a;
+}
+.tab {
+    background-color:#0066FF;
+    background-image:url(resources/titlebar.gif);
+    background-position:left top;
+    background-repeat:no-repeat;
+    color:#ffffff;
+    padding:8px;
+    width:5em;
+    font-weight:bold;
+}
+/*
+Navigation bar styles
+*/
+.bar {
+    background-image:url(resources/background.gif);
+    background-repeat:repeat-x;
+    color:#FFFFFF;
+    padding:.8em .5em .4em .8em;
+    height:auto;/*height:1.8em;*/
+    font-size:1em;
+    margin:0;
+}
+.topNav {
+    background-image:url(resources/background.gif);
+    background-repeat:repeat-x;
+    color:#FFFFFF;
+    float:left;
+    padding:0;
+    width:100%;
+    clear:right;
+    height:2.8em;
+    padding-top:10px;
+    overflow:hidden;
+}
+.bottomNav {
+    margin-top:10px;
+    background-image:url(resources/background.gif);
+    background-repeat:repeat-x;
+    color:#FFFFFF;
+    float:left;
+    padding:0;
+    width:100%;
+    clear:right;
+    height:2.8em;
+    padding-top:10px;
+    overflow:hidden;
+}
+.subNav {
+    background-color:#dee3e9;
+    border-bottom:1px solid #9eadc0;
+    float:left;
+    width:100%;
+    overflow:hidden;
+}
+.subNav div {
+    clear:left;
+    float:left;
+    padding:0 0 5px 6px;
+}
+ul.navList, ul.subNavList {
+    float:left;
+    margin:0 25px 0 0;
+    padding:0;
+}
+ul.navList li{
+    list-style:none;
+    float:left;
+    padding:3px 6px;
+}
+ul.subNavList li{
+    list-style:none;
+    float:left;
+    font-size:90%;
+}
+.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
+    color:#FFFFFF;
+    text-decoration:none;
+}
+.topNav a:hover, .bottomNav a:hover {
+    text-decoration:none;
+    color:#bb7a2a;
+}
+.navBarCell1Rev {
+    background-image:url(resources/tab.gif);
+    background-color:#a88834;
+    color:#FFFFFF;
+    margin: auto 5px;
+    border:1px solid #c9aa44;
+}
+/*
+Page header and footer styles
+*/
+.header, .footer {
+    clear:both;
+    margin:0 20px;
+    padding:5px 0 0 0;
+}
+.indexHeader {
+    margin:10px;
+    position:relative;
+}
+.indexHeader h1 {
+    font-size:1.3em;
+}
+.title {
+    color:#2c4557;
+    margin:10px 0;
+}
+.subTitle {
+    margin:5px 0 0 0;
+}
+.header ul {
+    margin:0 0 25px 0;
+    padding:0;
+}
+.footer ul {
+    margin:20px 0 5px 0;
+}
+.header ul li, .footer ul li {
+    list-style:none;
+    font-size:1.2em;
+}
+/*
+Heading styles
+*/
+div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
+    background-color:#dee3e9;
+    border-top:1px solid #9eadc0;
+    border-bottom:1px solid #9eadc0;
+    margin:0 0 6px -8px;
+    padding:2px 5px;
+}
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+    background-color:#dee3e9;
+    border-top:1px solid #9eadc0;
+    border-bottom:1px solid #9eadc0;
+    margin:0 0 6px -8px;
+    padding:2px 5px;
+}
+ul.blockList ul.blockList li.blockList h3 {
+    padding:0;
+    margin:15px 0;
+}
+ul.blockList li.blockList h2 {
+    padding:0px 0 20px 0;
+}
+/*
+Page layout container styles
+*/
+.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
+    clear:both;
+    padding:10px 20px;
+    position:relative;
+}
+.indexContainer {
+    margin:10px;
+    position:relative;
+    font-size:1.0em;
+}
+.indexContainer h2 {
+    font-size:1.1em;
+    padding:0 0 3px 0;
+}
+.indexContainer ul {
+    margin:0;
+    padding:0;
+}
+.indexContainer ul li {
+    list-style:none;
+}
+.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
+    font-size:1.1em;
+    font-weight:bold;
+    margin:10px 0 0 0;
+    color:#4E4E4E;
+}
+.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
+    margin:10px 0 10px 20px;
+}
+.serializedFormContainer dl.nameValue dt {
+    margin-left:1px;
+    font-size:1.1em;
+    display:inline;
+    font-weight:bold;
+}
+.serializedFormContainer dl.nameValue dd {
+    margin:0 0 0 1px;
+    font-size:1.1em;
+    display:inline;
+}
+/*
+List styles
+*/
+ul.horizontal li {
+    display:inline;
+    font-size:0.9em;
+}
+ul.inheritance {
+    margin:0;
+    padding:0;
+}
+ul.inheritance li {
+    display:inline;
+    list-style:none;
+}
+ul.inheritance li ul.inheritance {
+    margin-left:15px;
+    padding-left:15px;
+    padding-top:1px;
+}
+ul.blockList, ul.blockListLast {
+    margin:10px 0 10px 0;
+    padding:0;
+}
+ul.blockList li.blockList, ul.blockListLast li.blockList {
+    list-style:none;
+    margin-bottom:25px;
+}
+ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
+    padding:0px 20px 5px 10px;
+    border:1px solid #9eadc0;
+    background-color:#f9f9f9;
+}
+ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
+    padding:0 0 5px 8px;
+    background-color:#ffffff;
+    border:1px solid #9eadc0;
+    border-top:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
+    margin-left:0;
+    padding-left:0;
+    padding-bottom:15px;
+    border:none;
+    border-bottom:1px solid #9eadc0;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
+    list-style:none;
+    border-bottom:none;
+    padding-bottom:0;
+}
+table tr td dl, table tr td dl dt, table tr td dl dd {
+    margin-top:0;
+    margin-bottom:1px;
+}
+/*
+Table styles
+*/
+.contentContainer table, .classUseContainer table, .constantValuesContainer table {
+    border-bottom:1px solid #9eadc0;
+    width:100%;
+}
+.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table {
+    width:100%;
+}
+.contentContainer .description table, .contentContainer .details table {
+    border-bottom:none;
+}
+.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{
+    vertical-align:top;
+    padding-right:20px;
+}
+.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast,
+.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast,
+.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne,
+.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne {
+    padding-right:3px;
+}
+.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption {
+    position:relative;
+    text-align:left;
+    background-repeat:no-repeat;
+    color:#FFFFFF;
+    font-weight:bold;
+    clear:none;
+    overflow:hidden;
+    padding:0px;
+    margin:0px;
+}
+caption a:link, caption a:hover, caption a:active, caption a:visited {
+    color:#FFFFFF;
+}
+.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span {
+    white-space:nowrap;
+    padding-top:8px;
+    padding-left:8px;
+    display:block;
+    float:left;
+    background-image:url(resources/titlebar.gif);
+    height:18px;
+}
+.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd {
+    width:10px;
+    background-image:url(resources/titlebar_end.gif);
+    background-repeat:no-repeat;
+    background-position:top right;
+    position:relative;
+    float:left;
+}
+ul.blockList ul.blockList li.blockList table {
+    margin:0 0 12px 0px;
+    width:100%;
+}
+.tableSubHeadingColor {
+    background-color: #EEEEFF;
+}
+.altColor {
+    background-color:#eeeeef;
+}
+.rowColor {
+    background-color:#ffffff;
+}
+.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td {
+    text-align:left;
+    padding:3px 3px 3px 7px;
+}
+th.colFirst, th.colLast, th.colOne, .constantValuesContainer th {
+    background:#dee3e9;
+    border-top:1px solid #9eadc0;
+    border-bottom:1px solid #9eadc0;
+    text-align:left;
+    padding:3px 3px 3px 7px;
+}
+td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
+    font-weight:bold;
+}
+td.colFirst, th.colFirst {
+    border-left:1px solid #9eadc0;
+    white-space:nowrap;
+}
+td.colLast, th.colLast {
+    border-right:1px solid #9eadc0;
+}
+td.colOne, th.colOne {
+    border-right:1px solid #9eadc0;
+    border-left:1px solid #9eadc0;
+}
+table.overviewSummary  {
+    padding:0px;
+    margin-left:0px;
+}
+table.overviewSummary td.colFirst, table.overviewSummary th.colFirst,
+table.overviewSummary td.colOne, table.overviewSummary th.colOne {
+    width:25%;
+    vertical-align:middle;
+}
+table.packageSummary td.colFirst, table.overviewSummary th.colFirst {
+    width:25%;
+    vertical-align:middle;
+}
+/*
+Content styles
+*/
+.description pre {
+    margin-top:0;
+}
+.deprecatedContent {
+    margin:0;
+    padding:10px 0;
+}
+.docSummary {
+    padding:0;
+}
+/*
+Formatting effect styles
+*/
+.sourceLineNo {
+    color:green;
+    padding:0 30px 0 0;
+}
+h1.hidden {
+    visibility:hidden;
+    overflow:hidden;
+    font-size:.9em;
+}
+.block {
+    display:block;
+    margin:3px 0 0 0;
+}
+.strong {
+    font-weight:bold;
+}
\ No newline at end of file

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/stylesheet.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/testapidocs/stylesheet.css
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/allclasses-frame.html
==============================================================================
--- websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/allclasses-frame.html (added)
+++ websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/allclasses-frame.html Wed Dec 31 07:11:17 2014
@@ -0,0 +1,35 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+		<title>All Classes</title>
+		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+    </head>
+    <body>
+
+		<h3>All Classes</h3>
+
+		<ul>
+						<li>
+				<a href="org/apache/maven/building/DefaultProblemCollectorTest.html" target="classFrame">DefaultProblemCollectorTest</a>
+			</li>
+						<li>
+				<a href="org/apache/maven/building/DefaultProblemTest.html" target="classFrame">DefaultProblemTest</a>
+			</li>
+						<li>
+				<a href="org/apache/maven/building/FileSourceTest.html" target="classFrame">FileSourceTest</a>
+			</li>
+						<li>
+				<a href="org/apache/maven/building/ProblemCollectorFactoryTest.html" target="classFrame">ProblemCollectorFactoryTest</a>
+			</li>
+						<li>
+				<a href="org/apache/maven/building/StringSourceTest.html" target="classFrame">StringSourceTest</a>
+			</li>
+						<li>
+				<a href="org/apache/maven/building/UrlSourceTest.html" target="classFrame">UrlSourceTest</a>
+			</li>
+			      </ul>
+
+    </body>
+  </html>
\ No newline at end of file

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/allclasses-frame.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/allclasses-frame.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/index.html
==============================================================================
--- websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/index.html (added)
+++ websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/index.html Wed Dec 31 07:11:17 2014
@@ -0,0 +1,24 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<html xml:lang="en" lang="en">
+<!-- this is a JXR report set -->
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+		<title>Maven Builder Support 3.2.6-SNAPSHOT Reference</title>
+	</head>
+    <frameset cols="20%,80%">
+		<frameset rows="30%,70%">
+			<frame src="overview-frame.html" name="packageListFrame" />
+			<frame src="allclasses-frame.html" name="packageFrame" />
+		</frameset>
+		<frame src="overview-summary.html" name="classFrame" />
+        <noframes>
+            <body>
+                <h1>Frame Alert</h1>
+                <p>
+                    You don't have frames. Go <a href="overview-summary.html">here</a>
+                </p>
+            </body>
+        </noframes>
+    </frameset>
+</html>

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/index.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/org/apache/maven/building/DefaultProblemCollectorTest.html
==============================================================================
--- websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/org/apache/maven/building/DefaultProblemCollectorTest.html (added)
+++ websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/org/apache/maven/building/DefaultProblemCollectorTest.html Wed Dec 31 07:11:17 2014
@@ -0,0 +1,89 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>DefaultProblemCollectorTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../testapidocs/org/apache/maven/building/DefaultProblemCollectorTest.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a>   <strong class="jxr_keyword">package</strong> org.apache.maven.building;
+<a class="jxr_linenumber" name="L2" href="#L2">2</a>   
+<a class="jxr_linenumber" name="L3" href="#L3">3</a>   <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em class="jxr_comment"> *   <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <em class="jxr_comment"> * under the License.</em>
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.*;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong class="jxr_keyword">import</strong> org.apache.maven.building.Problem.Severity;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/maven/building/DefaultProblemCollectorTest.html">DefaultProblemCollectorTest</a>
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  {
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>      @Test
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testGetProblems()
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>      {
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>          DefaultProblemCollector collector = <strong class="jxr_keyword">new</strong> DefaultProblemCollector( <strong class="jxr_keyword">null</strong> );
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>          assertNotNull( collector.getProblems() );
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>          assertEquals( 0, collector.getProblems().size() );
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>          collector.add( <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"MESSAGE1"</span>, -1, -1, <strong class="jxr_keyword">null</strong> );
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>          
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>          Exception e2 = <strong class="jxr_keyword">new</strong> Exception();
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>          collector.add( Severity.WARNING, <strong class="jxr_keyword">null</strong>, 42, 127, e2 );
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>          
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>          assertEquals( 2, collector.getProblems().size() );
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>          Problem p1 = collector.getProblems().get(0);
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>          assertEquals( Severity.ERROR, p1.getSeverity() );
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>          assertEquals( <span class="jxr_string">"MESSAGE1"</span>,p1.getMessage() );
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>          assertEquals( -1, p1.getLineNumber() );
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>          assertEquals( -1, p1.getColumnNumber() );
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>          assertEquals( <strong class="jxr_keyword">null</strong>, p1.getException() );
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>          
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>          Problem p2 = collector.getProblems().get(1);
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>          assertEquals( Severity.WARNING, p2.getSeverity() );
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>          assertEquals( <span class="jxr_string">""</span>,p2.getMessage() );
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>          assertEquals( 42, p2.getLineNumber() );
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>          assertEquals( 127, p2.getColumnNumber() );
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>          assertEquals( e2, p2.getException() );
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>      }
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>  
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>      @Test
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testSetSource()
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>      {
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>          DefaultProblemCollector collector = <strong class="jxr_keyword">new</strong> DefaultProblemCollector( <strong class="jxr_keyword">null</strong> );
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>          
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>          collector.add( <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"PROBLEM1"</span>, -1, -1, <strong class="jxr_keyword">null</strong> );
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>  
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>          collector.setSource( <span class="jxr_string">"SOURCE_PROBLEM2"</span> );
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>          collector.add( <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"PROBLEM2"</span>, -1, -1, <strong class="jxr_keyword">null</strong> );
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>  
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>          collector.setSource( <span class="jxr_string">"SOURCE_PROBLEM3"</span> );
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>          collector.add( <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"PROBLEM3"</span>, -1, -1, <strong class="jxr_keyword">null</strong> );
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>  
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>          assertEquals( <span class="jxr_string">""</span>, collector.getProblems().get( 0 ).getSource() );
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>          assertEquals( <span class="jxr_string">"SOURCE_PROBLEM2"</span>, collector.getProblems().get( 1 ).getSource() );
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>          assertEquals( <span class="jxr_string">"SOURCE_PROBLEM3"</span>, collector.getProblems().get( 2 ).getSource() );
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>      }
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>  }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2001&#x2013;2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>
\ No newline at end of file

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/org/apache/maven/building/DefaultProblemCollectorTest.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/maven/content/ref/3-LATEST/maven-builder-support/xref-test/org/apache/maven/building/DefaultProblemCollectorTest.html
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision