Modified: websites/production/commons/content/proper/commons-release-plugin/apidocs/src-html/org/apache/commons/release/plugin/velocity/ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/apidocs/src-html/org/apache/commons/release/plugin/velocity/ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/apidocs/src-html/org/apache/commons/release/plugin/velocity/ReadmeHtmlVelocityDelegate.ReadmeHtmlVelocityDelegateBuilder.html Wed Jan 30 01:59:46 2019 @@ -86,80 +86,89 @@ <span class="sourceLineNo">078</span> ve.init();<a name="line.78"></a> <span class="sourceLineNo">079</span> Template template = ve.getTemplate(TEMPLATE);<a name="line.79"></a> <span class="sourceLineNo">080</span> String[] splitArtifactId = artifactId.split("-");<a name="line.80"></a> -<span class="sourceLineNo">081</span> String wordCommons = splitArtifactId[0];<a name="line.81"></a> -<span class="sourceLineNo">082</span> String artifactShortName = splitArtifactId[1];<a name="line.82"></a> -<span class="sourceLineNo">083</span> String artifactIdWithFirstLetterscapitalized =<a name="line.83"></a> -<span class="sourceLineNo">084</span> StringUtils.capitalize(wordCommons)<a name="line.84"></a> -<span class="sourceLineNo">085</span> + "-"<a name="line.85"></a> -<span class="sourceLineNo">086</span> + artifactShortName.toUpperCase();<a name="line.86"></a> -<span class="sourceLineNo">087</span> VelocityContext context = new VelocityContext();<a name="line.87"></a> -<span class="sourceLineNo">088</span> context.internalPut("artifactIdWithFirstLetterscapitalized", artifactIdWithFirstLetterscapitalized);<a name="line.88"></a> -<span class="sourceLineNo">089</span> context.internalPut("artifactShortName", artifactShortName.toUpperCase());<a name="line.89"></a> -<span class="sourceLineNo">090</span> context.internalPut("artifactId", artifactId);<a name="line.90"></a> -<span class="sourceLineNo">091</span> context.internalPut("version", version);<a name="line.91"></a> -<span class="sourceLineNo">092</span> context.internalPut("siteUrl", siteUrl);<a name="line.92"></a> -<span class="sourceLineNo">093</span> template.merge(context, writer);<a name="line.93"></a> -<span class="sourceLineNo">094</span> return writer;<a name="line.94"></a> -<span class="sourceLineNo">095</span> }<a name="line.95"></a> -<span class="sourceLineNo">096</span><a name="line.96"></a> -<span class="sourceLineNo">097</span> /**<a name="line.97"></a> -<span class="sourceLineNo">098</span> * A builder class for instantiation of the {@link ReadmeHtmlVelocityDelegate}.<a name="line.98"></a> -<span class="sourceLineNo">099</span> */<a name="line.99"></a> -<span class="sourceLineNo">100</span> public static class ReadmeHtmlVelocityDelegateBuilder {<a name="line.100"></a> -<span class="sourceLineNo">101</span> /** The maven artifactId to use in the <code>README.vm</code> template. */<a name="line.101"></a> -<span class="sourceLineNo">102</span> private String artifactId;<a name="line.102"></a> -<span class="sourceLineNo">103</span> /** The maven version to use in the <code>README.vm</code> template. */<a name="line.103"></a> -<span class="sourceLineNo">104</span> private String version;<a name="line.104"></a> -<span class="sourceLineNo">105</span> /** The site url to use in the <code>README.vm</code> template. */<a name="line.105"></a> -<span class="sourceLineNo">106</span> private String siteUrl;<a name="line.106"></a> -<span class="sourceLineNo">107</span><a name="line.107"></a> -<span class="sourceLineNo">108</span> /**<a name="line.108"></a> -<span class="sourceLineNo">109</span> * Private constructor for using the builder through the {@link ReadmeHtmlVelocityDelegate#builder()}<a name="line.109"></a> -<span class="sourceLineNo">110</span> * method.<a name="line.110"></a> -<span class="sourceLineNo">111</span> */<a name="line.111"></a> -<span class="sourceLineNo">112</span> private ReadmeHtmlVelocityDelegateBuilder() {<a name="line.112"></a> -<span class="sourceLineNo">113</span> super();<a name="line.113"></a> -<span class="sourceLineNo">114</span> }<a name="line.114"></a> -<span class="sourceLineNo">115</span><a name="line.115"></a> -<span class="sourceLineNo">116</span> /**<a name="line.116"></a> -<span class="sourceLineNo">117</span> * Adds the artifactId to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.117"></a> -<span class="sourceLineNo">118</span> * @param artifactId the {@link String} representing the maven artifactId.<a name="line.118"></a> -<span class="sourceLineNo">119</span> * @return the builder to continue building.<a name="line.119"></a> +<span class="sourceLineNo">081</span> String wordCommons = "commons";<a name="line.81"></a> +<span class="sourceLineNo">082</span> String artifactShortName = "";<a name="line.82"></a> +<span class="sourceLineNo">083</span> if (splitArtifactId.length > 1) {<a name="line.83"></a> +<span class="sourceLineNo">084</span> artifactShortName = splitArtifactId[1];<a name="line.84"></a> +<span class="sourceLineNo">085</span> } else if (splitArtifactId.length == 1) {<a name="line.85"></a> +<span class="sourceLineNo">086</span> artifactShortName = splitArtifactId[0];<a name="line.86"></a> +<span class="sourceLineNo">087</span> }<a name="line.87"></a> +<span class="sourceLineNo">088</span> // ".+\\d$" matches a non-empty string that terminates in a digit {0-9}.<a name="line.88"></a> +<span class="sourceLineNo">089</span> if (artifactShortName.matches(".+\\d$")) {<a name="line.89"></a> +<span class="sourceLineNo">090</span> artifactShortName = artifactShortName.substring(0, artifactShortName.length() - 1);<a name="line.90"></a> +<span class="sourceLineNo">091</span> }<a name="line.91"></a> +<span class="sourceLineNo">092</span> String artifactIdWithFirstLetterscapitalized =<a name="line.92"></a> +<span class="sourceLineNo">093</span> StringUtils.capitalize(wordCommons)<a name="line.93"></a> +<span class="sourceLineNo">094</span> + "-"<a name="line.94"></a> +<span class="sourceLineNo">095</span> + artifactShortName.toUpperCase();<a name="line.95"></a> +<span class="sourceLineNo">096</span> VelocityContext context = new VelocityContext();<a name="line.96"></a> +<span class="sourceLineNo">097</span> context.internalPut("artifactIdWithFirstLetterscapitalized", artifactIdWithFirstLetterscapitalized);<a name="line.97"></a> +<span class="sourceLineNo">098</span> context.internalPut("artifactShortName", artifactShortName.toUpperCase());<a name="line.98"></a> +<span class="sourceLineNo">099</span> context.internalPut("artifactId", artifactId);<a name="line.99"></a> +<span class="sourceLineNo">100</span> context.internalPut("version", version);<a name="line.100"></a> +<span class="sourceLineNo">101</span> context.internalPut("siteUrl", siteUrl);<a name="line.101"></a> +<span class="sourceLineNo">102</span> template.merge(context, writer);<a name="line.102"></a> +<span class="sourceLineNo">103</span> return writer;<a name="line.103"></a> +<span class="sourceLineNo">104</span> }<a name="line.104"></a> +<span class="sourceLineNo">105</span><a name="line.105"></a> +<span class="sourceLineNo">106</span> /**<a name="line.106"></a> +<span class="sourceLineNo">107</span> * A builder class for instantiation of the {@link ReadmeHtmlVelocityDelegate}.<a name="line.107"></a> +<span class="sourceLineNo">108</span> */<a name="line.108"></a> +<span class="sourceLineNo">109</span> public static class ReadmeHtmlVelocityDelegateBuilder {<a name="line.109"></a> +<span class="sourceLineNo">110</span> /** The maven artifactId to use in the <code>README.vm</code> template. */<a name="line.110"></a> +<span class="sourceLineNo">111</span> private String artifactId;<a name="line.111"></a> +<span class="sourceLineNo">112</span> /** The maven version to use in the <code>README.vm</code> template. */<a name="line.112"></a> +<span class="sourceLineNo">113</span> private String version;<a name="line.113"></a> +<span class="sourceLineNo">114</span> /** The site url to use in the <code>README.vm</code> template. */<a name="line.114"></a> +<span class="sourceLineNo">115</span> private String siteUrl;<a name="line.115"></a> +<span class="sourceLineNo">116</span><a name="line.116"></a> +<span class="sourceLineNo">117</span> /**<a name="line.117"></a> +<span class="sourceLineNo">118</span> * Private constructor for using the builder through the {@link ReadmeHtmlVelocityDelegate#builder()}<a name="line.118"></a> +<span class="sourceLineNo">119</span> * method.<a name="line.119"></a> <span class="sourceLineNo">120</span> */<a name="line.120"></a> -<span class="sourceLineNo">121</span> public ReadmeHtmlVelocityDelegateBuilder withArtifactId(String artifactId) {<a name="line.121"></a> -<span class="sourceLineNo">122</span> this.artifactId = artifactId;<a name="line.122"></a> -<span class="sourceLineNo">123</span> return this;<a name="line.123"></a> -<span class="sourceLineNo">124</span> }<a name="line.124"></a> -<span class="sourceLineNo">125</span><a name="line.125"></a> -<span class="sourceLineNo">126</span> /**<a name="line.126"></a> -<span class="sourceLineNo">127</span> * Adds the version to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.127"></a> -<span class="sourceLineNo">128</span> * @param version the maven version.<a name="line.128"></a> -<span class="sourceLineNo">129</span> * @return the builder to continue building.<a name="line.129"></a> -<span class="sourceLineNo">130</span> */<a name="line.130"></a> -<span class="sourceLineNo">131</span> public ReadmeHtmlVelocityDelegateBuilder withVersion(String version) {<a name="line.131"></a> -<span class="sourceLineNo">132</span> this.version = version;<a name="line.132"></a> -<span class="sourceLineNo">133</span> return this;<a name="line.133"></a> -<span class="sourceLineNo">134</span> }<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> -<span class="sourceLineNo">137</span> * Adds the siteUrl to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.137"></a> -<span class="sourceLineNo">138</span> * @param siteUrl the site url to be used in the <code>README.html</code><a name="line.138"></a> -<span class="sourceLineNo">139</span> * @return the builder to continue building.<a name="line.139"></a> -<span class="sourceLineNo">140</span> */<a name="line.140"></a> -<span class="sourceLineNo">141</span> public ReadmeHtmlVelocityDelegateBuilder withSiteUrl(String siteUrl) {<a name="line.141"></a> -<span class="sourceLineNo">142</span> this.siteUrl = siteUrl;<a name="line.142"></a> -<span class="sourceLineNo">143</span> return this;<a name="line.143"></a> -<span class="sourceLineNo">144</span> }<a name="line.144"></a> -<span class="sourceLineNo">145</span><a name="line.145"></a> -<span class="sourceLineNo">146</span> /**<a name="line.146"></a> -<span class="sourceLineNo">147</span> * Builds up the {@link ReadmeHtmlVelocityDelegate} from the previously set parameters.<a name="line.147"></a> -<span class="sourceLineNo">148</span> * @return a new {@link ReadmeHtmlVelocityDelegate}.<a name="line.148"></a> +<span class="sourceLineNo">121</span> private ReadmeHtmlVelocityDelegateBuilder() {<a name="line.121"></a> +<span class="sourceLineNo">122</span> super();<a name="line.122"></a> +<span class="sourceLineNo">123</span> }<a name="line.123"></a> +<span class="sourceLineNo">124</span><a name="line.124"></a> +<span class="sourceLineNo">125</span> /**<a name="line.125"></a> +<span class="sourceLineNo">126</span> * Adds the artifactId to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.126"></a> +<span class="sourceLineNo">127</span> * @param artifactId the {@link String} representing the maven artifactId.<a name="line.127"></a> +<span class="sourceLineNo">128</span> * @return the builder to continue building.<a name="line.128"></a> +<span class="sourceLineNo">129</span> */<a name="line.129"></a> +<span class="sourceLineNo">130</span> public ReadmeHtmlVelocityDelegateBuilder withArtifactId(String artifactId) {<a name="line.130"></a> +<span class="sourceLineNo">131</span> this.artifactId = artifactId;<a name="line.131"></a> +<span class="sourceLineNo">132</span> return this;<a name="line.132"></a> +<span class="sourceLineNo">133</span> }<a name="line.133"></a> +<span class="sourceLineNo">134</span><a name="line.134"></a> +<span class="sourceLineNo">135</span> /**<a name="line.135"></a> +<span class="sourceLineNo">136</span> * Adds the version to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.136"></a> +<span class="sourceLineNo">137</span> * @param version the maven version.<a name="line.137"></a> +<span class="sourceLineNo">138</span> * @return the builder to continue building.<a name="line.138"></a> +<span class="sourceLineNo">139</span> */<a name="line.139"></a> +<span class="sourceLineNo">140</span> public ReadmeHtmlVelocityDelegateBuilder withVersion(String version) {<a name="line.140"></a> +<span class="sourceLineNo">141</span> this.version = version;<a name="line.141"></a> +<span class="sourceLineNo">142</span> return this;<a name="line.142"></a> +<span class="sourceLineNo">143</span> }<a name="line.143"></a> +<span class="sourceLineNo">144</span><a name="line.144"></a> +<span class="sourceLineNo">145</span> /**<a name="line.145"></a> +<span class="sourceLineNo">146</span> * Adds the siteUrl to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.146"></a> +<span class="sourceLineNo">147</span> * @param siteUrl the site url to be used in the <code>README.html</code><a name="line.147"></a> +<span class="sourceLineNo">148</span> * @return the builder to continue building.<a name="line.148"></a> <span class="sourceLineNo">149</span> */<a name="line.149"></a> -<span class="sourceLineNo">150</span> public ReadmeHtmlVelocityDelegate build() {<a name="line.150"></a> -<span class="sourceLineNo">151</span> return new ReadmeHtmlVelocityDelegate(this.artifactId, this.version, this.siteUrl);<a name="line.151"></a> -<span class="sourceLineNo">152</span> }<a name="line.152"></a> -<span class="sourceLineNo">153</span> }<a name="line.153"></a> -<span class="sourceLineNo">154</span>}<a name="line.154"></a> +<span class="sourceLineNo">150</span> public ReadmeHtmlVelocityDelegateBuilder withSiteUrl(String siteUrl) {<a name="line.150"></a> +<span class="sourceLineNo">151</span> this.siteUrl = siteUrl;<a name="line.151"></a> +<span class="sourceLineNo">152</span> return this;<a name="line.152"></a> +<span class="sourceLineNo">153</span> }<a name="line.153"></a> +<span class="sourceLineNo">154</span><a name="line.154"></a> +<span class="sourceLineNo">155</span> /**<a name="line.155"></a> +<span class="sourceLineNo">156</span> * Builds up the {@link ReadmeHtmlVelocityDelegate} from the previously set parameters.<a name="line.156"></a> +<span class="sourceLineNo">157</span> * @return a new {@link ReadmeHtmlVelocityDelegate}.<a name="line.157"></a> +<span class="sourceLineNo">158</span> */<a name="line.158"></a> +<span class="sourceLineNo">159</span> public ReadmeHtmlVelocityDelegate build() {<a name="line.159"></a> +<span class="sourceLineNo">160</span> return new ReadmeHtmlVelocityDelegate(this.artifactId, this.version, this.siteUrl);<a name="line.160"></a> +<span class="sourceLineNo">161</span> }<a name="line.161"></a> +<span class="sourceLineNo">162</span> }<a name="line.162"></a> +<span class="sourceLineNo">163</span>}<a name="line.163"></a>
Modified: websites/production/commons/content/proper/commons-release-plugin/apidocs/src-html/org/apache/commons/release/plugin/velocity/ReadmeHtmlVelocityDelegate.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/apidocs/src-html/org/apache/commons/release/plugin/velocity/ReadmeHtmlVelocityDelegate.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/apidocs/src-html/org/apache/commons/release/plugin/velocity/ReadmeHtmlVelocityDelegate.html Wed Jan 30 01:59:46 2019 @@ -86,80 +86,89 @@ <span class="sourceLineNo">078</span> ve.init();<a name="line.78"></a> <span class="sourceLineNo">079</span> Template template = ve.getTemplate(TEMPLATE);<a name="line.79"></a> <span class="sourceLineNo">080</span> String[] splitArtifactId = artifactId.split("-");<a name="line.80"></a> -<span class="sourceLineNo">081</span> String wordCommons = splitArtifactId[0];<a name="line.81"></a> -<span class="sourceLineNo">082</span> String artifactShortName = splitArtifactId[1];<a name="line.82"></a> -<span class="sourceLineNo">083</span> String artifactIdWithFirstLetterscapitalized =<a name="line.83"></a> -<span class="sourceLineNo">084</span> StringUtils.capitalize(wordCommons)<a name="line.84"></a> -<span class="sourceLineNo">085</span> + "-"<a name="line.85"></a> -<span class="sourceLineNo">086</span> + artifactShortName.toUpperCase();<a name="line.86"></a> -<span class="sourceLineNo">087</span> VelocityContext context = new VelocityContext();<a name="line.87"></a> -<span class="sourceLineNo">088</span> context.internalPut("artifactIdWithFirstLetterscapitalized", artifactIdWithFirstLetterscapitalized);<a name="line.88"></a> -<span class="sourceLineNo">089</span> context.internalPut("artifactShortName", artifactShortName.toUpperCase());<a name="line.89"></a> -<span class="sourceLineNo">090</span> context.internalPut("artifactId", artifactId);<a name="line.90"></a> -<span class="sourceLineNo">091</span> context.internalPut("version", version);<a name="line.91"></a> -<span class="sourceLineNo">092</span> context.internalPut("siteUrl", siteUrl);<a name="line.92"></a> -<span class="sourceLineNo">093</span> template.merge(context, writer);<a name="line.93"></a> -<span class="sourceLineNo">094</span> return writer;<a name="line.94"></a> -<span class="sourceLineNo">095</span> }<a name="line.95"></a> -<span class="sourceLineNo">096</span><a name="line.96"></a> -<span class="sourceLineNo">097</span> /**<a name="line.97"></a> -<span class="sourceLineNo">098</span> * A builder class for instantiation of the {@link ReadmeHtmlVelocityDelegate}.<a name="line.98"></a> -<span class="sourceLineNo">099</span> */<a name="line.99"></a> -<span class="sourceLineNo">100</span> public static class ReadmeHtmlVelocityDelegateBuilder {<a name="line.100"></a> -<span class="sourceLineNo">101</span> /** The maven artifactId to use in the <code>README.vm</code> template. */<a name="line.101"></a> -<span class="sourceLineNo">102</span> private String artifactId;<a name="line.102"></a> -<span class="sourceLineNo">103</span> /** The maven version to use in the <code>README.vm</code> template. */<a name="line.103"></a> -<span class="sourceLineNo">104</span> private String version;<a name="line.104"></a> -<span class="sourceLineNo">105</span> /** The site url to use in the <code>README.vm</code> template. */<a name="line.105"></a> -<span class="sourceLineNo">106</span> private String siteUrl;<a name="line.106"></a> -<span class="sourceLineNo">107</span><a name="line.107"></a> -<span class="sourceLineNo">108</span> /**<a name="line.108"></a> -<span class="sourceLineNo">109</span> * Private constructor for using the builder through the {@link ReadmeHtmlVelocityDelegate#builder()}<a name="line.109"></a> -<span class="sourceLineNo">110</span> * method.<a name="line.110"></a> -<span class="sourceLineNo">111</span> */<a name="line.111"></a> -<span class="sourceLineNo">112</span> private ReadmeHtmlVelocityDelegateBuilder() {<a name="line.112"></a> -<span class="sourceLineNo">113</span> super();<a name="line.113"></a> -<span class="sourceLineNo">114</span> }<a name="line.114"></a> -<span class="sourceLineNo">115</span><a name="line.115"></a> -<span class="sourceLineNo">116</span> /**<a name="line.116"></a> -<span class="sourceLineNo">117</span> * Adds the artifactId to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.117"></a> -<span class="sourceLineNo">118</span> * @param artifactId the {@link String} representing the maven artifactId.<a name="line.118"></a> -<span class="sourceLineNo">119</span> * @return the builder to continue building.<a name="line.119"></a> +<span class="sourceLineNo">081</span> String wordCommons = "commons";<a name="line.81"></a> +<span class="sourceLineNo">082</span> String artifactShortName = "";<a name="line.82"></a> +<span class="sourceLineNo">083</span> if (splitArtifactId.length > 1) {<a name="line.83"></a> +<span class="sourceLineNo">084</span> artifactShortName = splitArtifactId[1];<a name="line.84"></a> +<span class="sourceLineNo">085</span> } else if (splitArtifactId.length == 1) {<a name="line.85"></a> +<span class="sourceLineNo">086</span> artifactShortName = splitArtifactId[0];<a name="line.86"></a> +<span class="sourceLineNo">087</span> }<a name="line.87"></a> +<span class="sourceLineNo">088</span> // ".+\\d$" matches a non-empty string that terminates in a digit {0-9}.<a name="line.88"></a> +<span class="sourceLineNo">089</span> if (artifactShortName.matches(".+\\d$")) {<a name="line.89"></a> +<span class="sourceLineNo">090</span> artifactShortName = artifactShortName.substring(0, artifactShortName.length() - 1);<a name="line.90"></a> +<span class="sourceLineNo">091</span> }<a name="line.91"></a> +<span class="sourceLineNo">092</span> String artifactIdWithFirstLetterscapitalized =<a name="line.92"></a> +<span class="sourceLineNo">093</span> StringUtils.capitalize(wordCommons)<a name="line.93"></a> +<span class="sourceLineNo">094</span> + "-"<a name="line.94"></a> +<span class="sourceLineNo">095</span> + artifactShortName.toUpperCase();<a name="line.95"></a> +<span class="sourceLineNo">096</span> VelocityContext context = new VelocityContext();<a name="line.96"></a> +<span class="sourceLineNo">097</span> context.internalPut("artifactIdWithFirstLetterscapitalized", artifactIdWithFirstLetterscapitalized);<a name="line.97"></a> +<span class="sourceLineNo">098</span> context.internalPut("artifactShortName", artifactShortName.toUpperCase());<a name="line.98"></a> +<span class="sourceLineNo">099</span> context.internalPut("artifactId", artifactId);<a name="line.99"></a> +<span class="sourceLineNo">100</span> context.internalPut("version", version);<a name="line.100"></a> +<span class="sourceLineNo">101</span> context.internalPut("siteUrl", siteUrl);<a name="line.101"></a> +<span class="sourceLineNo">102</span> template.merge(context, writer);<a name="line.102"></a> +<span class="sourceLineNo">103</span> return writer;<a name="line.103"></a> +<span class="sourceLineNo">104</span> }<a name="line.104"></a> +<span class="sourceLineNo">105</span><a name="line.105"></a> +<span class="sourceLineNo">106</span> /**<a name="line.106"></a> +<span class="sourceLineNo">107</span> * A builder class for instantiation of the {@link ReadmeHtmlVelocityDelegate}.<a name="line.107"></a> +<span class="sourceLineNo">108</span> */<a name="line.108"></a> +<span class="sourceLineNo">109</span> public static class ReadmeHtmlVelocityDelegateBuilder {<a name="line.109"></a> +<span class="sourceLineNo">110</span> /** The maven artifactId to use in the <code>README.vm</code> template. */<a name="line.110"></a> +<span class="sourceLineNo">111</span> private String artifactId;<a name="line.111"></a> +<span class="sourceLineNo">112</span> /** The maven version to use in the <code>README.vm</code> template. */<a name="line.112"></a> +<span class="sourceLineNo">113</span> private String version;<a name="line.113"></a> +<span class="sourceLineNo">114</span> /** The site url to use in the <code>README.vm</code> template. */<a name="line.114"></a> +<span class="sourceLineNo">115</span> private String siteUrl;<a name="line.115"></a> +<span class="sourceLineNo">116</span><a name="line.116"></a> +<span class="sourceLineNo">117</span> /**<a name="line.117"></a> +<span class="sourceLineNo">118</span> * Private constructor for using the builder through the {@link ReadmeHtmlVelocityDelegate#builder()}<a name="line.118"></a> +<span class="sourceLineNo">119</span> * method.<a name="line.119"></a> <span class="sourceLineNo">120</span> */<a name="line.120"></a> -<span class="sourceLineNo">121</span> public ReadmeHtmlVelocityDelegateBuilder withArtifactId(String artifactId) {<a name="line.121"></a> -<span class="sourceLineNo">122</span> this.artifactId = artifactId;<a name="line.122"></a> -<span class="sourceLineNo">123</span> return this;<a name="line.123"></a> -<span class="sourceLineNo">124</span> }<a name="line.124"></a> -<span class="sourceLineNo">125</span><a name="line.125"></a> -<span class="sourceLineNo">126</span> /**<a name="line.126"></a> -<span class="sourceLineNo">127</span> * Adds the version to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.127"></a> -<span class="sourceLineNo">128</span> * @param version the maven version.<a name="line.128"></a> -<span class="sourceLineNo">129</span> * @return the builder to continue building.<a name="line.129"></a> -<span class="sourceLineNo">130</span> */<a name="line.130"></a> -<span class="sourceLineNo">131</span> public ReadmeHtmlVelocityDelegateBuilder withVersion(String version) {<a name="line.131"></a> -<span class="sourceLineNo">132</span> this.version = version;<a name="line.132"></a> -<span class="sourceLineNo">133</span> return this;<a name="line.133"></a> -<span class="sourceLineNo">134</span> }<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> -<span class="sourceLineNo">137</span> * Adds the siteUrl to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.137"></a> -<span class="sourceLineNo">138</span> * @param siteUrl the site url to be used in the <code>README.html</code><a name="line.138"></a> -<span class="sourceLineNo">139</span> * @return the builder to continue building.<a name="line.139"></a> -<span class="sourceLineNo">140</span> */<a name="line.140"></a> -<span class="sourceLineNo">141</span> public ReadmeHtmlVelocityDelegateBuilder withSiteUrl(String siteUrl) {<a name="line.141"></a> -<span class="sourceLineNo">142</span> this.siteUrl = siteUrl;<a name="line.142"></a> -<span class="sourceLineNo">143</span> return this;<a name="line.143"></a> -<span class="sourceLineNo">144</span> }<a name="line.144"></a> -<span class="sourceLineNo">145</span><a name="line.145"></a> -<span class="sourceLineNo">146</span> /**<a name="line.146"></a> -<span class="sourceLineNo">147</span> * Builds up the {@link ReadmeHtmlVelocityDelegate} from the previously set parameters.<a name="line.147"></a> -<span class="sourceLineNo">148</span> * @return a new {@link ReadmeHtmlVelocityDelegate}.<a name="line.148"></a> +<span class="sourceLineNo">121</span> private ReadmeHtmlVelocityDelegateBuilder() {<a name="line.121"></a> +<span class="sourceLineNo">122</span> super();<a name="line.122"></a> +<span class="sourceLineNo">123</span> }<a name="line.123"></a> +<span class="sourceLineNo">124</span><a name="line.124"></a> +<span class="sourceLineNo">125</span> /**<a name="line.125"></a> +<span class="sourceLineNo">126</span> * Adds the artifactId to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.126"></a> +<span class="sourceLineNo">127</span> * @param artifactId the {@link String} representing the maven artifactId.<a name="line.127"></a> +<span class="sourceLineNo">128</span> * @return the builder to continue building.<a name="line.128"></a> +<span class="sourceLineNo">129</span> */<a name="line.129"></a> +<span class="sourceLineNo">130</span> public ReadmeHtmlVelocityDelegateBuilder withArtifactId(String artifactId) {<a name="line.130"></a> +<span class="sourceLineNo">131</span> this.artifactId = artifactId;<a name="line.131"></a> +<span class="sourceLineNo">132</span> return this;<a name="line.132"></a> +<span class="sourceLineNo">133</span> }<a name="line.133"></a> +<span class="sourceLineNo">134</span><a name="line.134"></a> +<span class="sourceLineNo">135</span> /**<a name="line.135"></a> +<span class="sourceLineNo">136</span> * Adds the version to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.136"></a> +<span class="sourceLineNo">137</span> * @param version the maven version.<a name="line.137"></a> +<span class="sourceLineNo">138</span> * @return the builder to continue building.<a name="line.138"></a> +<span class="sourceLineNo">139</span> */<a name="line.139"></a> +<span class="sourceLineNo">140</span> public ReadmeHtmlVelocityDelegateBuilder withVersion(String version) {<a name="line.140"></a> +<span class="sourceLineNo">141</span> this.version = version;<a name="line.141"></a> +<span class="sourceLineNo">142</span> return this;<a name="line.142"></a> +<span class="sourceLineNo">143</span> }<a name="line.143"></a> +<span class="sourceLineNo">144</span><a name="line.144"></a> +<span class="sourceLineNo">145</span> /**<a name="line.145"></a> +<span class="sourceLineNo">146</span> * Adds the siteUrl to the {@link ReadmeHtmlVelocityDelegate}.<a name="line.146"></a> +<span class="sourceLineNo">147</span> * @param siteUrl the site url to be used in the <code>README.html</code><a name="line.147"></a> +<span class="sourceLineNo">148</span> * @return the builder to continue building.<a name="line.148"></a> <span class="sourceLineNo">149</span> */<a name="line.149"></a> -<span class="sourceLineNo">150</span> public ReadmeHtmlVelocityDelegate build() {<a name="line.150"></a> -<span class="sourceLineNo">151</span> return new ReadmeHtmlVelocityDelegate(this.artifactId, this.version, this.siteUrl);<a name="line.151"></a> -<span class="sourceLineNo">152</span> }<a name="line.152"></a> -<span class="sourceLineNo">153</span> }<a name="line.153"></a> -<span class="sourceLineNo">154</span>}<a name="line.154"></a> +<span class="sourceLineNo">150</span> public ReadmeHtmlVelocityDelegateBuilder withSiteUrl(String siteUrl) {<a name="line.150"></a> +<span class="sourceLineNo">151</span> this.siteUrl = siteUrl;<a name="line.151"></a> +<span class="sourceLineNo">152</span> return this;<a name="line.152"></a> +<span class="sourceLineNo">153</span> }<a name="line.153"></a> +<span class="sourceLineNo">154</span><a name="line.154"></a> +<span class="sourceLineNo">155</span> /**<a name="line.155"></a> +<span class="sourceLineNo">156</span> * Builds up the {@link ReadmeHtmlVelocityDelegate} from the previously set parameters.<a name="line.156"></a> +<span class="sourceLineNo">157</span> * @return a new {@link ReadmeHtmlVelocityDelegate}.<a name="line.157"></a> +<span class="sourceLineNo">158</span> */<a name="line.158"></a> +<span class="sourceLineNo">159</span> public ReadmeHtmlVelocityDelegate build() {<a name="line.159"></a> +<span class="sourceLineNo">160</span> return new ReadmeHtmlVelocityDelegate(this.artifactId, this.version, this.siteUrl);<a name="line.160"></a> +<span class="sourceLineNo">161</span> }<a name="line.161"></a> +<span class="sourceLineNo">162</span> }<a name="line.162"></a> +<span class="sourceLineNo">163</span>}<a name="line.163"></a> Modified: websites/production/commons/content/proper/commons-release-plugin/changes-report.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/changes-report.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/changes-report.html Wed Jan 30 01:59:46 2019 @@ -1,6 +1,6 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 29 August 2018 + | Generated by Apache Maven Doxia at 29 January 2019 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -8,7 +8,7 @@ <meta charset="ISO-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="author" content="Apache Commons Developers" /> - <meta name="Date-Revision-yyyymmdd" content="20180829" /> + <meta name="Date-Revision-yyyymmdd" content="20190129" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Apache Commons Release Plugin Changes</title> @@ -36,8 +36,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 29 August 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.5-SNAPSHOT</li> + <li id="publishDate">Last Published: 29 January 2019</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -78,6 +78,10 @@ Release History</a> </li> <li class="none"> + <a href="plugin-info.html" title="Plugin Documentation"> + Plugin Documentation</a> + </li> + <li class="none"> <a href="javadocs/api-release/index.html" title="Javadoc (Latest release)"> Javadoc (Latest release)</a> </li> @@ -135,6 +139,10 @@ japicmp</a> </li> <li class="none"> + <a href="plugin-info.html" title="Plugin Documentation"> + Plugin Documentation</a> + </li> + <li class="none"> <a href="checkstyle.html" title="Checkstyle"> Checkstyle</a> </li> @@ -155,10 +163,6 @@ Tag List</a> </li> <li class="none"> - <a href="javancss.html" title="JavaNCSS Report"> - JavaNCSS Report</a> - </li> - <li class="none"> <a href="jacoco/index.html" title="JaCoCo"> JaCoCo</a> </li> @@ -275,47 +279,90 @@ <th>Date</th> <th>Description</th></tr> <tr class="b"> +<td><a href="#a1.5">1.5</a></td> +<td>2019-01-26</td> +<td>Version 1.5</td></tr> +<tr class="a"> <td><a href="#a1.4">1.4</a></td> <td>2018-08-29</td> <td>Version 1.4</td></tr> -<tr class="a"> +<tr class="b"> <td><a href="#a1.3">1.3</a></td> <td>2018-06-15</td> <td>Version 1.3</td></tr> -<tr class="b"> +<tr class="a"> <td><a href="#a1.2">1.2</a></td> <td>2018-04-02</td> <td>Version 1.2</td></tr> -<tr class="a"> +<tr class="b"> <td><a href="#a1.1">1.1</a></td> <td>2018-02-28</td> <td>1.1</td></tr> -<tr class="b"> +<tr class="a"> <td><a href="#a1.0">1.0</a></td> <td>2018-01-10</td> <td>Initial release</td></tr></table></div> <div class="section"> -<h3 id="a1.4">Release 1.4 – 2018-08-29</h3> +<h3 id="a1.5">Release 1.5 – 2019-01-26</h3> <table border="0" class="bodyTable"> -<tr class="a"> +<tr class="b"> <th>Type</th> <th>Changes</th> <th>By</th></tr> +<tr class="a"> +<td><img src="images/update.gif" alt="Update" title="Update" /></td> +<td>vote-txt, use github as opposed to git-wip</td> +<td><a href="team-list.html#chtompki">chtompki</a></td></tr> +<tr class="b"> +<td><img src="images/fix.gif" alt="Fix" title="Fix" /></td> +<td>ReadmeHtmlVelocityDelegate, accommodate for artifactIds ending in numbers</td> +<td><a href="team-list.html#chtompki">chtompki</a></td></tr> +<tr class="a"> +<td><img src="images/fix.gif" alt="Fix" title="Fix" /></td> +<td>ReadmeHtmlVelocityDelegate, bcel's artifactId != commons-bcel, but is just bcel</td> +<td><a href="team-list.html#chtompki">chtompki</a></td></tr> <tr class="b"> <td><img src="images/update.gif" alt="Update" title="Update" /></td> -<td>Better error message when files cannot be checked in to the SCM.</td> +<td>Drop sha-256 and leave sha-512 only</td> <td><a href="team-list.html#ggregory">ggregory</a></td></tr> <tr class="a"> +<td><img src="images/update.gif" alt="Update" title="Update" /></td> +<td>commons.jacoco.version: 0.8.0 -> 0.8.2; java 11 compatibility</td> +<td><a href="team-list.html#ggregory">ggregory</a></td></tr> +<tr class="b"> +<td><img src="images/add.gif" alt="Add" title="Add" /></td> +<td>introduce configuration parameter to perfom distribution checkin using Maven settings server credentials. Fixes <a class="externalLink" href="http://issues.apache.org/jira/browse/COMMONSSITE-123">COMMONSSITE-123</a>.</td> +<td><a href="team-list.html#mbenson">mbenson</a></td></tr> +<tr class="a"> <td><img src="images/fix.gif" alt="Fix" title="Fix" /></td> -<td>Check the result of checking out files from the SCM.</td> +<td>stage-distributions mojo assumes site directory has basename 'site'. Fixes <a class="externalLink" href="http://issues.apache.org/jira/browse/COMMONSSITE-122">COMMONSSITE-122</a>.</td> +<td><a href="team-list.html#mbenson">mbenson</a></td></tr></table></div> +<div class="section"> +<h3 id="a1.4">Release 1.4 – 2018-08-29</h3> +<table border="0" class="bodyTable"> +<tr class="b"> +<th>Type</th> +<th>Changes</th> +<th>By</th></tr> +<tr class="a"> +<td><img src="images/update.gif" alt="Update" title="Update" /></td> +<td>Better error message when files cannot be checked in to the SCM.</td> <td><a href="team-list.html#ggregory">ggregory</a></td></tr> <tr class="b"> +<td><img src="images/fix.gif" alt="Fix" title="Fix" /></td> +<td>Check the result of checking out files from the SCM.</td> +<td><a href="team-list.html#ggregory">ggregory</a></td></tr> +<tr class="a"> <td><img src="images/update.gif" alt="Update" title="Update" /></td> <td>[release-plugin] Use SHA-256 and SHA-512, not MD5, not SHA-1. Fixes <a class="externalLink" href="http://issues.apache.org/jira/browse/COMMONSSITE-120">COMMONSSITE-120</a>.</td> <td><a href="team-list.html#ggregory">ggregory</a></td></tr> -<tr class="a"> +<tr class="b"> <td><img src="images/update.gif" alt="Update" title="Update" /></td> <td>Update Apache Commons Compress from 1.17 to 1.18.</td> +<td><a href="team-list.html#ggregory">ggregory</a></td></tr> +<tr class="a"> +<td><img src="images/update.gif" alt="Update" title="Update" /></td> +<td>Drop SHA-256 code, leaving only SHA-512.</td> <td><a href="team-list.html#ggregory">ggregory</a></td></tr></table></div> <div class="section"> <h3 id="a1.3">Release 1.3 – 2018-06-15</h3> @@ -403,7 +450,7 @@ </div> <div class="footer"> - <p>Copyright © 2018 + <p>Copyright © 2018-2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</p> </div> Modified: websites/production/commons/content/proper/commons-release-plugin/checkstyle.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/checkstyle.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/checkstyle.html Wed Jan 30 01:59:46 2019 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 29 August 2018 + | Generated by Apache Maven Doxia at 29 January 2019 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="ISO-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180829" /> + <meta name="Date-Revision-yyyymmdd" content="20190129" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Checkstyle Results</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 29 August 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.5-SNAPSHOT</li> + <li id="publishDate">Last Published: 29 January 2019</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -77,6 +77,10 @@ Release History</a> </li> <li class="none"> + <a href="plugin-info.html" title="Plugin Documentation"> + Plugin Documentation</a> + </li> + <li class="none"> <a href="javadocs/api-release/index.html" title="Javadoc (Latest release)"> Javadoc (Latest release)</a> </li> @@ -133,6 +137,10 @@ <a href="japicmp.html" title="japicmp"> japicmp</a> </li> + <li class="none"> + <a href="plugin-info.html" title="Plugin Documentation"> + Plugin Documentation</a> + </li> <li class="none active"> <a href="checkstyle.html" title="Checkstyle"> Checkstyle</a> @@ -154,10 +162,6 @@ Tag List</a> </li> <li class="none"> - <a href="javancss.html" title="JavaNCSS Report"> - JavaNCSS Report</a> - </li> - <li class="none"> <a href="jacoco/index.html" title="JaCoCo"> JaCoCo</a> </li> @@ -296,7 +300,7 @@ </div> <div class="footer"> - <p>Copyright © 2018 + <p>Copyright © 2018-2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</p> </div> Modified: websites/production/commons/content/proper/commons-release-plugin/checkstyle.rss ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/checkstyle.rss (original) +++ websites/production/commons/content/proper/commons-release-plugin/checkstyle.rss Wed Jan 30 01:59:46 2019 @@ -23,7 +23,7 @@ under the License. <link>http://commons.apache.org/proper/commons-release-plugin/</link> <description>Apache Commons Release Plugin - Checkstyle report</description> <language>en-us</language> - <copyright>©2018 The Apache Software Foundation</copyright> + <copyright>©2018 - 2019 The Apache Software Foundation</copyright> <item> <title>File: 0, Errors: 0, Modified: websites/production/commons/content/proper/commons-release-plugin/ci-management.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/ci-management.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/ci-management.html Wed Jan 30 01:59:46 2019 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 29 August 2018 + | Generated by Apache Maven Doxia at 29 January 2019 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="ISO-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180829" /> + <meta name="Date-Revision-yyyymmdd" content="20190129" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – CI Management</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 29 August 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.5-SNAPSHOT</li> + <li id="publishDate">Last Published: 29 January 2019</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -77,6 +77,10 @@ Release History</a> </li> <li class="none"> + <a href="plugin-info.html" title="Plugin Documentation"> + Plugin Documentation</a> + </li> + <li class="none"> <a href="javadocs/api-release/index.html" title="Javadoc (Latest release)"> Javadoc (Latest release)</a> </li> @@ -265,7 +269,7 @@ </div> <div class="footer"> - <p>Copyright © 2018 + <p>Copyright © 2018-2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</p> </div> Modified: websites/production/commons/content/proper/commons-release-plugin/clirr-report.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/clirr-report.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/clirr-report.html Wed Jan 30 01:59:46 2019 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 29 August 2018 + | Generated by Apache Maven Doxia at 29 January 2019 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="ISO-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180829" /> + <meta name="Date-Revision-yyyymmdd" content="20190129" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Clirr Results</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 29 August 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.5-SNAPSHOT</li> + <li id="publishDate">Last Published: 29 January 2019</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -77,6 +77,10 @@ Release History</a> </li> <li class="none"> + <a href="plugin-info.html" title="Plugin Documentation"> + Plugin Documentation</a> + </li> + <li class="none"> <a href="javadocs/api-release/index.html" title="Javadoc (Latest release)"> Javadoc (Latest release)</a> </li> @@ -134,6 +138,10 @@ japicmp</a> </li> <li class="none"> + <a href="plugin-info.html" title="Plugin Documentation"> + Plugin Documentation</a> + </li> + <li class="none"> <a href="checkstyle.html" title="Checkstyle"> Checkstyle</a> </li> @@ -154,10 +162,6 @@ Tag List</a> </li> <li class="none"> - <a href="javancss.html" title="JavaNCSS Report"> - JavaNCSS Report</a> - </li> - <li class="none"> <a href="jacoco/index.html" title="JaCoCo"> JaCoCo</a> </li> @@ -268,8 +272,8 @@ <h2><a name="Clirr_Results"></a>Clirr Results</h2> <p>The following document contains the results of <a class="externalLink" href="http://clirr.sourceforge.net/">Clirr</a>.</p> <ul> -<li>Current Version: 1.5-SNAPSHOT</li> -<li>Comparison Version: 1.4.REL</li></ul></div> +<li>Current Version: 1.6-SNAPSHOT</li> +<li>Comparison Version: 1.5</li></ul></div> <div class="section"> <h2><a name="Summary"></a>Summary</h2> <table border="0" class="bodyTable"> @@ -297,7 +301,7 @@ </div> <div class="footer"> - <p>Copyright © 2018 + <p>Copyright © 2018-2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</p> </div> Added: websites/production/commons/content/proper/commons-release-plugin/compress-site-mojo.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/compress-site-mojo.html (added) +++ websites/production/commons/content/proper/commons-release-plugin/compress-site-mojo.html Wed Jan 30 01:59:46 2019 @@ -0,0 +1,403 @@ +<!DOCTYPE html> +<!-- + | Generated by Apache Maven Doxia at 29 January 2019 + | Rendered using Apache Maven Fluido Skin 1.3.0 +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta charset="ISO-8859-1" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="Date-Revision-yyyymmdd" content="20190129" /> + <meta http-equiv="Content-Language" content="en" /> + <title>Commons Release Plugin – commons-release:compress-site</title> + + <link rel="stylesheet" href="./css/bootstrap.min.css" type="text/css" /> + <link rel="stylesheet" href="./css/site.css" type="text/css" /> + <link rel="stylesheet" href="./css/print.css" media="print" /> + + <script type="text/javascript" src="./js/jquery.min.js"></script> + <script type="text/javascript" src="./js/bootstrap.min.js"></script> + <script type="text/javascript" src="./js/prettify.min.js"></script> + <script type="text/javascript" src="./js/site.js"></script> + + + </head> + + <body class="composite"> + <a href="http://commons.apache.org/" id="bannerLeft" title="Apache Commons logo"> + <img class="logo-left" src="./images/commons-logo.png" alt="Apache Commons logo"/> + </a> + <div class="clear"></div> + + <div class="navbar"> + <div class="navbar-inner"> + <div class="container-fluid"> + <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> + <ul class="nav"> + + <li id="publishDate">Last Published: 29 January 2019</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li> + </ul> + <div class="pull-right"> <ul class="nav"> + <li> + <a href="http://www.apachecon.com/" class="externalLink" title="ApacheCon"> + ApacheCon</a> + </li> + <li> + <a href="http://www.apache.org" class="externalLink" title="Apache"> + Apache</a> + </li> + <li> + <a href="../../" title="Commons"> + Commons</a> + </li> + </ul> +</div> + </div> + </div> + </div> + + <div class="container-fluid"> + <table class="layout-table"> + <tr> + <td class="sidebar"> + <div class="well sidebar-nav"> + <ul class="nav nav-list"> + <li class="nav-header">Release Plugin</li> + <li class="none"> + <a href="index.html" title="Overview"> + Overview</a> + </li> + <li class="none"> + <a href="download_commons-release-plugin.cgi" title="Download"> + Download</a> + </li> + <li class="none"> + <a href="release-history.html" title="Release History"> + Release History</a> + </li> + <li class="none"> + <a href="plugin-info.html" title="Plugin Documentation"> + Plugin Documentation</a> + </li> + <li class="none"> + <a href="javadocs/api-release/index.html" title="Javadoc (Latest release)"> + Javadoc (Latest release)</a> + </li> + <li class="expanded"> + <a href="development.html" title="Help"> + Help</a> + <ul> + <li class="none"> + <a href="issue-tracking.html" title="Issue Tracking"> + Issue Tracking</a> + </li> + <li class="none"> + <a href="development.html" title="Development"> + Development</a> + </li> + </ul> + </li> + </ul> + <ul class="nav nav-list"> + <li class="nav-header"><i class="icon-info-sign"></i>Project Documentation</li> + <li class="collapsed"> + <a href="project-info.html" title="Project Information"> + Project Information</a> + </li> + <li class="collapsed"> + <a href="project-reports.html" title="Project Reports"> + Project Reports</a> + </li> + </ul> + <ul class="nav nav-list"> + <li class="nav-header">Commons</li> + <li class="none"> + <a href="../../" title="Home"> + Home</a> + </li> + <li class="none"> + <a href="http://www.apache.org/licenses/" class="externalLink" title="License"> + License</a> + </li> + <li class="collapsed"> + <a href="../../components.html" title="Components"> + Components</a> + </li> + <li class="collapsed"> + <a href="../../sandbox/index.html" title="Sandbox"> + Sandbox</a> + </li> + <li class="collapsed"> + <a href="../../dormant/index.html" title="Dormant"> + Dormant</a> + </li> + </ul> + <ul class="nav nav-list"> + <li class="nav-header">General Information</li> + <li class="none"> + <a href="../../security.html" title="Security"> + Security</a> + </li> + <li class="none"> + <a href="../../volunteering.html" title="Volunteering"> + Volunteering</a> + </li> + <li class="none"> + <a href="../../patches.html" title="Contributing Patches"> + Contributing Patches</a> + </li> + <li class="none"> + <a href="../../building.html" title="Building Components"> + Building Components</a> + </li> + <li class="none"> + <a href="../../commons-parent-pom.html" title="Commons Parent Pom"> + Commons Parent Pom</a> + </li> + <li class="none"> + <a href="../../build-plugin/index.html" title="Commons Build Plugin"> + Commons Build Plugin</a> + </li> + <li class="none"> + <a href="../../releases/index.html" title="Releasing Components"> + Releasing Components</a> + </li> + <li class="none"> + <a href="http://wiki.apache.org/commons/FrontPage" class="externalLink" title="Wiki"> + Wiki</a> + </li> + </ul> + <ul class="nav nav-list"> + <li class="nav-header">ASF</li> + <li class="none"> + <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works"> + How the ASF works</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/getinvolved.html" class="externalLink" title="Get Involved"> + Get Involved</a> + </li> + <li class="none"> + <a href="http://www.apache.org/dev/" class="externalLink" title="Developer Resources"> + Developer Resources</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/policies/conduct.html" class="externalLink" title="Code of Conduct"> + Code of Conduct</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship"> + Sponsorship</a> + </li> + <li class="none"> + <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"> + Thanks</a> + </li> + </ul> + </div> + <div id="poweredBy"> + <a href="http://www.apache.org/events/current-event.html" title="ApacheCon" class="builtBy"> + <img class="builtBy" alt="ApacheCon" src="http://www.apache.org/events/current-event-125x125.png" /> + </a> + <a href="http://maven.apache.org/" title="Maven" class="builtBy"> + <img class="builtBy" alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png" /> + </a> + </div> + </td> + <td class="content"> + + + <div class="section"> +<h2><a name="commons-release:compress-site"></a>commons-release:compress-site</h2> + +<p><b>Full name</b>:</p> + +<p>org.apache.commons:commons-release-plugin:1.6-SNAPSHOT:compress-site</p> + +<p><b>This plugin goal has been deprecated</b>:</p> + +<div>- as we no longer wish to compress the site, we are going to put +this functionality in the +<tt>CommonsDistributionStagingMojo</tt>.</div> + +<p><b>Description</b>:</p> + +<div>Takes the built <tt>./target/site</tt> directory and compresses +it to <tt>./target/commons-release-plugin/site.zip</tt>.</div> + +<p><b>Attributes</b>:</p> + +<ul> + +<li>Requires a Maven project to be executed.</li> + +<li>Executes as an aggregator plugin.</li> + +<li>Since version: <tt>1.0</tt>.</li> + +<li>Binds by default to the <a class="externalLink" href="http://maven.apache.org/ref/current/maven-core/lifecycles.html">lifecycle phase</a>: <tt>post-site</tt>.</li> + </ul> + +<div class="section"> +<h3><a name="Optional_Parameters"></a>Optional Parameters</h3> + +<table class="bodyTable" border="0"> + +<tr class="a"> + +<th>Name</th> + +<th>Type</th> + +<th>Since</th> + +<th>Description</th> + </tr> + +<tr class="b"> + +<td><tt><a href="#distSvnStagingUrl"><distSvnStagingUrl></a></tt></td> + +<td><tt>String</tt></td> + +<td><tt>1.0</tt></td> + +<td>The url of the subversion repository to which we wish the artifacts +to be staged. Typicallly this would need to be of the form: +<tt>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo</tt>. +Note. that the prefix to the substring <tt>https</tt> is a +requirement.<br /><b>User property is</b>: <tt>commons.distSvnStagingUrl</tt>.<br /></td> + </tr> + +<tr class="a"> + +<td><tt><a href="#isDistModule"><isDistModule></a></tt></td> + +<td><tt>Boolean</tt></td> + +<td><tt>1.0</tt></td> + +<td>A parameter to generally avoid running unless it is specifically +turned on by the consuming module.<br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>commons.release.isDistModule</tt>.<br /></td> + </tr> + +<tr class="b"> + +<td><tt><a href="#siteDirectory"><siteDirectory></a></tt></td> + +<td><tt>File</tt></td> + +<td><tt>1.0</tt></td> + +<td>(no description)<br /><b>Default value is</b>: <tt>${project.build.directory}/site</tt>.<br /><b>User property is</b>: <tt>commons.siteOutputDirectory</tt>.<br /></td> + </tr> + +<tr class="a"> + +<td><tt><a href="#workingDirectory"><workingDirectory></a></tt></td> + +<td><tt>File</tt></td> + +<td><tt>1.0</tt></td> + +<td>The working directory for the plugin which, assuming the maven uses +the default <tt>${project.build.directory}</tt>, this becomes +<tt>target/commons-release-plugin</tt>.<br /><b>Default value is</b>: <tt>${project.build.directory}/commons-release-plugin</tt>.<br /><b>User property is</b>: <tt>commons.outputDirectory</tt>.<br /></td> + </tr> + </table> + </div> + +<div class="section"> +<h3><a name="Parameter_Details"></a>Parameter Details</h3> + +<div class="section"> +<h4><a name="a.3CdistSvnStagingUrl.3E"></a><b><a name="distSvnStagingUrl"><distSvnStagingUrl></a></b></h4> + +<div>The url of the subversion repository to which we wish the artifacts +to be staged. Typicallly this would need to be of the form: +<tt>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo</tt>. +Note. that the prefix to the substring <tt>https</tt> is a +requirement.</div> + +<ul> + +<li><b>Type</b>: <tt>java.lang.String</tt></li> + +<li><b>Since</b>: <tt>1.0</tt></li> + +<li><b>Required</b>: <tt>No</tt></li> + +<li><b>User Property</b>: <tt>commons.distSvnStagingUrl</tt></li> + </ul><hr /></div> +<div class="section"> +<h4><a name="a.3CisDistModule.3E"></a><b><a name="isDistModule"><isDistModule></a></b></h4> + +<div>A parameter to generally avoid running unless it is specifically +turned on by the consuming module.</div> + +<ul> + +<li><b>Type</b>: <tt>java.lang.Boolean</tt></li> + +<li><b>Since</b>: <tt>1.0</tt></li> + +<li><b>Required</b>: <tt>No</tt></li> + +<li><b>User Property</b>: <tt>commons.release.isDistModule</tt></li> + +<li><b>Default</b>: <tt>false</tt></li> + </ul><hr /></div> +<div class="section"> +<h4><a name="a.3CsiteDirectory.3E"></a><b><a name="siteDirectory"><siteDirectory></a></b></h4> + +<div>(no description)</div> + +<ul> + +<li><b>Type</b>: <tt>java.io.File</tt></li> + +<li><b>Since</b>: <tt>1.0</tt></li> + +<li><b>Required</b>: <tt>No</tt></li> + +<li><b>User Property</b>: <tt>commons.siteOutputDirectory</tt></li> + +<li><b>Default</b>: <tt>${project.build.directory}/site</tt></li> + </ul><hr /></div> +<div class="section"> +<h4><a name="a.3CworkingDirectory.3E"></a><b><a name="workingDirectory"><workingDirectory></a></b></h4> + +<div>The working directory for the plugin which, assuming the maven uses +the default <tt>${project.build.directory}</tt>, this becomes +<tt>target/commons-release-plugin</tt>.</div> + +<ul> + +<li><b>Type</b>: <tt>java.io.File</tt></li> + +<li><b>Since</b>: <tt>1.0</tt></li> + +<li><b>Required</b>: <tt>No</tt></li> + +<li><b>User Property</b>: <tt>commons.outputDirectory</tt></li> + +<li><b>Default</b>: <tt>${project.build.directory}/commons-release-plugin</tt></li> + </ul> + </div></div> + </div> + + + </td> + </tr> + </table> + </div> + + <div class="footer"> + <p>Copyright © 2018-2019 + <a href="https://www.apache.org/">The Apache Software Foundation</a>. + All Rights Reserved.</p> + </div> + </body> + +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-release-plugin/dependencies.html ============================================================================== --- websites/production/commons/content/proper/commons-release-plugin/dependencies.html (original) +++ websites/production/commons/content/proper/commons-release-plugin/dependencies.html Wed Jan 30 01:59:46 2019 @@ -1,13 +1,13 @@ <!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 29 August 2018 + | Generated by Apache Maven Doxia at 29 January 2019 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="ISO-8859-1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180829" /> + <meta name="Date-Revision-yyyymmdd" content="20190129" /> <meta http-equiv="Content-Language" content="en" /> <title>Commons Release Plugin – Project Dependencies</title> @@ -35,8 +35,8 @@ <a class="brand" href="http://commons.apache.org/proper/commons-release-plugin/">Apache Commons Release Plugin ™</a> <ul class="nav"> - <li id="publishDate">Last Published: 29 August 2018</li> - <li class="divider">|</li> <li id="projectVersion">Version: 1.5-SNAPSHOT</li> + <li id="publishDate">Last Published: 29 January 2019</li> + <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li> </ul> <div class="pull-right"> <ul class="nav"> <li> @@ -77,6 +77,10 @@ Release History</a> </li> <li class="none"> + <a href="plugin-info.html" title="Plugin Documentation"> + Plugin Documentation</a> + </li> + <li class="none"> <a href="javadocs/api-release/index.html" title="Javadoc (Latest release)"> Javadoc (Latest release)</a> </li> @@ -737,7 +741,7 @@ <div class="section"> <h3><a name="Dependency_Tree"></a>Dependency Tree</h3> <ul> -<li>org.apache.commons:commons-release-plugin:maven-plugin:1.5-SNAPSHOT <img id="_img1" src="./images/icon_info_sml.gif" alt="[Information]" onclick="toggleDependencyDetails( '_dep0', '_img1' );" style="cursor: pointer; vertical-align: text-bottom;"></img><div id="_dep0" style="display:none"> +<li>org.apache.commons:commons-release-plugin:maven-plugin:1.6-SNAPSHOT <img id="_img1" src="./images/icon_info_sml.gif" alt="[Information]" onclick="toggleDependencyDetails( '_dep0', '_img1' );" style="cursor: pointer; vertical-align: text-bottom;"></img><div id="_dep0" style="display:none"> <table border="0" class="bodyTable"> <tr class="a"> <th>Apache Commons Release Plugin</th></tr> @@ -1901,7 +1905,7 @@ Brotli, Zstandard and ar, cpio, jar, tar </div> <div class="footer"> - <p>Copyright © 2018 + <p>Copyright © 2018-2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</p> </div>