You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/01/31 13:18:44 UTC

[maven-resources-plugin] branch master updated: (doc) Fix XML formatting

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-resources-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new f066e93  (doc) Fix XML formatting
f066e93 is described below

commit f066e93774a47d19c881acbe569254bb27a3b350
Author: Piotrek Żygieło <pz...@users.noreply.github.com>
AuthorDate: Mon Jan 31 13:45:02 2022 +0100

    (doc) Fix XML formatting
---
 src/site/apt/examples/filter.apt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/site/apt/examples/filter.apt b/src/site/apt/examples/filter.apt
index 38eaf56..b42b746 100644
--- a/src/site/apt/examples/filter.apt
+++ b/src/site/apt/examples/filter.apt
@@ -75,12 +75,14 @@ Hello ${name}
  However, if we add a <<<\<filtering\>>>> tag to our POM and set it to <<<true>>> like this:
 
 +-----+
+<project>
       ...
       <resource>
         <directory>src/main/resources</directory>
         <filtering>true</filtering>
       </resource>
       ...
+</project>
 +-----+
 
  Our <<<target/classes/hello.txt>>> after calling
@@ -158,11 +160,13 @@ your.name = world
  and adding that to our POM
 
 +-----+
+<project>
     ...
     <filters>
       <filter>my-filter-values.properties</filter>
     </filters>
     ...
+</project>
 +-----+