Modified: maven/website/components/plugins-archives/maven-help-plugin-LATEST/apidocs/org/apache/maven/plugins/help/AbstractEffectiveMojo.html ============================================================================== --- maven/website/components/plugins-archives/maven-help-plugin-LATEST/apidocs/org/apache/maven/plugins/help/AbstractEffectiveMojo.html (original) +++ maven/website/components/plugins-archives/maven-help-plugin-LATEST/apidocs/org/apache/maven/plugins/help/AbstractEffectiveMojo.html Sun Jun 2 15:20:18 2024 @@ -1,293 +1,442 @@ -<!DOCTYPE HTML> -<html lang="en"> -<head> -<!-- Generated by javadoc (17) --> -<title>AbstractEffectiveMojo (Apache Maven Help Plugin 3.4.0 API)</title> -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<meta name="description" content="declaration: package: org.apache.maven.plugins.help, class: AbstractEffectiveMojo"> -<meta name="generator" content="javadoc/ClassWriterImpl"> -<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> -<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style"> -<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> -<script type="text/javascript" src="../../../../../script.js"></script> -<script type="text/javascript" src="../../../../../script-dir/jquery-3.6.0.min.js"></script> -<script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script> -</head> -<body class="class-declaration-page"> -<script type="text/javascript">var evenRowColor = "even-row-color"; -var oddRowColor = "odd-row-color"; -var tableTab = "table-tab"; -var activeTableTab = "active-table-tab"; -var pathtoroot = "../../../../../"; -loadScripts(document, 'script');</script> -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<div class="flex-box"> -<header role="banner" class="flex-header"> -<nav role="navigation"> -<!-- ========= START OF TOP NAVBAR ======= --> -<div class="top-nav" id="navbar-top"> -<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> -<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> -<li><a href="package-summary.html">Package</a></li> -<li class="nav-bar-cell1-rev">Class</li> -<li><a href="class-use/AbstractEffectiveMojo.html">Use</a></li> -<li><a href="package-tree.html">Tree</a></li> -<li><a href="../../../../../index-all.html">Index</a></li> -<li><a href="../../../../../help-doc.html#class">Help</a></li> -</ul> -</div> -<div class="sub-nav"> -<div> -<ul class="sub-nav-list"> -<li>Summary: </li> -<li><a href="#nested-class-summary">Nested</a> | </li> -<li><a href="#field-summary">Field</a> | </li> -<li><a href="#constructor-summary">Constr</a> | </li> -<li><a href="#method-summary">Method</a></li> -</ul> -<ul class="sub-nav-list"> -<li>Detail: </li> -<li>Field | </li> -<li><a href="#constructor-detail">Constr</a> | </li> -<li><a href="#method-detail">Method</a></li> -</ul> -</div> -<div class="nav-list-search"><label for="search-input">SEARCH:</label> -<input type="text" id="search-input" value="search" disabled="disabled"> -<input type="reset" id="reset-button" value="reset" disabled="disabled"> -</div> -</div> -<!-- ========= END OF TOP NAVBAR ========= --> -<span class="skip-nav" id="skip-navbar-top"></span></nav> -</header> -<div class="flex-content"> -<main role="main"> -<!-- ======== START OF CLASS DATA ======== --> -<div class="header"> -<div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.maven.plugins.help</a></div> -<h1 title="Class AbstractEffectiveMojo" class="title">Class AbstractEffectiveMojo</h1> -</div> -<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> -<div class="inheritance">org.apache.maven.plugin.AbstractMojo -<div class="inheritance"><a href="AbstractHelpMojo.html" title="class in org.apache.maven.plugins.help">org.apache.maven.plugins.help.AbstractHelpMojo</a> -<div class="inheritance">org.apache.maven.plugins.help.AbstractEffectiveMojo</div> -</div> -</div> -</div> -<section class="class-description" id="class-description"> -<dl class="notes"> -<dt>All Implemented Interfaces:</dt> -<dd><code>org.apache.maven.plugin.ContextEnabled</code>, <code>org.apache.maven.plugin.Mojo</code></dd> -</dl> -<dl class="notes"> -<dt>Direct Known Subclasses:</dt> -<dd><code><a href="EffectivePomMojo.html" title="class in org.apache.maven.plugins.help">EffectivePomMojo</a></code>, <code><a href="EffectiveSettingsMojo.html" title="class in org.apache.maven.plugins.help">EffectiveSettingsMojo</a></code></dd> -</dl> -<hr> -<div class="type-signature"><span class="modifiers">public abstract class </span><span class="element-name type-name-label">AbstractEffectiveMojo</span> -<span class="extends-implements">extends <a href="AbstractHelpMojo.html" title="class in org.apache.maven.plugins.help">AbstractHelpMojo</a></span></div> -<div class="block">Base class with common utilities to write effective Pom/settings.</div> -<dl class="notes"> -<dt>Since:</dt> -<dd>2.1</dd> -<dt>Author:</dt> -<dd><a href="mailto:vincent.sive...@gmail.com">Vincent Siveton</a></dd> -</dl> -</section> -<section class="summary"> -<ul class="summary-list"> -<!-- ======== NESTED CLASS SUMMARY ======== --> -<li> -<section class="nested-class-summary" id="nested-class-summary"> -<h2>Nested Class Summary</h2> -<div class="caption"><span>Nested Classes</span></div> -<div class="summary-table three-column-summary"> -<div class="table-header col-first">Modifier and Type</div> -<div class="table-header col-second">Class</div> -<div class="table-header col-last">Description</div> -<div class="col-first even-row-color"><code>protected static class </code></div> -<div class="col-second even-row-color"><code><a href="AbstractEffectiveMojo.SortedProperties.html" class="type-name-link" title="class in org.apache.maven.plugins.help">AbstractEffectiveMojo.SortedProperties</a></code></div> -<div class="col-last even-row-color"> -<div class="block">Properties which provides a sorted keySet().</div> -</div> -</div> -</section> -</li> -<!-- =========== FIELD SUMMARY =========== --> -<li> -<section class="field-summary" id="field-summary"> -<h2>Field Summary</h2> -<div class="inherited-list"> -<h3 id="fields-inherited-from-class-org.apache.maven.plugins.help.AbstractHelpMojo">Fields inherited from class org.apache.maven.plugins.help.<a href="AbstractHelpMojo.html" title="class in org.apache.maven.plugins.help">AbstractHelpMojo</a></h3> -<code><a href="AbstractHelpMojo.html#LINE_LENGTH">LINE_LENGTH</a>, <a href="AbstractHelpMojo.html#LS">LS</a>, <a href="AbstractHelpMojo.html#output">output</a>, <a href="AbstractHelpMojo.html#project">project</a>, <a href="AbstractHelpMojo.html#projectBuilder">projectBuilder</a>, <a href="AbstractHelpMojo.html#repositorySystem">repositorySystem</a>, <a href="AbstractHelpMojo.html#session">session</a></code></div> -<div class="inherited-list"> -<h3 id="fields-inherited-from-class-org.apache.maven.plugin.Mojo">Fields inherited from interface org.apache.maven.plugin.Mojo</h3> -<code>ROLE</code></div> -</section> -</li> -<!-- ======== CONSTRUCTOR SUMMARY ======== --> -<li> -<section class="constructor-summary" id="constructor-summary"> -<h2>Constructor Summary</h2> -<div class="caption"><span>Constructors</span></div> -<div class="summary-table two-column-summary"> -<div class="table-header col-first">Constructor</div> -<div class="table-header col-last">Description</div> -<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">AbstractEffectiveMojo</a>()</code></div> -<div class="col-last even-row-color"> </div> -</div> -</section> -</li> -<!-- ========== METHOD SUMMARY =========== --> -<li> -<section class="method-summary" id="method-summary"> -<h2>Method Summary</h2> -<div id="method-summary-table"> -<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> -<div id="method-summary-table.tabpanel" role="tabpanel"> -<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> -<div class="table-header col-first">Modifier and Type</div> -<div class="table-header col-second">Method</div> -<div class="table-header col-last">Description</div> -<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> -<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#prettyFormat(java.lang.String,java.lang.String,boolean)" class="member-name-link">prettyFormat</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> effectiveModel, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> encoding, - boolean omitDeclaration)</code></div> -<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> -<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>protected static void</code></div> -<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#writeComment(org.codehaus.plexus.util.xml.XMLWriter,java.lang.String)" class="member-name-link">writeComment</a><wbr>(org.codehaus.plexus.util.xml.XMLWriter writer, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> comment)</code></div> -<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> -<div class="block">Write comments in a normalize way.</div> -</div> -<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>protected static void</code></div> -<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#writeHeader(org.codehaus.plexus.util.xml.XMLWriter)" class="member-name-link">writeHeader</a><wbr>(org.codehaus.plexus.util.xml.XMLWriter writer)</code></div> -<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> -<div class="block">Write comments in the Effective POM/settings header.</div> -</div> -<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>protected static void</code></div> -<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#writeXmlFile(java.io.File,java.lang.String)" class="member-name-link">writeXmlFile</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a> output, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> content)</code></div> -<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> -<div class="block">Utility method to write an XML content in a given file.</div> -</div> -</div> -</div> -</div> -<div class="inherited-list"> -<h3 id="methods-inherited-from-class-org.apache.maven.plugins.help.AbstractHelpMojo">Methods inherited from class org.apache.maven.plugins.help.<a href="AbstractHelpMojo.html" title="class in org.apache.maven.plugins.help">AbstractHelpMojo</a></h3> -<code><a href="AbstractHelpMojo.html#getAetherArtifact(java.lang.String,java.lang.String)">getAetherArtifact</a>, <a href="AbstractHelpMojo.html#getMavenProject(java.lang.String)">getMavenProject</a>, <a href="AbstractHelpMojo.html#resolveArtifact(org.eclipse.aether.artifact.Artifact)">resolveArtifact</a>, <a href="AbstractHelpMojo.html#writeFile(java.io.File,java.lang.String)">writeFile</a>, <a href="AbstractHelpMojo.html#writeFile(java.io.File,java.lang.StringBuilder)">writeFile</a></code></div> -<div class="inherited-list"> -<h3 id="methods-inherited-from-class-org.apache.maven.plugin.AbstractMojo">Methods inherited from class org.apache.maven.plugin.AbstractMojo</h3> -<code>getLog, getPluginContext, setLog, setPluginContext</code></div> -<div class="inherited-list"> -<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> -<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.o racle.com/javase/8/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> -<div class="inherited-list"> -<h3 id="methods-inherited-from-class-org.apache.maven.plugin.Mojo">Methods inherited from interface org.apache.maven.plugin.Mojo</h3> -<code>execute</code></div> -</section> -</li> -</ul> -</section> -<section class="details"> -<ul class="details-list"> -<!-- ========= CONSTRUCTOR DETAIL ======== --> -<li> -<section class="constructor-details" id="constructor-detail"> -<h2>Constructor Details</h2> -<ul class="member-list"> -<li> -<section class="detail" id="<init>()"> -<h3>AbstractEffectiveMojo</h3> -<div class="member-signature"><span class="modifiers">public</span> <span class="element-name">AbstractEffectiveMojo</span>()</div> -</section> -</li> -</ul> -</section> -</li> -<!-- ============ METHOD DETAIL ========== --> -<li> -<section class="method-details" id="method-detail"> -<h2>Method Details</h2> -<ul class="member-list"> -<li> -<section class="detail" id="writeXmlFile(java.io.File,java.lang.String)"> -<h3>writeXmlFile</h3> -<div class="member-signature"><span class="modifiers">protected static</span> <span class="return-type">void</span> <span class="element-name">writeXmlFile</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a> output, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> content)</span> - throws <span class="exceptions"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> -<div class="block">Utility method to write an XML content in a given file.</div> -<dl class="notes"> -<dt>Parameters:</dt> -<dd><code>output</code> - is the wanted output file.</dd> -<dd><code>content</code> - contains the XML content to be written to the file.</dd> -<dt>Throws:</dt> -<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - if any</dd> -<dt>See Also:</dt> -<dd> -<ul class="see-list-long"> -<li><a href="AbstractHelpMojo.html#writeFile(java.io.File,java.lang.String)"><code>if encoding is null.</code></a></li> -</ul> -</dd> -</dl> -</section> -</li> -<li> -<section class="detail" id="writeHeader(org.codehaus.plexus.util.xml.XMLWriter)"> -<h3>writeHeader</h3> -<div class="member-signature"><span class="modifiers">protected static</span> <span class="return-type">void</span> <span class="element-name">writeHeader</span><wbr><span class="parameters">(org.codehaus.plexus.util.xml.XMLWriter writer)</span></div> -<div class="block">Write comments in the Effective POM/settings header.</div> -<dl class="notes"> -<dt>Parameters:</dt> -<dd><code>writer</code> - not null</dd> -</dl> -</section> -</li> -<li> -<section class="detail" id="writeComment(org.codehaus.plexus.util.xml.XMLWriter,java.lang.String)"> -<h3>writeComment</h3> -<div class="member-signature"><span class="modifiers">protected static</span> <span class="return-type">void</span> <span class="element-name">writeComment</span><wbr><span class="parameters">(org.codehaus.plexus.util.xml.XMLWriter writer, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> comment)</span></div> -<div class="block">Write comments in a normalize way.</div> -<dl class="notes"> -<dt>Parameters:</dt> -<dd><code>writer</code> - not null</dd> -<dd><code>comment</code> - not null</dd> -</dl> -</section> -</li> -<li> -<section class="detail" id="prettyFormat(java.lang.String,java.lang.String,boolean)"> -<h3>prettyFormat</h3> -<div class="member-signature"><span class="modifiers">protected static</span> <span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">prettyFormat</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> effectiveModel, - <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> encoding, - boolean omitDeclaration)</span></div> -<dl class="notes"> -<dt>Parameters:</dt> -<dd><code>effectiveModel</code> - not null</dd> -<dd><code>encoding</code> - not null</dd> -<dd><code>omitDeclaration</code> - whether the XML declaration should be omitted from the effective pom</dd> -<dt>Returns:</dt> -<dd>pretty format of the xml or the original <code>effectiveModel</code> if an error occurred.</dd> -</dl> -</section> -</li> -</ul> -</section> -</li> -</ul> -</section> -<!-- ========= END OF CLASS DATA ========= --> -</main> -<footer role="contentinfo"> -<hr> -<p class="legal-copy"><small>Copyright © 2001–2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> -</footer> -</div> -</div> -</body> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>AbstractEffectiveMojo (Apache Maven Help Plugin 3.4.1 API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="AbstractEffectiveMojo (Apache Maven Help Plugin 3.4.1 API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9,"i3":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../org/apache/maven/plugins/help/package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/AbstractEffectiveMojo.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../../../org/apache/maven/plugins/help/AbstractEffectiveMojo.SortedProperties.html" title="class in org.apache.maven.plugins.help"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/maven/plugins/help/AbstractEffectiveMojo.html" target="_top">Frames</a></li> +<li><a href="AbstractEffectiveMojo.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested.class.summary">Nested</a> | </li> +<li><a href="#fields.inherited.from.class.org.apache.maven.plugins.help.AbstractHelpMojo">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.maven.plugins.help</div> +<h2 title="Class AbstractEffectiveMojo" class="title">Class AbstractEffectiveMojo</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.maven.plugin.AbstractMojo</li> +<li> +<ul class="inheritance"> +<li><a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html" title="class in org.apache.maven.plugins.help">org.apache.maven.plugins.help.AbstractHelpMojo</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.maven.plugins.help.AbstractEffectiveMojo</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo</dd> +</dl> +<dl> +<dt>Direct Known Subclasses:</dt> +<dd><a href="../../../../../org/apache/maven/plugins/help/EffectivePomMojo.html" title="class in org.apache.maven.plugins.help">EffectivePomMojo</a>, <a href="../../../../../org/apache/maven/plugins/help/EffectiveSettingsMojo.html" title="class in org.apache.maven.plugins.help">EffectiveSettingsMojo</a></dd> +</dl> +<hr> +<br> +<pre>public abstract class <span class="typeNameLabel">AbstractEffectiveMojo</span> +extends <a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html" title="class in org.apache.maven.plugins.help">AbstractHelpMojo</a></pre> +<div class="block">Base class with common utilities to write effective Pom/settings.</div> +<dl> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>2.1</dd> +<dt><span class="simpleTagLabel">Author:</span></dt> +<dd><a href="mailto:vincent.sive...@gmail.com">Vincent Siveton</a></dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested.class.summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static class </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/help/AbstractEffectiveMojo.SortedProperties.html" title="class in org.apache.maven.plugins.help">AbstractEffectiveMojo.SortedProperties</a></span></code> +<div class="block">Properties which provides a sorted keySet().</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="fields.inherited.from.class.org.apache.maven.plugins.help.AbstractHelpMojo"> +<!-- --> +</a> +<h3>Fields inherited from class org.apache.maven.plugins.help.<a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html" title="class in org.apache.maven.plugins.help">AbstractHelpMojo</a></h3> +<code><a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#LINE_LENGTH">LINE_LENGTH</a>, <a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#LS">LS</a>, <a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#output">output</a>, <a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#project">project</a>, <a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#projectBuilder">projectBuilder</a>, <a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#repositorySystem">repositorySystem</a>, <a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#session">session</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="fields.inherited.from.class.org.apache.maven.plugin.Mojo"> +<!-- --> +</a> +<h3>Fields inherited from interface org.apache.maven.plugin.Mojo</h3> +<code>ROLE</code></li> +</ul> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/help/AbstractEffectiveMojo.html#AbstractEffectiveMojo--">AbstractEffectiveMojo</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/help/AbstractEffectiveMojo.html#prettyFormat-java.lang.String-java.lang.String-boolean-">prettyFormat</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> effectiveModel, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> encoding, + boolean omitDeclaration)</code> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>protected static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/help/AbstractEffectiveMojo.html#writeComment-org.codehaus.plexus.util.xml.XMLWriter-java.lang.String-">writeComment</a></span>(org.codehaus.plexus.util.xml.XMLWriter writer, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> comment)</code> +<div class="block">Write comments in a normalize way.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>protected static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/help/AbstractEffectiveMojo.html#writeHeader-org.codehaus.plexus.util.xml.XMLWriter-">writeHeader</a></span>(org.codehaus.plexus.util.xml.XMLWriter writer)</code> +<div class="block">Write comments in the Effective POM/settings header.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>protected static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/maven/plugins/help/AbstractEffectiveMojo.html#writeXmlFile-java.io.File-java.lang.String-">writeXmlFile</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> output, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content)</code> +<div class="block">Utility method to write an XML content in a given file.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.maven.plugins.help.AbstractHelpMojo"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.maven.plugins.help.<a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html" title="class in org.apache.maven.plugins.help">AbstractHelpMojo</a></h3> +<code><a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#getAetherArtifact-java.lang.String-java.lang.String-">getAetherArtifact</a>, <a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#getMavenProject-java.lang.String-">getMavenProject</a>, <a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#resolveArtifact-org.eclipse.aether.artifact.Artifact-">resolveArtifact</a>, <a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#writeFile-java.io.File-java.lang.String-">writeFile</a>, <a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#writeFile-java.io.File-java.lang.StringBuilder-">writeFile</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.maven.plugin.AbstractMojo"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.maven.plugin.AbstractMojo</h3> +<code>getLog, getPluginContext, setLog, setPluginContext</code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/ja va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.maven.plugin.Mojo"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.maven.plugin.Mojo</h3> +<code>execute</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="AbstractEffectiveMojo--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>AbstractEffectiveMojo</h4> +<pre>public AbstractEffectiveMojo()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="writeXmlFile-java.io.File-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>writeXmlFile</h4> +<pre>protected static void writeXmlFile(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> output, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content) + throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Utility method to write an XML content in a given file.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>output</code> - is the wanted output file.</dd> +<dd><code>content</code> - contains the XML content to be written to the file.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if any</dd> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/maven/plugins/help/AbstractHelpMojo.html#writeFile-java.io.File-java.lang.String-"><code>if encoding is null.</code></a></dd> +</dl> +</li> +</ul> +<a name="writeHeader-org.codehaus.plexus.util.xml.XMLWriter-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>writeHeader</h4> +<pre>protected static void writeHeader(org.codehaus.plexus.util.xml.XMLWriter writer)</pre> +<div class="block">Write comments in the Effective POM/settings header.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>writer</code> - not null</dd> +</dl> +</li> +</ul> +<a name="writeComment-org.codehaus.plexus.util.xml.XMLWriter-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>writeComment</h4> +<pre>protected static void writeComment(org.codehaus.plexus.util.xml.XMLWriter writer, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> comment)</pre> +<div class="block">Write comments in a normalize way.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>writer</code> - not null</dd> +<dd><code>comment</code> - not null</dd> +</dl> +</li> +</ul> +<a name="prettyFormat-java.lang.String-java.lang.String-boolean-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>prettyFormat</h4> +<pre>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> prettyFormat(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> effectiveModel, + <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> encoding, + boolean omitDeclaration)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>effectiveModel</code> - not null</dd> +<dd><code>encoding</code> - not null</dd> +<dd><code>omitDeclaration</code> - whether the XML declaration should be omitted from the effective pom</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>pretty format of the xml or the original <code>effectiveModel</code> if an error occurred.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../org/apache/maven/plugins/help/package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/AbstractEffectiveMojo.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev Class</li> +<li><a href="../../../../../org/apache/maven/plugins/help/AbstractEffectiveMojo.SortedProperties.html" title="class in org.apache.maven.plugins.help"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/maven/plugins/help/AbstractEffectiveMojo.html" target="_top">Frames</a></li> +<li><a href="AbstractEffectiveMojo.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested.class.summary">Nested</a> | </li> +<li><a href="#fields.inherited.from.class.org.apache.maven.plugins.help.AbstractHelpMojo">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2001–2024 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> </html> \ No newline at end of file