Modified: maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/filter.html ============================================================================== --- maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/filter.html (original) +++ maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/filter.html Wed Jun 26 08:25:45 2024 @@ -1,127 +1,79 @@ <!DOCTYPE html> - - <!-- - | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/apt/examples/filter.apt at 2023-03-21 - | Rendered using Apache Maven Fluido Skin 1.11.1 + | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/apt/examples/filter.apt at 2024-06-26 + + | Rendered using Apache Maven Default Skin --> -<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="UTF-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" /> <meta name="author" content="Franz Allan See" /> <meta name="date" content="2008-09-05" /> <title>Apache Maven Resources Plugin – Filtering</title> - <link rel="stylesheet" href="../css/apache-maven-fluido-1.11.1.min.css" /> + <link rel="stylesheet" href="../css/maven-base.css" /> + <link rel="stylesheet" href="../css/maven-theme.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> - <script src="../js/apache-maven-fluido-1.11.1.min.js"></script> - - <!-- Matomo --> - <script> - var _paq = window._paq = window._paq || []; - _paq.push(['disableCookies']); - _paq.push(['trackPageView']); - _paq.push(['enableLinkTracking']); - - (function() { - var u="https://analytics.apache.org/"; - _paq.push(['setTrackerUrl', u+'/matomo.php']); - _paq.push(['setSiteId', '3']); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s); - })(); - </script> - <!-- End Matomo Code --> </head> - <body class="topBarDisabled"> - <div class="container-fluid"> - <header> - <div id="banner"> - <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png" alt="Apache Maven Resources Plugin" style="" /></a></div> - <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png" alt="" style="" /></a></div> - <div class="clear"><hr/></div> - </div> - - <div id="breadcrumbs"> - <ul class="breadcrumb"> - <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li> - <li class=""><a href="../../../index.html" title="Maven">Maven</a><span class="divider">/</span></li> - <li class=""><a href="../../index.html" title="Plugins">Plugins</a><span class="divider">/</span></li> - <li class=""><a href="../index.html" title="Apache Maven Resources Plugin">Apache Maven Resources Plugin</a><span class="divider">/</span></li> - <li class="active ">Filtering <a href="https://github.com/apache/maven-resources-plugin/tree/maven-resources-plugin-3.3.1/src/site/apt/examples/filter.apt"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li> - <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2023-03-21</li> - <li id="projectVersion" class="pull-right">Version: 3.3.1</li> - </ul> - </div> - </header> - <div class="row-fluid"> - <header id="leftColumn" class="span2"> - <nav class="well sidebar-nav"> - <ul class="nav nav-list"> - <li class="nav-header">Overview</li> - <li><a href="../index.html" title="Introduction"><span class="none"></span>Introduction</a></li> - <li><a href="../plugin-info.html" title="Goals"><span class="none"></span>Goals</a></li> - <li><a href="../usage.html" title="Usage"><span class="none"></span>Usage</a></li> - <li><a href="../faq.html" title="FAQ"><span class="none"></span>FAQ</a></li> - <li><a href="http://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li> - <li><a href="../download.html" title="Download"><span class="none"></span>Download</a></li> - <li class="nav-header">Examples</li> - <li><a href="../examples/encoding.html" title="Specifying a character encoding scheme"><span class="none"></span>Specifying a character encoding scheme</a></li> - <li><a href="../examples/resource-directory.html" title="Specifying resource directories"><span class="none"></span>Specifying resource directories</a></li> - <li class="active"><a><span class="none"></span>Filtering</a></li> - <li><a href="../examples/filtering-properties-files.html" title="Filtering properties files"><span class="none"></span>Filtering properties files</a></li> - <li><a href="../examples/include-exclude.html" title="Including and excluding files and directories"><span class="none"></span>Including and excluding files and directories</a></li> - <li><a href="../examples/escape-filtering.html" title="Escape Filtering"><span class="none"></span>Escape Filtering</a></li> - <li><a href="../examples/copy-resources.html" title="Copy Resources"><span class="none"></span>Copy Resources</a></li> - <li><a href="../examples/binaries-filtering.html" title="Binaries Filtering"><span class="none"></span>Binaries Filtering</a></li> - <li><a href="../examples/custom-resource-filters.html" title="Custom Resources Filters"><span class="none"></span>Custom Resources Filters</a></li> - <li class="nav-header">Project Documentation</li> - <li><a href="../project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li> - <li><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li> - <li class="nav-header">Maven Projects</li> - <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li> - <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li> - <li><a href="../../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li> - <li><a href="../../../extensions/index.html" title="Extensions"><span class="none"></span>Extensions</a></li> - <li><a href="../../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li> - <li><a href="../../../ref/current" title="Maven"><span class="none"></span>Maven</a></li> - <li><a href="../../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li> - <li><a href="../../index.html" title="Plugins"><span class="none"></span>Plugins</a></li> - <li><a href="../../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li> - <li><a href="../../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li> - <li><a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li> - <li><a href="../../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li> - <li><a href="../../../shared/index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li> - <li><a href="../../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li> - <li><a href="../../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li> - <li><a href="../../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li> - <li class="nav-header">ASF</li> - <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li> - <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li> - <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Data Privacy"><span class="none"></span>Data Privacy</a></li> - <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li> - <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li> - </ul> - </nav> - <div class="well sidebar-nav"> - <div id="poweredBy"> - <div class="clear"></div> - <div class="clear"></div> - <div class="clear"></div> -<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /></a> - </div> - </div> - </header> - <main id="bodyColumn" class="span10" > + <body class="composite"> + <div id="banner"> +<div id="bannerLeft">Apache Maven Resources Plugin +</div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + <div class="xleft"> + <span id="publishDate">Last Published: 2024-06-26</span> + | <span id="projectVersion">Version: 4.0.0-beta-1</span> + </div> + <div class="xright"> </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + <h5>Overview</h5> + <ul> + <li class="none"><a href="../index.html" title="Introduction">Introduction</a></li> + <li class="none"><a href="../plugin-info.html" title="Goals">Goals</a></li> + <li class="none"><a href="../usage.html" title="Usage">Usage</a></li> + <li class="none"><a href="../faq.html" title="FAQ">FAQ</a></li> + <li class="none"><a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a></li> + <li class="none"><a href="../download.html" title="Download">Download</a></li> + </ul> + <h5>Examples</h5> + <ul> + <li class="none"><a href="../examples/encoding.html" title="Specifying a character encoding scheme">Specifying a character encoding scheme</a></li> + <li class="none"><a href="../examples/resource-directory.html" title="Specifying resource directories">Specifying resource directories</a></li> + <li class="none"><strong>Filtering</strong></li> + <li class="none"><a href="../examples/filtering-properties-files.html" title="Filtering properties files">Filtering properties files</a></li> + <li class="none"><a href="../examples/include-exclude.html" title="Including and excluding files and directories">Including and excluding files and directories</a></li> + <li class="none"><a href="../examples/escape-filtering.html" title="Escape Filtering">Escape Filtering</a></li> + <li class="none"><a href="../examples/copy-resources.html" title="Copy Resources">Copy Resources</a></li> + <li class="none"><a href="../examples/binaries-filtering.html" title="Binaries Filtering">Binaries Filtering</a></li> + <li class="none"><a href="../examples/custom-resource-filters.html" title="Custom Resources Filters">Custom Resources Filters</a></li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> <section> <h2><a name="Filtering"></a>Filtering</h2> <p>Variables can be included in your resources. These variables, denoted by the <code>${...}</code> or <code>@...@</code> delimiters, can come from the system properties, your project properties, from your filter resources and from the command line.</p> <p>For example, if we have a resource <code>src/main/resources/hello.txt</code> containing</p> -<div class="source"><pre class="prettyprint linenums">Hello ${name}</pre></div> +<div class="source"> +<pre>Hello ${name}</pre></div> <p>And a POM like this</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <name>My Resources Plugin Practice Project</name> ... @@ -138,11 +90,14 @@ ... </project></pre></div> <p>Upon calling</p> -<div class="source"><pre class="prettyprint linenums">mvn resources:resources</pre></div> +<div class="source"> +<pre>mvn resources:resources</pre></div> <p>This will create a resource output in <code>target/classes/hello.txt</code> which contains exactly the same text.</p> -<div class="source"><pre class="prettyprint linenums">Hello ${name}</pre></div> +<div class="source"> +<pre>Hello ${name}</pre></div> <p>However, if we add a <code><filtering></code> tag to our POM and set it to <code>true</code> like this:</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <resource> <directory>src/main/resources</directory> @@ -151,16 +106,21 @@ ... </project></pre></div> <p>Our <code>target/classes/hello.txt</code> after calling</p> -<div class="source"><pre class="prettyprint linenums">mvn resources:resources</pre></div> +<div class="source"> +<pre>mvn resources:resources</pre></div> <p>would be</p> -<div class="source"><pre class="prettyprint linenums">Hello My Resources Plugin Practice Project</pre></div> +<div class="source"> +<pre>Hello My Resources Plugin Practice Project</pre></div> <p>That's because the name variable was replaced by the value of the project's name (which was specified in the POM).</p> <p>Moreover, we can also assign values through the command line using the "-D" option. For example, to change the value for the variable <code>name</code> to "world", we can simply invoke this command:</p> -<div class="source"><pre class="prettyprint linenums">mvn resources:resources -Dname="world"</pre></div> +<div class="source"> +<pre>mvn resources:resources -Dname="world"</pre></div> <p>And the output in <code>target/classes/hello.txt</code> would be</p> -<div class="source"><pre class="prettyprint linenums">Hello world</pre></div> +<div class="source"> +<pre>Hello world</pre></div> <p>Furthermore, we are not limited to use pre-defined project variables. We can specify our own variables and their values in the <code><properties></code> element. For example, if we want to change the variable from "name" to "your.name", we can do so by adding a <code><your.name></code> element within the <code><properties></code> element.</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <properties> <your.name>world</your.name> @@ -168,7 +128,8 @@ ... </project></pre></div> <p>But to organize your project, you may want to put all your variables and their values in a separate file so that you will not have to rewrite your POM, or set their values all the time with every build. This can be done by adding a filter.</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <name>My Resources Plugin Practice Project</name> ... @@ -182,9 +143,11 @@ ... </project></pre></div> <p>For example, we can separate "your.name" from the POM by specifying a filter file <code>my-filter-values.properties</code> containing:</p> -<div class="source"><pre class="prettyprint linenums">your.name = world</pre></div> +<div class="source"> +<pre>your.name = world</pre></div> <p>and adding that to our POM</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <filters> <filter>my-filter-values.properties</filter> @@ -193,7 +156,8 @@ </project></pre></div> <p><b>Warning:</b> Do not filter files with binary content like images! This will most likely result in corrupt output. </p> <p>If you have both text files and binary files as resources it is recommended to have two separated folders. One folder <code>src/main/resources</code> (default) for the resources which are not filtered and another folder <code>src/main/resources-filtered</code> for the resources which are filtered.</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <build> ... @@ -210,23 +174,18 @@ </project></pre></div> <p>Now you can put those files into <code>src/main/resources</code> which should not filtered and the other files into <code>src/main/resources-filtered</code>.</p> <p>As already mentioned filtering binary files like images,pdf`s etc. could result in corrupted output. To prevent such problems you can <a href="./binaries-filtering.html">configure file extensions</a> which will not being filtered. </p></section> - </main> </div> </div> - <hr/> - <footer> - <div class="container-fluid"> - <div class="row-fluid"> - <p>© 2001–2023 -<a href="https://www.apache.org/">The Apache Software Foundation</a> -</p> - </div> - </div> - </footer> -<script> - if(anchors) { - anchors.add(); - } -</script> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2001–2024<a href="https://www.apache.org/">The Apache Software Foundation</a>. +. </div> + <div class="clear"> + <hr/> + </div> + </div> </body> </html> \ No newline at end of file
Modified: maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/filtering-properties-files.html ============================================================================== --- maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/filtering-properties-files.html (original) +++ maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/filtering-properties-files.html Wed Jun 26 08:25:45 2024 @@ -1,120 +1,70 @@ <!DOCTYPE html> - - <!-- - | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/apt/examples/filtering-properties-files.apt.vm at 2023-03-21 - | Rendered using Apache Maven Fluido Skin 1.11.1 + | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/apt/examples/filtering-properties-files.apt.vm at 2024-06-26 + + | Rendered using Apache Maven Default Skin --> -<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="UTF-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" /> <meta name="author" content="Dennis Lundberg" /> <meta name="date" content="2020-07-16" /> <title>Apache Maven Resources Plugin – Filtering Properties Files</title> - <link rel="stylesheet" href="../css/apache-maven-fluido-1.11.1.min.css" /> + <link rel="stylesheet" href="../css/maven-base.css" /> + <link rel="stylesheet" href="../css/maven-theme.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> - <script src="../js/apache-maven-fluido-1.11.1.min.js"></script> - - <!-- Matomo --> - <script> - var _paq = window._paq = window._paq || []; - _paq.push(['disableCookies']); - _paq.push(['trackPageView']); - _paq.push(['enableLinkTracking']); - - (function() { - var u="https://analytics.apache.org/"; - _paq.push(['setTrackerUrl', u+'/matomo.php']); - _paq.push(['setSiteId', '3']); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s); - })(); - </script> - <!-- End Matomo Code --> </head> - <body class="topBarDisabled"> - <div class="container-fluid"> - <header> - <div id="banner"> - <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png" alt="Apache Maven Resources Plugin" style="" /></a></div> - <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png" alt="" style="" /></a></div> - <div class="clear"><hr/></div> - </div> - - <div id="breadcrumbs"> - <ul class="breadcrumb"> - <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li> - <li class=""><a href="../../../index.html" title="Maven">Maven</a><span class="divider">/</span></li> - <li class=""><a href="../../index.html" title="Plugins">Plugins</a><span class="divider">/</span></li> - <li class=""><a href="../index.html" title="Apache Maven Resources Plugin">Apache Maven Resources Plugin</a><span class="divider">/</span></li> - <li class="active ">Filtering Properties Files <a href="https://github.com/apache/maven-resources-plugin/tree/maven-resources-plugin-3.3.1/src/site/apt/examples/filtering-properties-files.apt.vm"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li> - <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2023-03-21</li> - <li id="projectVersion" class="pull-right">Version: 3.3.1</li> - </ul> - </div> - </header> - <div class="row-fluid"> - <header id="leftColumn" class="span2"> - <nav class="well sidebar-nav"> - <ul class="nav nav-list"> - <li class="nav-header">Overview</li> - <li><a href="../index.html" title="Introduction"><span class="none"></span>Introduction</a></li> - <li><a href="../plugin-info.html" title="Goals"><span class="none"></span>Goals</a></li> - <li><a href="../usage.html" title="Usage"><span class="none"></span>Usage</a></li> - <li><a href="../faq.html" title="FAQ"><span class="none"></span>FAQ</a></li> - <li><a href="http://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li> - <li><a href="../download.html" title="Download"><span class="none"></span>Download</a></li> - <li class="nav-header">Examples</li> - <li><a href="../examples/encoding.html" title="Specifying a character encoding scheme"><span class="none"></span>Specifying a character encoding scheme</a></li> - <li><a href="../examples/resource-directory.html" title="Specifying resource directories"><span class="none"></span>Specifying resource directories</a></li> - <li><a href="../examples/filter.html" title="Filtering"><span class="none"></span>Filtering</a></li> - <li class="active"><a><span class="none"></span>Filtering properties files</a></li> - <li><a href="../examples/include-exclude.html" title="Including and excluding files and directories"><span class="none"></span>Including and excluding files and directories</a></li> - <li><a href="../examples/escape-filtering.html" title="Escape Filtering"><span class="none"></span>Escape Filtering</a></li> - <li><a href="../examples/copy-resources.html" title="Copy Resources"><span class="none"></span>Copy Resources</a></li> - <li><a href="../examples/binaries-filtering.html" title="Binaries Filtering"><span class="none"></span>Binaries Filtering</a></li> - <li><a href="../examples/custom-resource-filters.html" title="Custom Resources Filters"><span class="none"></span>Custom Resources Filters</a></li> - <li class="nav-header">Project Documentation</li> - <li><a href="../project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li> - <li><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li> - <li class="nav-header">Maven Projects</li> - <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li> - <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li> - <li><a href="../../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li> - <li><a href="../../../extensions/index.html" title="Extensions"><span class="none"></span>Extensions</a></li> - <li><a href="../../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li> - <li><a href="../../../ref/current" title="Maven"><span class="none"></span>Maven</a></li> - <li><a href="../../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li> - <li><a href="../../index.html" title="Plugins"><span class="none"></span>Plugins</a></li> - <li><a href="../../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li> - <li><a href="../../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li> - <li><a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li> - <li><a href="../../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li> - <li><a href="../../../shared/index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li> - <li><a href="../../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li> - <li><a href="../../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li> - <li><a href="../../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li> - <li class="nav-header">ASF</li> - <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li> - <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li> - <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Data Privacy"><span class="none"></span>Data Privacy</a></li> - <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li> - <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li> - </ul> - </nav> - <div class="well sidebar-nav"> - <div id="poweredBy"> - <div class="clear"></div> - <div class="clear"></div> - <div class="clear"></div> -<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /></a> - </div> - </div> - </header> - <main id="bodyColumn" class="span10" > + <body class="composite"> + <div id="banner"> +<div id="bannerLeft">Apache Maven Resources Plugin +</div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + <div class="xleft"> + <span id="publishDate">Last Published: 2024-06-26</span> + | <span id="projectVersion">Version: 4.0.0-beta-1</span> + </div> + <div class="xright"> </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + <h5>Overview</h5> + <ul> + <li class="none"><a href="../index.html" title="Introduction">Introduction</a></li> + <li class="none"><a href="../plugin-info.html" title="Goals">Goals</a></li> + <li class="none"><a href="../usage.html" title="Usage">Usage</a></li> + <li class="none"><a href="../faq.html" title="FAQ">FAQ</a></li> + <li class="none"><a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a></li> + <li class="none"><a href="../download.html" title="Download">Download</a></li> + </ul> + <h5>Examples</h5> + <ul> + <li class="none"><a href="../examples/encoding.html" title="Specifying a character encoding scheme">Specifying a character encoding scheme</a></li> + <li class="none"><a href="../examples/resource-directory.html" title="Specifying resource directories">Specifying resource directories</a></li> + <li class="none"><a href="../examples/filter.html" title="Filtering">Filtering</a></li> + <li class="none"><strong>Filtering properties files</strong></li> + <li class="none"><a href="../examples/include-exclude.html" title="Including and excluding files and directories">Including and excluding files and directories</a></li> + <li class="none"><a href="../examples/escape-filtering.html" title="Escape Filtering">Escape Filtering</a></li> + <li class="none"><a href="../examples/copy-resources.html" title="Copy Resources">Copy Resources</a></li> + <li class="none"><a href="../examples/binaries-filtering.html" title="Binaries Filtering">Binaries Filtering</a></li> + <li class="none"><a href="../examples/custom-resource-filters.html" title="Custom Resources Filters">Custom Resources Filters</a></li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> <section> <h2><a name="Filtering_Properties_Files"></a>Filtering Properties Files</h2> <p>When filtering resources, special care has to be taken if you are filtering properties files. If your filtered properties files include non-ascii characters and your <code>project.build.sourceEncoding</code> is set to anything other than ISO-8859-1 you might be affected and should continue reading.</p><section> @@ -130,14 +80,15 @@ <ol style="list-style-type: decimal"> <li>Decide which encoding to use for properties files, based on how you use them in your project.</li> <li>Explicitly configure Maven Resource Plugin accordingly using the <code>propertiesEncoding</code> configuration parameter, that was introduced in version 3.2.0. In most cases it would look like this: -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> - <version>3.3.1</version> + <version>4.0.0-beta-1</version> <configuration> ... <propertiesEncoding>ISO-8859-1</propertiesEncoding> @@ -149,23 +100,18 @@ </build> ... </project></pre></div></li></ol></section></section> - </main> </div> </div> - <hr/> - <footer> - <div class="container-fluid"> - <div class="row-fluid"> - <p>© 2001–2023 -<a href="https://www.apache.org/">The Apache Software Foundation</a> -</p> - </div> - </div> - </footer> -<script> - if(anchors) { - anchors.add(); - } -</script> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2001–2024<a href="https://www.apache.org/">The Apache Software Foundation</a>. +. </div> + <div class="clear"> + <hr/> + </div> + </div> </body> </html> \ No newline at end of file Modified: maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/include-exclude.html ============================================================================== --- maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/include-exclude.html (original) +++ maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/include-exclude.html Wed Jun 26 08:25:45 2024 @@ -1,125 +1,76 @@ <!DOCTYPE html> - - <!-- - | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/apt/examples/include-exclude.apt at 2023-03-21 - | Rendered using Apache Maven Fluido Skin 1.11.1 + | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/apt/examples/include-exclude.apt at 2024-06-26 + + | Rendered using Apache Maven Default Skin --> -<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="UTF-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" /> <meta name="author" content="Franz Allan See" /> <meta name="date" content="2008-09-05" /> <title>Apache Maven Resources Plugin – Including and excluding files and directories</title> - <link rel="stylesheet" href="../css/apache-maven-fluido-1.11.1.min.css" /> + <link rel="stylesheet" href="../css/maven-base.css" /> + <link rel="stylesheet" href="../css/maven-theme.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> - <script src="../js/apache-maven-fluido-1.11.1.min.js"></script> - - <!-- Matomo --> - <script> - var _paq = window._paq = window._paq || []; - _paq.push(['disableCookies']); - _paq.push(['trackPageView']); - _paq.push(['enableLinkTracking']); - - (function() { - var u="https://analytics.apache.org/"; - _paq.push(['setTrackerUrl', u+'/matomo.php']); - _paq.push(['setSiteId', '3']); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s); - })(); - </script> - <!-- End Matomo Code --> </head> - <body class="topBarDisabled"> - <div class="container-fluid"> - <header> - <div id="banner"> - <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png" alt="Apache Maven Resources Plugin" style="" /></a></div> - <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png" alt="" style="" /></a></div> - <div class="clear"><hr/></div> - </div> - - <div id="breadcrumbs"> - <ul class="breadcrumb"> - <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li> - <li class=""><a href="../../../index.html" title="Maven">Maven</a><span class="divider">/</span></li> - <li class=""><a href="../../index.html" title="Plugins">Plugins</a><span class="divider">/</span></li> - <li class=""><a href="../index.html" title="Apache Maven Resources Plugin">Apache Maven Resources Plugin</a><span class="divider">/</span></li> - <li class="active ">Including and excluding files and directories <a href="https://github.com/apache/maven-resources-plugin/tree/maven-resources-plugin-3.3.1/src/site/apt/examples/include-exclude.apt"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li> - <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2023-03-21</li> - <li id="projectVersion" class="pull-right">Version: 3.3.1</li> - </ul> - </div> - </header> - <div class="row-fluid"> - <header id="leftColumn" class="span2"> - <nav class="well sidebar-nav"> - <ul class="nav nav-list"> - <li class="nav-header">Overview</li> - <li><a href="../index.html" title="Introduction"><span class="none"></span>Introduction</a></li> - <li><a href="../plugin-info.html" title="Goals"><span class="none"></span>Goals</a></li> - <li><a href="../usage.html" title="Usage"><span class="none"></span>Usage</a></li> - <li><a href="../faq.html" title="FAQ"><span class="none"></span>FAQ</a></li> - <li><a href="http://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li> - <li><a href="../download.html" title="Download"><span class="none"></span>Download</a></li> - <li class="nav-header">Examples</li> - <li><a href="../examples/encoding.html" title="Specifying a character encoding scheme"><span class="none"></span>Specifying a character encoding scheme</a></li> - <li><a href="../examples/resource-directory.html" title="Specifying resource directories"><span class="none"></span>Specifying resource directories</a></li> - <li><a href="../examples/filter.html" title="Filtering"><span class="none"></span>Filtering</a></li> - <li><a href="../examples/filtering-properties-files.html" title="Filtering properties files"><span class="none"></span>Filtering properties files</a></li> - <li class="active"><a><span class="none"></span>Including and excluding files and directories</a></li> - <li><a href="../examples/escape-filtering.html" title="Escape Filtering"><span class="none"></span>Escape Filtering</a></li> - <li><a href="../examples/copy-resources.html" title="Copy Resources"><span class="none"></span>Copy Resources</a></li> - <li><a href="../examples/binaries-filtering.html" title="Binaries Filtering"><span class="none"></span>Binaries Filtering</a></li> - <li><a href="../examples/custom-resource-filters.html" title="Custom Resources Filters"><span class="none"></span>Custom Resources Filters</a></li> - <li class="nav-header">Project Documentation</li> - <li><a href="../project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li> - <li><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li> - <li class="nav-header">Maven Projects</li> - <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li> - <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li> - <li><a href="../../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li> - <li><a href="../../../extensions/index.html" title="Extensions"><span class="none"></span>Extensions</a></li> - <li><a href="../../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li> - <li><a href="../../../ref/current" title="Maven"><span class="none"></span>Maven</a></li> - <li><a href="../../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li> - <li><a href="../../index.html" title="Plugins"><span class="none"></span>Plugins</a></li> - <li><a href="../../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li> - <li><a href="../../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li> - <li><a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li> - <li><a href="../../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li> - <li><a href="../../../shared/index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li> - <li><a href="../../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li> - <li><a href="../../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li> - <li><a href="../../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li> - <li class="nav-header">ASF</li> - <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li> - <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li> - <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Data Privacy"><span class="none"></span>Data Privacy</a></li> - <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li> - <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li> - </ul> - </nav> - <div class="well sidebar-nav"> - <div id="poweredBy"> - <div class="clear"></div> - <div class="clear"></div> - <div class="clear"></div> -<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /></a> - </div> - </div> - </header> - <main id="bodyColumn" class="span10" > + <body class="composite"> + <div id="banner"> +<div id="bannerLeft">Apache Maven Resources Plugin +</div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + <div class="xleft"> + <span id="publishDate">Last Published: 2024-06-26</span> + | <span id="projectVersion">Version: 4.0.0-beta-1</span> + </div> + <div class="xright"> </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + <h5>Overview</h5> + <ul> + <li class="none"><a href="../index.html" title="Introduction">Introduction</a></li> + <li class="none"><a href="../plugin-info.html" title="Goals">Goals</a></li> + <li class="none"><a href="../usage.html" title="Usage">Usage</a></li> + <li class="none"><a href="../faq.html" title="FAQ">FAQ</a></li> + <li class="none"><a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a></li> + <li class="none"><a href="../download.html" title="Download">Download</a></li> + </ul> + <h5>Examples</h5> + <ul> + <li class="none"><a href="../examples/encoding.html" title="Specifying a character encoding scheme">Specifying a character encoding scheme</a></li> + <li class="none"><a href="../examples/resource-directory.html" title="Specifying resource directories">Specifying resource directories</a></li> + <li class="none"><a href="../examples/filter.html" title="Filtering">Filtering</a></li> + <li class="none"><a href="../examples/filtering-properties-files.html" title="Filtering properties files">Filtering properties files</a></li> + <li class="none"><strong>Including and excluding files and directories</strong></li> + <li class="none"><a href="../examples/escape-filtering.html" title="Escape Filtering">Escape Filtering</a></li> + <li class="none"><a href="../examples/copy-resources.html" title="Copy Resources">Copy Resources</a></li> + <li class="none"><a href="../examples/binaries-filtering.html" title="Binaries Filtering">Binaries Filtering</a></li> + <li class="none"><a href="../examples/custom-resource-filters.html" title="Custom Resources Filters">Custom Resources Filters</a></li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> <section> <h2><a name="Including_and_excluding_files_and_directories"></a>Including and excluding files and directories</h2> <p>When specifying a resource directory, every file within that directory may not be used. Thus, we may have to specify only the files that we want to include or specify the files that we want to exclude.</p> <p>To include a resource, we only need to add an <code><includes></code> element.</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <name>My Resources Plugin Practice Project</name> ... @@ -143,7 +94,8 @@ ... </project></pre></div> <p>And to exclude a resource, we only need to add an <code><excludes></code> element.</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <name>My Resources Plugin Practice Project</name> ... @@ -167,7 +119,8 @@ ... </project></pre></div> <p>For example, if we want to include all text and RTF files under our <code>src/my-resources</code> directory and in all its subdirectories, we can do the following:</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <name>My Resources Plugin Practice Project</name> ... @@ -188,7 +141,8 @@ ... </project></pre></div> <p>Also, if we want to include everything except the bitmaps, jpegs, and gifs, we can simply exclude them by:</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <name>My Resources Plugin Practice Project</name> ... @@ -211,7 +165,8 @@ ... </project></pre></div> <p>Of course, we can also have both <code><includes></code> and <code><excludes></code> elements. For example, if we want to include all text files that does not contain the word "test" in their filename.</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <name>My Resources Plugin Practice Project</name> ... @@ -233,23 +188,18 @@ </build> ... </project></pre></div></section> - </main> </div> </div> - <hr/> - <footer> - <div class="container-fluid"> - <div class="row-fluid"> - <p>© 2001–2023 -<a href="https://www.apache.org/">The Apache Software Foundation</a> -</p> - </div> - </div> - </footer> -<script> - if(anchors) { - anchors.add(); - } -</script> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2001–2024<a href="https://www.apache.org/">The Apache Software Foundation</a>. +. </div> + <div class="clear"> + <hr/> + </div> + </div> </body> </html> \ No newline at end of file Modified: maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/resource-directory.html ============================================================================== --- maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/resource-directory.html (original) +++ maven/website/components/plugins-archives/maven-resources-plugin-LATEST/examples/resource-directory.html Wed Jun 26 08:25:45 2024 @@ -1,130 +1,82 @@ <!DOCTYPE html> - - <!-- - | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/apt/examples/resource-directory.apt at 2023-03-21 - | Rendered using Apache Maven Fluido Skin 1.11.1 + | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/apt/examples/resource-directory.apt at 2024-06-26 + + | Rendered using Apache Maven Default Skin --> -<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="UTF-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" /> <meta name="author" content="Franz Allan See" /> <meta name="date" content="2008-09-05" /> <title>Apache Maven Resources Plugin – Specifying resource directories</title> - <link rel="stylesheet" href="../css/apache-maven-fluido-1.11.1.min.css" /> + <link rel="stylesheet" href="../css/maven-base.css" /> + <link rel="stylesheet" href="../css/maven-theme.css" /> <link rel="stylesheet" href="../css/site.css" /> <link rel="stylesheet" href="../css/print.css" media="print" /> - <script src="../js/apache-maven-fluido-1.11.1.min.js"></script> - - <!-- Matomo --> - <script> - var _paq = window._paq = window._paq || []; - _paq.push(['disableCookies']); - _paq.push(['trackPageView']); - _paq.push(['enableLinkTracking']); - - (function() { - var u="https://analytics.apache.org/"; - _paq.push(['setTrackerUrl', u+'/matomo.php']); - _paq.push(['setSiteId', '3']); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s); - })(); - </script> - <!-- End Matomo Code --> </head> - <body class="topBarDisabled"> - <div class="container-fluid"> - <header> - <div id="banner"> - <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../../images/apache-maven-project.png" alt="Apache Maven Resources Plugin" style="" /></a></div> - <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png" alt="" style="" /></a></div> - <div class="clear"><hr/></div> - </div> - - <div id="breadcrumbs"> - <ul class="breadcrumb"> - <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li> - <li class=""><a href="../../../index.html" title="Maven">Maven</a><span class="divider">/</span></li> - <li class=""><a href="../../index.html" title="Plugins">Plugins</a><span class="divider">/</span></li> - <li class=""><a href="../index.html" title="Apache Maven Resources Plugin">Apache Maven Resources Plugin</a><span class="divider">/</span></li> - <li class="active ">Specifying resource directories <a href="https://github.com/apache/maven-resources-plugin/tree/maven-resources-plugin-3.3.1/src/site/apt/examples/resource-directory.apt"><img src="../images/accessories-text-editor.png" title="Edit" /></a></li> - <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2023-03-21</li> - <li id="projectVersion" class="pull-right">Version: 3.3.1</li> - </ul> - </div> - </header> - <div class="row-fluid"> - <header id="leftColumn" class="span2"> - <nav class="well sidebar-nav"> - <ul class="nav nav-list"> - <li class="nav-header">Overview</li> - <li><a href="../index.html" title="Introduction"><span class="none"></span>Introduction</a></li> - <li><a href="../plugin-info.html" title="Goals"><span class="none"></span>Goals</a></li> - <li><a href="../usage.html" title="Usage"><span class="none"></span>Usage</a></li> - <li><a href="../faq.html" title="FAQ"><span class="none"></span>FAQ</a></li> - <li><a href="http://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li> - <li><a href="../download.html" title="Download"><span class="none"></span>Download</a></li> - <li class="nav-header">Examples</li> - <li><a href="../examples/encoding.html" title="Specifying a character encoding scheme"><span class="none"></span>Specifying a character encoding scheme</a></li> - <li class="active"><a><span class="none"></span>Specifying resource directories</a></li> - <li><a href="../examples/filter.html" title="Filtering"><span class="none"></span>Filtering</a></li> - <li><a href="../examples/filtering-properties-files.html" title="Filtering properties files"><span class="none"></span>Filtering properties files</a></li> - <li><a href="../examples/include-exclude.html" title="Including and excluding files and directories"><span class="none"></span>Including and excluding files and directories</a></li> - <li><a href="../examples/escape-filtering.html" title="Escape Filtering"><span class="none"></span>Escape Filtering</a></li> - <li><a href="../examples/copy-resources.html" title="Copy Resources"><span class="none"></span>Copy Resources</a></li> - <li><a href="../examples/binaries-filtering.html" title="Binaries Filtering"><span class="none"></span>Binaries Filtering</a></li> - <li><a href="../examples/custom-resource-filters.html" title="Custom Resources Filters"><span class="none"></span>Custom Resources Filters</a></li> - <li class="nav-header">Project Documentation</li> - <li><a href="../project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li> - <li><a href="../project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li> - <li class="nav-header">Maven Projects</li> - <li><a href="../../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li> - <li><a href="../../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li> - <li><a href="../../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li> - <li><a href="../../../extensions/index.html" title="Extensions"><span class="none"></span>Extensions</a></li> - <li><a href="../../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li> - <li><a href="../../../ref/current" title="Maven"><span class="none"></span>Maven</a></li> - <li><a href="../../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li> - <li><a href="../../index.html" title="Plugins"><span class="none"></span>Plugins</a></li> - <li><a href="../../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li> - <li><a href="../../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li> - <li><a href="../../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li> - <li><a href="../../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li> - <li><a href="../../../shared/index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li> - <li><a href="../../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li> - <li><a href="../../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li> - <li><a href="../../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li> - <li class="nav-header">ASF</li> - <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li> - <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li> - <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Data Privacy"><span class="none"></span>Data Privacy</a></li> - <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li> - <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li> - </ul> - </nav> - <div class="well sidebar-nav"> - <div id="poweredBy"> - <div class="clear"></div> - <div class="clear"></div> - <div class="clear"></div> -<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /></a> - </div> - </div> - </header> - <main id="bodyColumn" class="span10" > + <body class="composite"> + <div id="banner"> +<div id="bannerLeft">Apache Maven Resources Plugin +</div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + <div class="xleft"> + <span id="publishDate">Last Published: 2024-06-26</span> + | <span id="projectVersion">Version: 4.0.0-beta-1</span> + </div> + <div class="xright"> </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + <h5>Overview</h5> + <ul> + <li class="none"><a href="../index.html" title="Introduction">Introduction</a></li> + <li class="none"><a href="../plugin-info.html" title="Goals">Goals</a></li> + <li class="none"><a href="../usage.html" title="Usage">Usage</a></li> + <li class="none"><a href="../faq.html" title="FAQ">FAQ</a></li> + <li class="none"><a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a></li> + <li class="none"><a href="../download.html" title="Download">Download</a></li> + </ul> + <h5>Examples</h5> + <ul> + <li class="none"><a href="../examples/encoding.html" title="Specifying a character encoding scheme">Specifying a character encoding scheme</a></li> + <li class="none"><strong>Specifying resource directories</strong></li> + <li class="none"><a href="../examples/filter.html" title="Filtering">Filtering</a></li> + <li class="none"><a href="../examples/filtering-properties-files.html" title="Filtering properties files">Filtering properties files</a></li> + <li class="none"><a href="../examples/include-exclude.html" title="Including and excluding files and directories">Including and excluding files and directories</a></li> + <li class="none"><a href="../examples/escape-filtering.html" title="Escape Filtering">Escape Filtering</a></li> + <li class="none"><a href="../examples/copy-resources.html" title="Copy Resources">Copy Resources</a></li> + <li class="none"><a href="../examples/binaries-filtering.html" title="Binaries Filtering">Binaries Filtering</a></li> + <li class="none"><a href="../examples/custom-resource-filters.html" title="Custom Resources Filters">Custom Resources Filters</a></li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> <section> <h2><a name="Specifying_resource_directories"></a>Specifying resource directories</h2> <p>By default, Maven will look for your project's resources under <code>src/main/resources</code>.</p> -<div class="source"><pre class="prettyprint linenums">Project +<div class="source"> +<pre>Project |-- pom.xml `-- src `-- main `-- resources</pre></div> <p>However, all your resources may not be in <code>src/main/resources</code>. Thus, you'd have to specify those directories by adding the following to your POM.</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <build> ... @@ -138,12 +90,14 @@ ... </project></pre></div> <p>So if your resources resides in <code>src/my-resources</code></p> -<div class="source"><pre class="prettyprint linenums">Project +<div class="source"> +<pre>Project |-- pom.xml `-- src `-- my-resources</pre></div> <p>you can specify that directory by doing the following:</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <resources> <resource> @@ -153,7 +107,8 @@ ... </project></pre></div> <p>Furthermore, you can have several directories by adding multiple <code><resource></code> elements:</p> -<div class="source"><pre class="prettyprint linenums"><project> +<div class="source"> +<pre><project> ... <resources> <resource> @@ -168,23 +123,18 @@ </resources> ... </project></pre></div></section> - </main> </div> </div> - <hr/> - <footer> - <div class="container-fluid"> - <div class="row-fluid"> - <p>© 2001–2023 -<a href="https://www.apache.org/">The Apache Software Foundation</a> -</p> - </div> - </div> - </footer> -<script> - if(anchors) { - anchors.add(); - } -</script> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2001–2024<a href="https://www.apache.org/">The Apache Software Foundation</a>. +. </div> + <div class="clear"> + <hr/> + </div> + </div> </body> </html> \ No newline at end of file Modified: maven/website/components/plugins-archives/maven-resources-plugin-LATEST/faq.html ============================================================================== --- maven/website/components/plugins-archives/maven-resources-plugin-LATEST/faq.html (original) +++ maven/website/components/plugins-archives/maven-resources-plugin-LATEST/faq.html Wed Jun 26 08:25:45 2024 @@ -1,118 +1,68 @@ <!DOCTYPE html> - - <!-- - | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/fml/faq.fml at 2023-03-21 - | Rendered using Apache Maven Fluido Skin 1.11.1 + | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/fml/faq.fml at 2024-06-26 + + | Rendered using Apache Maven Default Skin --> -<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="UTF-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" /> <title>Apache Maven Resources Plugin – Frequently Asked Questions</title> - <link rel="stylesheet" href="./css/apache-maven-fluido-1.11.1.min.css" /> + <link rel="stylesheet" href="./css/maven-base.css" /> + <link rel="stylesheet" href="./css/maven-theme.css" /> <link rel="stylesheet" href="./css/site.css" /> <link rel="stylesheet" href="./css/print.css" media="print" /> - <script src="./js/apache-maven-fluido-1.11.1.min.js"></script> - - <!-- Matomo --> - <script> - var _paq = window._paq = window._paq || []; - _paq.push(['disableCookies']); - _paq.push(['trackPageView']); - _paq.push(['enableLinkTracking']); - - (function() { - var u="https://analytics.apache.org/"; - _paq.push(['setTrackerUrl', u+'/matomo.php']); - _paq.push(['setSiteId', '3']); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s); - })(); - </script> - <!-- End Matomo Code --> </head> - <body class="topBarDisabled"> - <div class="container-fluid"> - <header> - <div id="banner"> - <div class="pull-left"><a href="https://www.apache.org/" id="bannerLeft"><img src="../../images/apache-maven-project.png" alt="Apache Maven Resources Plugin" style="" /></a></div> - <div class="pull-right"><a href="../../" id="bannerRight"><img src="../../images/maven-logo-black-on-white.png" alt="" style="" /></a></div> - <div class="clear"><hr/></div> - </div> - - <div id="breadcrumbs"> - <ul class="breadcrumb"> - <li class=""><a href="https://www.apache.org/" class="externalLink" title="Apache">Apache</a><span class="divider">/</span></li> - <li class=""><a href="../../index.html" title="Maven">Maven</a><span class="divider">/</span></li> - <li class=""><a href="../index.html" title="Plugins">Plugins</a><span class="divider">/</span></li> - <li class=""><a href="index.html" title="Apache Maven Resources Plugin">Apache Maven Resources Plugin</a><span class="divider">/</span></li> - <li class="active ">Frequently Asked Questions <a href="https://github.com/apache/maven-resources-plugin/tree/maven-resources-plugin-3.3.1/src/site/fml/faq.fml"><img src="./images/accessories-text-editor.png" title="Edit" /></a></li> - <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2023-03-21</li> - <li id="projectVersion" class="pull-right">Version: 3.3.1</li> - </ul> - </div> - </header> - <div class="row-fluid"> - <header id="leftColumn" class="span2"> - <nav class="well sidebar-nav"> - <ul class="nav nav-list"> - <li class="nav-header">Overview</li> - <li><a href="index.html" title="Introduction"><span class="none"></span>Introduction</a></li> - <li><a href="plugin-info.html" title="Goals"><span class="none"></span>Goals</a></li> - <li><a href="usage.html" title="Usage"><span class="none"></span>Usage</a></li> - <li class="active"><a><span class="none"></span>FAQ</a></li> - <li><a href="http://www.apache.org/licenses/" class="externalLink" title="License"><span class="none"></span>License</a></li> - <li><a href="download.html" title="Download"><span class="none"></span>Download</a></li> - <li class="nav-header">Examples</li> - <li><a href="examples/encoding.html" title="Specifying a character encoding scheme"><span class="none"></span>Specifying a character encoding scheme</a></li> - <li><a href="examples/resource-directory.html" title="Specifying resource directories"><span class="none"></span>Specifying resource directories</a></li> - <li><a href="examples/filter.html" title="Filtering"><span class="none"></span>Filtering</a></li> - <li><a href="examples/filtering-properties-files.html" title="Filtering properties files"><span class="none"></span>Filtering properties files</a></li> - <li><a href="examples/include-exclude.html" title="Including and excluding files and directories"><span class="none"></span>Including and excluding files and directories</a></li> - <li><a href="examples/escape-filtering.html" title="Escape Filtering"><span class="none"></span>Escape Filtering</a></li> - <li><a href="examples/copy-resources.html" title="Copy Resources"><span class="none"></span>Copy Resources</a></li> - <li><a href="examples/binaries-filtering.html" title="Binaries Filtering"><span class="none"></span>Binaries Filtering</a></li> - <li><a href="examples/custom-resource-filters.html" title="Custom Resources Filters"><span class="none"></span>Custom Resources Filters</a></li> - <li class="nav-header">Project Documentation</li> - <li><a href="project-info.html" title="Project Information"><span class="icon-chevron-right"></span>Project Information</a></li> - <li><a href="project-reports.html" title="Project Reports"><span class="icon-chevron-right"></span>Project Reports</a></li> - <li class="nav-header">Maven Projects</li> - <li><a href="../../archetype/index.html" title="Archetype"><span class="none"></span>Archetype</a></li> - <li><a href="../../resolver/index.html" title="Artifact Resolver"><span class="none"></span>Artifact Resolver</a></li> - <li><a href="../../doxia/index.html" title="Doxia"><span class="none"></span>Doxia</a></li> - <li><a href="../../extensions/index.html" title="Extensions"><span class="none"></span>Extensions</a></li> - <li><a href="../../jxr/index.html" title="JXR"><span class="none"></span>JXR</a></li> - <li><a href="../../ref/current" title="Maven"><span class="none"></span>Maven</a></li> - <li><a href="../../pom/index.html" title="Parent POMs"><span class="none"></span>Parent POMs</a></li> - <li><a href="../index.html" title="Plugins"><span class="none"></span>Plugins</a></li> - <li><a href="../../plugin-testing/index.html" title="Plugin Testing"><span class="none"></span>Plugin Testing</a></li> - <li><a href="../../plugin-tools/index.html" title="Plugin Tools"><span class="none"></span>Plugin Tools</a></li> - <li><a href="../../apache-resource-bundles/index.html" title="Resource Bundles"><span class="none"></span>Resource Bundles</a></li> - <li><a href="../../scm/index.html" title="SCM"><span class="none"></span>SCM</a></li> - <li><a href="../../shared/index.html" title="Shared Components"><span class="none"></span>Shared Components</a></li> - <li><a href="../../skins/index.html" title="Skins"><span class="none"></span>Skins</a></li> - <li><a href="../../surefire/index.html" title="Surefire"><span class="none"></span>Surefire</a></li> - <li><a href="../../wagon/index.html" title="Wagon"><span class="none"></span>Wagon</a></li> - <li class="nav-header">ASF</li> - <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"><span class="none"></span>How Apache Works</a></li> - <li><a href="https://www.apache.org/foundation/" class="externalLink" title="Foundation"><span class="none"></span>Foundation</a></li> - <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Data Privacy"><span class="none"></span>Data Privacy</a></li> - <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"><span class="none"></span>Sponsoring Apache</a></li> - <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"><span class="none"></span>Thanks</a></li> - </ul> - </nav> - <div class="well sidebar-nav"> - <div id="poweredBy"> - <div class="clear"></div> - <div class="clear"></div> - <div class="clear"></div> -<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a> - </div> - </div> - </header> - <main id="bodyColumn" class="span10" > + <body class="composite"> + <div id="banner"> +<div id="bannerLeft">Apache Maven Resources Plugin +</div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + <div class="xleft"> + <span id="publishDate">Last Published: 2024-06-26</span> + | <span id="projectVersion">Version: 4.0.0-beta-1</span> + </div> + <div class="xright"> </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + <h5>Overview</h5> + <ul> + <li class="none"><a href="index.html" title="Introduction">Introduction</a></li> + <li class="none"><a href="plugin-info.html" title="Goals">Goals</a></li> + <li class="none"><a href="usage.html" title="Usage">Usage</a></li> + <li class="none"><strong>FAQ</strong></li> + <li class="none"><a href="http://www.apache.org/licenses/" class="externalLink" title="License">License</a></li> + <li class="none"><a href="download.html" title="Download">Download</a></li> + </ul> + <h5>Examples</h5> + <ul> + <li class="none"><a href="examples/encoding.html" title="Specifying a character encoding scheme">Specifying a character encoding scheme</a></li> + <li class="none"><a href="examples/resource-directory.html" title="Specifying resource directories">Specifying resource directories</a></li> + <li class="none"><a href="examples/filter.html" title="Filtering">Filtering</a></li> + <li class="none"><a href="examples/filtering-properties-files.html" title="Filtering properties files">Filtering properties files</a></li> + <li class="none"><a href="examples/include-exclude.html" title="Including and excluding files and directories">Including and excluding files and directories</a></li> + <li class="none"><a href="examples/escape-filtering.html" title="Escape Filtering">Escape Filtering</a></li> + <li class="none"><a href="examples/copy-resources.html" title="Copy Resources">Copy Resources</a></li> + <li class="none"><a href="examples/binaries-filtering.html" title="Binaries Filtering">Binaries Filtering</a></li> + <li class="none"><a href="examples/custom-resource-filters.html" title="Custom Resources Filters">Custom Resources Filters</a></li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /> + </a> + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> <section> <h2><a name="Frequently_Asked_Questions"></a><a name="top">Frequently Asked Questions</a></h2> <ol style="list-style-type: decimal"> @@ -149,7 +99,8 @@ compilation and testing and simply do</p> -<div class="source"><pre class="prettyprint linenums">mvn resources:resources</pre></div> +<div class="source"> +<pre>mvn resources:resources</pre></div> <p>For example, if you just debugged your configuration file and you @@ -157,7 +108,8 @@ do</p> -<div class="source"><pre class="prettyprint linenums">mvn resources:resources</pre></div> +<div class="source"> +<pre>mvn resources:resources</pre></div> <p>This will produce those configuration files on your @@ -188,23 +140,18 @@ <code>ISO-8859-1</code>, <code>UTF-8</code>, <code>UTF-16BE</code>, <code>UTF-16LE</code> and <code>UTF-16</code>.</p> <p align="right"><a href="#top">[top]</a></p></dd></dl> - </main> </div> </div> - <hr/> - <footer> - <div class="container-fluid"> - <div class="row-fluid"> - <p>© 2001–2023 -<a href="https://www.apache.org/">The Apache Software Foundation</a> -</p> - </div> - </div> - </footer> -<script> - if(anchors) { - anchors.add(); - } -</script> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2001–2024<a href="https://www.apache.org/">The Apache Software Foundation</a>. +. </div> + <div class="clear"> + <hr/> + </div> + </div> </body> </html> \ No newline at end of file
