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 Aug 5 15:33:50 2020 @@ -1,247 +1,253 @@ -<!DOCTYPE html> -<!-- - | Generated by Apache Maven Doxia Site Renderer 1.8 from src/site/apt/examples/include-exclude.apt at 2018-04-23 - | Rendered using Apache Maven Fluido Skin 1.7 ---> -<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.0" /> - <meta name="author" content="Franz Allan See" /> - <meta name="Date-Creation-yyyymmdd" content="20080905" /> - <meta name="Date-Revision-yyyymmdd" content="20180423" /> - <meta http-equiv="Content-Language" content="en" /> - <title>Apache Maven Resources Plugin – Including and excluding files and directories</title> - <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.min.css" /> - <link rel="stylesheet" href="../css/site.css" /> - <link rel="stylesheet" href="../css/print.css" media="print" /> - <script type="text/javascript" src="../js/apache-maven-fluido-1.7.min.js"></script> - <!-- Google Analytics --> - <script type="text/javascript"> - var _gaq = _gaq || []; - _gaq.push(['_setAccount', 'UA-140879-1']); - _gaq.push(['_trackPageview']); - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); - </script> - </head> - <body class="topBarDisabled"> - <div class="container-fluid"> - <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"/></a></div> - <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png" alt=""/></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</li> - <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2018-04-23</li> - <li id="projectVersion" class="pull-right">Version: 3.1.0</li> - </ul> - </div> - <div class="row-fluid"> - <div id="leftColumn" class="span2"> - <div 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 href="#"><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="../../../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://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> -<form id="search-form" action="https://www.google.com/search" method="get" > - <input value="$sitesearchValue" name="sitesearch" type="hidden"/> - <input class="search-query" name="q" id="query" type="text" /> -</form> -<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script> - <hr /> - <div id="poweredBy"> - <div class="clear"></div> - <div class="clear"></div> - <div id="twitter"> - <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a> - <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> - </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> - </div> - <div id="bodyColumn" class="span10" > -<div class="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 <tt><includes></tt> element.</p> -<div class="source"><pre class="prettyprint linenums"><project> - ... - <name>My Resources Plugin Practice Project</name> - ... - <build> - ... - <resources> - <resource> - <directory>[your directory]</directory> - <includes> - <include>[resource file #1]</include> - <include>[resource file #2]</include> - <include>[resource file #3]</include> - ... - <include>[resource file #n]</include> - </includes> - </resource> - ... - </resources> - ... - </build> - ... -</project></pre></div> -<p>And to exclude a resource, we only need to add an <tt><excludes></tt> element.</p> -<div class="source"><pre class="prettyprint linenums"><project> - ... - <name>My Resources Plugin Practice Project</name> - ... - <build> - ... - <resources> - <resource> - <directory>[your directory]</directory> - <excludes> - <exclude>[non-resource file #1]</exclude> - <exclude>[non-resource file #2]</exclude> - <exclude>[non-resource file #3]</exclude> - ... - <exclude>[non-resource file #n]</exclude> - </excludes> - </resource> - ... - </resources> - ... - </build> - ... -</project></pre></div> -<p>For example, if we want to include all text and RTF files under our <tt>src/my-resources</tt> directory and in all its subdirectories, we can do the following:</p> -<div class="source"><pre class="prettyprint linenums"><project> - ... - <name>My Resources Plugin Practice Project</name> - ... - <build> - ... - <resources> - <resource> - <directory>src/my-resources</directory> - <includes> - <include>**/*.txt</include> - <include>**/*.rtf</include> - </includes> - </resource> - ... - </resources> - ... - </build> - ... -</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> - ... - <name>My Resources Plugin Practice Project</name> - ... - <build> - ... - <resources> - <resource> - <directory>src/my-resources</directory> - <excludes> - <exclude>**/*.bmp</exclude> - <exclude>**/*.jpg</exclude> - <exclude>**/*.jpeg</exclude> - <exclude>**/*.gif</exclude> - </excludes> - </resource> - ... - </resources> - ... - </build> - ... -</project></pre></div> -<p>Of course, we can also have both <tt><includes></tt> and <tt><excludes></tt> 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> - ... - <name>My Resources Plugin Practice Project</name> - ... - <build> - ... - <resources> - <resource> - <directory>src/my-resources</directory> - <includes> - <include>**/*.txt</include> - </includes> - <excludes> - <exclude>**/*test*.*</exclude> - </excludes> - </resource> - ... - </resources> - ... - </build> - ... -</project></pre></div></div> - </div> - </div> - </div> - <hr/> - <footer> - <div class="container-fluid"> - <div class="row-fluid"> - <p>Copyright ©2001–2018 -<a href="https://www.apache.org/">The Apache Software Foundation</a>. -All rights reserved.</p> - </div> - </div> - </footer> - </body> +<!DOCTYPE html> +<!-- + | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src\site\apt/examples\include-exclude.apt at 2020-08-05 + | Rendered using Apache Maven Fluido Skin 1.7 +--> +<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.0" /> + <meta name="author" content="Franz Allan See" /> + <meta name="Date-Creation-yyyymmdd" content="20080905" /> + <meta name="Date-Revision-yyyymmdd" content="20200805" /> + <meta http-equiv="Content-Language" content="en" /> + <title>Apache Maven Resources Plugin – Including and excluding files and directories</title> + <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.min.css" /> + <link rel="stylesheet" href="../css/site.css" /> + <link rel="stylesheet" href="../css/print.css" media="print" /> + <script type="text/javascript" src="../js/apache-maven-fluido-1.7.min.js"></script> + <!-- Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-140879-1']); + _gaq.push(['_trackPageview']); + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + </head> + <body class="topBarDisabled"> + <div class="container-fluid"> + <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"/></a></div> + <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png" alt=""/></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.2.0/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: 2020-08-05</li> + <li id="projectVersion" class="pull-right">Version: 3.2.0</li> + </ul> + </div> + <div class="row-fluid"> + <div id="leftColumn" class="span2"> + <div 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 href="#"><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="../../../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://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> +<form id="search-form" action="https://www.google.com/search" method="get" > + <input value="maven.apache.org/plugins/maven-resources-plugin/" name="sitesearch" type="hidden"/> + <input class="search-query" name="q" id="query" type="text" /> +</form> +<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script> + <hr /> + <div id="poweredBy"> + <div class="clear"></div> + <div class="clear"></div> + <div id="twitter"> + <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a> + <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> + </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> + </div> + <div id="bodyColumn" class="span10" > +<div class="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 <tt><includes></tt> element.</p> +<div class="source"><pre class="prettyprint linenums"><project> + ... + <name>My Resources Plugin Practice Project</name> + ... + <build> + ... + <resources> + <resource> + <directory>[your directory]</directory> + <includes> + <include>[resource file #1]</include> + <include>[resource file #2]</include> + <include>[resource file #3]</include> + ... + <include>[resource file #n]</include> + </includes> + </resource> + ... + </resources> + ... + </build> + ... +</project> +</pre></div> +<p>And to exclude a resource, we only need to add an <tt><excludes></tt> element.</p> +<div class="source"><pre class="prettyprint linenums"><project> + ... + <name>My Resources Plugin Practice Project</name> + ... + <build> + ... + <resources> + <resource> + <directory>[your directory]</directory> + <excludes> + <exclude>[non-resource file #1]</exclude> + <exclude>[non-resource file #2]</exclude> + <exclude>[non-resource file #3]</exclude> + ... + <exclude>[non-resource file #n]</exclude> + </excludes> + </resource> + ... + </resources> + ... + </build> + ... +</project> +</pre></div> +<p>For example, if we want to include all text and RTF files under our <tt>src/my-resources</tt> directory and in all its subdirectories, we can do the following:</p> +<div class="source"><pre class="prettyprint linenums"><project> + ... + <name>My Resources Plugin Practice Project</name> + ... + <build> + ... + <resources> + <resource> + <directory>src/my-resources</directory> + <includes> + <include>**/*.txt</include> + <include>**/*.rtf</include> + </includes> + </resource> + ... + </resources> + ... + </build> + ... +</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> + ... + <name>My Resources Plugin Practice Project</name> + ... + <build> + ... + <resources> + <resource> + <directory>src/my-resources</directory> + <excludes> + <exclude>**/*.bmp</exclude> + <exclude>**/*.jpg</exclude> + <exclude>**/*.jpeg</exclude> + <exclude>**/*.gif</exclude> + </excludes> + </resource> + ... + </resources> + ... + </build> + ... +</project> +</pre></div> +<p>Of course, we can also have both <tt><includes></tt> and <tt><excludes></tt> 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> + ... + <name>My Resources Plugin Practice Project</name> + ... + <build> + ... + <resources> + <resource> + <directory>src/my-resources</directory> + <includes> + <include>**/*.txt</include> + </includes> + <excludes> + <exclude>**/*test*.*</exclude> + </excludes> + </resource> + ... + </resources> + ... + </build> + ... +</project> +</pre></div></div> + </div> + </div> + </div> + <hr/> + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p>Copyright ©2001–2020 +<a href="https://www.apache.org/">The Apache Software Foundation</a>. +All rights reserved.</p> + </div> + </div> + </footer> + </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 Aug 5 15:33:50 2020 @@ -1,178 +1,184 @@ -<!DOCTYPE html> -<!-- - | Generated by Apache Maven Doxia Site Renderer 1.8 from src/site/apt/examples/resource-directory.apt at 2018-04-23 - | Rendered using Apache Maven Fluido Skin 1.7 ---> -<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.0" /> - <meta name="author" content="Franz Allan See" /> - <meta name="Date-Creation-yyyymmdd" content="20080905" /> - <meta name="Date-Revision-yyyymmdd" content="20180423" /> - <meta http-equiv="Content-Language" content="en" /> - <title>Apache Maven Resources Plugin – Specifying resource directories</title> - <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.min.css" /> - <link rel="stylesheet" href="../css/site.css" /> - <link rel="stylesheet" href="../css/print.css" media="print" /> - <script type="text/javascript" src="../js/apache-maven-fluido-1.7.min.js"></script> - <!-- Google Analytics --> - <script type="text/javascript"> - var _gaq = _gaq || []; - _gaq.push(['_setAccount', 'UA-140879-1']); - _gaq.push(['_trackPageview']); - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); - </script> - </head> - <body class="topBarDisabled"> - <div class="container-fluid"> - <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"/></a></div> - <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png" alt=""/></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</li> - <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2018-04-23</li> - <li id="projectVersion" class="pull-right">Version: 3.1.0</li> - </ul> - </div> - <div class="row-fluid"> - <div id="leftColumn" class="span2"> - <div 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 href="#"><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/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="../../../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://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> -<form id="search-form" action="https://www.google.com/search" method="get" > - <input value="$sitesearchValue" name="sitesearch" type="hidden"/> - <input class="search-query" name="q" id="query" type="text" /> -</form> -<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script> - <hr /> - <div id="poweredBy"> - <div class="clear"></div> - <div class="clear"></div> - <div id="twitter"> - <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a> - <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> - </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> - </div> - <div id="bodyColumn" class="span10" > -<div class="section"> -<h2><a name="Specifying_resource_directories"></a>Specifying resource directories</h2> -<p>By default, Maven will look for your project's resources under <tt>src/main/resources</tt>.</p> -<div class="source"><pre class="prettyprint linenums">Project -|-- pom.xml -`-- src - `-- main - `-- resources</pre></div> -<p>However, all your resources may not be in <tt>src/main/resources</tt>. Thus, you'd have to specify those directories by adding the following to your POM.</p> -<div class="source"><pre class="prettyprint linenums"><project> - ... - <build> - ... - <resources> - <resource> - <directory>[your folder here]</directory> - </resource> - </resources> - ... - </build> - ... -</project></pre></div> -<p>So if your resources resides in <tt>src/my-resources</tt></p> -<div class="source"><pre class="prettyprint linenums">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"> ... - <resources> - <resource> - <directory>src/my-resources</directory> - </resource> - </resources> - ...</pre></div> -<p>Furthermore, you can have several directories by adding multiple <tt><resource></tt> elements:</p> -<div class="source"><pre class="prettyprint linenums"> ... - <resources> - <resource> - <directory>resource1</directory> - </resource> - <resource> - <directory>resource2</directory> - </resource> - <resource> - <directory>resource3</directory> - </resource> - </resources> - ...</pre></div></div> - </div> - </div> - </div> - <hr/> - <footer> - <div class="container-fluid"> - <div class="row-fluid"> - <p>Copyright ©2001–2018 -<a href="https://www.apache.org/">The Apache Software Foundation</a>. -All rights reserved.</p> - </div> - </div> - </footer> - </body> +<!DOCTYPE html> +<!-- + | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src\site\apt/examples\resource-directory.apt at 2020-08-05 + | Rendered using Apache Maven Fluido Skin 1.7 +--> +<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.0" /> + <meta name="author" content="Franz Allan See" /> + <meta name="Date-Creation-yyyymmdd" content="20080905" /> + <meta name="Date-Revision-yyyymmdd" content="20200805" /> + <meta http-equiv="Content-Language" content="en" /> + <title>Apache Maven Resources Plugin – Specifying resource directories</title> + <link rel="stylesheet" href="../css/apache-maven-fluido-1.7.min.css" /> + <link rel="stylesheet" href="../css/site.css" /> + <link rel="stylesheet" href="../css/print.css" media="print" /> + <script type="text/javascript" src="../js/apache-maven-fluido-1.7.min.js"></script> + <!-- Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-140879-1']); + _gaq.push(['_trackPageview']); + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + </head> + <body class="topBarDisabled"> + <div class="container-fluid"> + <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"/></a></div> + <div class="pull-right"><a href="../../../" id="bannerRight"><img src="../../../images/maven-logo-black-on-white.png" alt=""/></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.2.0/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: 2020-08-05</li> + <li id="projectVersion" class="pull-right">Version: 3.2.0</li> + </ul> + </div> + <div class="row-fluid"> + <div id="leftColumn" class="span2"> + <div 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 href="#"><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="../../../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://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> +<form id="search-form" action="https://www.google.com/search" method="get" > + <input value="maven.apache.org/plugins/maven-resources-plugin/" name="sitesearch" type="hidden"/> + <input class="search-query" name="q" id="query" type="text" /> +</form> +<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script> + <hr /> + <div id="poweredBy"> + <div class="clear"></div> + <div class="clear"></div> + <div id="twitter"> + <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a> + <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> + </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> + </div> + <div id="bodyColumn" class="span10" > +<div class="section"> +<h2><a name="Specifying_resource_directories"></a>Specifying resource directories</h2> +<p>By default, Maven will look for your project's resources under <tt>src/main/resources</tt>.</p> +<div class="source"><pre class="prettyprint linenums">Project +|-- pom.xml +`-- src + `-- main + `-- resources +</pre></div> +<p>However, all your resources may not be in <tt>src/main/resources</tt>. Thus, you'd have to specify those directories by adding the following to your POM.</p> +<div class="source"><pre class="prettyprint linenums"><project> + ... + <build> + ... + <resources> + <resource> + <directory>[your folder here]</directory> + </resource> + </resources> + ... + </build> + ... +</project> +</pre></div> +<p>So if your resources resides in <tt>src/my-resources</tt></p> +<div class="source"><pre class="prettyprint linenums">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"> ... + <resources> + <resource> + <directory>src/my-resources</directory> + </resource> + </resources> + ... +</pre></div> +<p>Furthermore, you can have several directories by adding multiple <tt><resource></tt> elements:</p> +<div class="source"><pre class="prettyprint linenums"> ... + <resources> + <resource> + <directory>resource1</directory> + </resource> + <resource> + <directory>resource2</directory> + </resource> + <resource> + <directory>resource3</directory> + </resource> + </resources> + ... +</pre></div></div> + </div> + </div> + </div> + <hr/> + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p>Copyright ©2001–2020 +<a href="https://www.apache.org/">The Apache Software Foundation</a>. +All rights reserved.</p> + </div> + </div> + </footer> + </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 Aug 5 15:33:50 2020 @@ -1,202 +1,203 @@ -<!DOCTYPE html> -<!-- - | Generated by Apache Maven Doxia Site Renderer 1.8 from src/site/fml/faq.fml at 2018-04-23 - | Rendered using Apache Maven Fluido Skin 1.7 ---> -<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.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180423" /> - <meta http-equiv="Content-Language" content="en" /> - <title>Apache Maven Resources Plugin – Frequently Asked Questions</title> - <link rel="stylesheet" href="./css/apache-maven-fluido-1.7.min.css" /> - <link rel="stylesheet" href="./css/site.css" /> - <link rel="stylesheet" href="./css/print.css" media="print" /> - <script type="text/javascript" src="./js/apache-maven-fluido-1.7.min.js"></script> - <!-- Google Analytics --> - <script type="text/javascript"> - var _gaq = _gaq || []; - _gaq.push(['_setAccount', 'UA-140879-1']); - _gaq.push(['_trackPageview']); - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); - </script> - </head> - <body class="topBarDisabled"> - <div class="container-fluid"> - <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"/></a></div> - <div class="pull-right"><a href="../../" id="bannerRight"><img src="../../images/maven-logo-black-on-white.png" alt=""/></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</li> - <li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2018-04-23</li> - <li id="projectVersion" class="pull-right">Version: 3.1.0</li> - </ul> - </div> - <div class="row-fluid"> - <div id="leftColumn" class="span2"> - <div 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 href="#"><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/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="../../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://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> -<form id="search-form" action="https://www.google.com/search" method="get" > - <input value="$sitesearchValue" name="sitesearch" type="hidden"/> - <input class="search-query" name="q" id="query" type="text" /> -</form> -<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script> - <hr /> - <div id="poweredBy"> - <div class="clear"></div> - <div class="clear"></div> - <div id="twitter"> - <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a> - <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> - </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> - </div> - <div id="bodyColumn" class="span10" > -<div class="section"> -<h2><a name="Frequently_Asked_Questions"></a><a name="top">Frequently Asked Questions</a></h2> -<ol style="list-style-type: decimal"> -<li><a href="#What_are_resources"> - What are resources? - </a></li> -<li><a href="#When_should_I_use_the_resouces_plugins_goal_outside_a_lifecycle"> - When should I use the Resources Plugin's goal outside a lifecycle? - </a></li> -<li><a href="#Do_my_main_resources_go_to_my_test_resources_as_well"> - Do my main resources go to my test resources as well? - </a></li> -<li><a href="#What_encoding_values_are_allowed"> - What encoding values are allowed? - </a></li></ol></div> -<dl> -<dt><a name="What_are_resources"> - What are resources? - </a></dt> -<dd> - -<p>Resources are non-source code files used by your project. Examples of - these are properties files, images and XML files.</p> - -<p align="right"><a href="#top">[top]</a></p><hr /></dd> -<dt><a name="When_should_I_use_the_resouces_plugins_goal_outside_a_lifecycle"> - When should I use the Resources Plugin's goal outside a lifecycle? - </a></dt> -<dd> - -<p>The Maven Resource Plugin simply copies resources from your source to - your build output (with optional filtering). So if that's the only - operation you are interested in, you can skip the other phases such as - compilation and testing and simply do</p> - - -<div class="source"><pre class="prettyprint linenums">mvn resources:resources</pre></div> - - -<p>For example, if you just debugged your configuration file and you - want to manually test it in your container if it works, you can simply - do</p> - - -<div class="source"><pre class="prettyprint linenums">mvn resources:resources</pre></div> - - -<p>This will produce those configuration files on your - output thus skipping the other phases which may eat up a huge amount of - your time.</p> - -<p align="right"><a href="#top">[top]</a></p><hr /></dd> -<dt><a name="Do_my_main_resources_go_to_my_test_resources_as_well"> - Do my main resources go to my test resources as well? - </a></dt> -<dd> - -<p>No. Your main resources and your test resources are separated from - each other.</p> - - -<p>Your test resources should only be used by your tests. Thus, they are - separated from the main to avoid any side effects that may occur.</p> - -<p align="right"><a href="#top">[top]</a></p><hr /></dd> -<dt><a name="What_encoding_values_are_allowed"> - What encoding values are allowed? - </a></dt> -<dd> - -<p>The Maven Resource Plugin only allows encoding values representing - the charsets supported by the Java platform, namely <tt>US-ASCII</tt>, - <tt>ISO-8859-1</tt>, <tt>UTF-8</tt>, <tt>UTF-16BE</tt>, <tt>UTF-16LE</tt> and <tt>UTF-16</tt>.</p> - -<p align="right"><a href="#top">[top]</a></p></dd></dl> - </div> - </div> - </div> - <hr/> - <footer> - <div class="container-fluid"> - <div class="row-fluid"> - <p>Copyright ©2001–2018 -<a href="https://www.apache.org/">The Apache Software Foundation</a>. -All rights reserved.</p> - </div> - </div> - </footer> - </body> +<!DOCTYPE html> +<!-- + | Generated by Apache Maven Doxia Site Renderer 1.8.1 from src\site\fml/faq.fml at 2020-08-05 + | Rendered using Apache Maven Fluido Skin 1.7 +--> +<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.0" /> + <meta name="Date-Revision-yyyymmdd" content="20200805" /> + <meta http-equiv="Content-Language" content="en" /> + <title>Apache Maven Resources Plugin – Frequently Asked Questions</title> + <link rel="stylesheet" href="./css/apache-maven-fluido-1.7.min.css" /> + <link rel="stylesheet" href="./css/site.css" /> + <link rel="stylesheet" href="./css/print.css" media="print" /> + <script type="text/javascript" src="./js/apache-maven-fluido-1.7.min.js"></script> + <!-- Google Analytics --> + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-140879-1']); + _gaq.push(['_trackPageview']); + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + </head> + <body class="topBarDisabled"> + <div class="container-fluid"> + <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"/></a></div> + <div class="pull-right"><a href="../../" id="bannerRight"><img src="../../images/maven-logo-black-on-white.png" alt=""/></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.2.0/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: 2020-08-05</li> + <li id="projectVersion" class="pull-right">Version: 3.2.0</li> + </ul> + </div> + <div class="row-fluid"> + <div id="leftColumn" class="span2"> + <div 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 href="#"><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="../../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://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> +<form id="search-form" action="https://www.google.com/search" method="get" > + <input value="maven.apache.org/plugins/maven-resources-plugin/" name="sitesearch" type="hidden"/> + <input class="search-query" name="q" id="query" type="text" /> +</form> +<script type="text/javascript">asyncJs( 'https://cse.google.com/brand?form=search-form' )</script> + <hr /> + <div id="poweredBy"> + <div class="clear"></div> + <div class="clear"></div> + <div id="twitter"> + <a href="https://twitter.com/ASFMavenProject" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ASFMavenProject</a> + <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> + </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> + </div> + <div id="bodyColumn" class="span10" > +<div class="section"> +<h2><a name="Frequently_Asked_Questions"></a><a name="top">Frequently Asked Questions</a></h2> +<ol style="list-style-type: decimal"> +<li><a href="#What_are_resources"> + What are resources? + </a></li> +<li><a href="#When_should_I_use_the_resouces_plugins_goal_outside_a_lifecycle"> + When should I use the Resources Plugin's goal outside a lifecycle? + </a></li> +<li><a href="#Do_my_main_resources_go_to_my_test_resources_as_well"> + Do my main resources go to my test resources as well? + </a></li> +<li><a href="#What_encoding_values_are_allowed"> + What encoding values are allowed? + </a></li></ol></div> +<dl> +<dt><a name="What_are_resources"> + What are resources? + </a></dt> +<dd> + +<p>Resources are non-source code files used by your project. Examples of + these are properties files, images and XML files.</p> + +<p align="right"><a href="#top">[top]</a></p><hr /></dd> +<dt><a name="When_should_I_use_the_resouces_plugins_goal_outside_a_lifecycle"> + When should I use the Resources Plugin's goal outside a lifecycle? + </a></dt> +<dd> + +<p>The Maven Resource Plugin simply copies resources from your source to + your build output (with optional filtering). So if that's the only + operation you are interested in, you can skip the other phases such as + compilation and testing and simply do</p> + + +<div class="source"><pre class="prettyprint linenums">mvn resources:resources</pre></div> + + +<p>For example, if you just debugged your configuration file and you + want to manually test it in your container if it works, you can simply + do</p> + + +<div class="source"><pre class="prettyprint linenums">mvn resources:resources</pre></div> + + +<p>This will produce those configuration files on your + output thus skipping the other phases which may eat up a huge amount of + your time.</p> + +<p align="right"><a href="#top">[top]</a></p><hr /></dd> +<dt><a name="Do_my_main_resources_go_to_my_test_resources_as_well"> + Do my main resources go to my test resources as well? + </a></dt> +<dd> + +<p>No. Your main resources and your test resources are separated from + each other.</p> + + +<p>Your test resources should only be used by your tests. Thus, they are + separated from the main to avoid any side effects that may occur.</p> + +<p align="right"><a href="#top">[top]</a></p><hr /></dd> +<dt><a name="What_encoding_values_are_allowed"> + What encoding values are allowed? + </a></dt> +<dd> + +<p>The Maven Resource Plugin only allows encoding values representing + the charsets supported by the Java platform, namely <tt>US-ASCII</tt>, + <tt>ISO-8859-1</tt>, <tt>UTF-8</tt>, <tt>UTF-16BE</tt>, <tt>UTF-16LE</tt> and <tt>UTF-16</tt>.</p> + +<p align="right"><a href="#top">[top]</a></p></dd></dl> + </div> + </div> + </div> + <hr/> + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p>Copyright ©2001–2020 +<a href="https://www.apache.org/">The Apache Software Foundation</a>. +All rights reserved.</p> + </div> + </div> + </footer> + </body> </html> \ No newline at end of file