This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git
The following commit(s) were added to refs/heads/master by this push:
new 6166be5 Delete the output of in-place IT runs before the ITs start
6166be5 is described below
commit 6166be5c7b21b60454b54128796de745aa6e66f9
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 4 06:59:14 2026 +0000
Delete the output of in-place IT runs before the ITs start
An IT selected with -Dinvoker.test also runs in place under src/it, and
the next run copies its target directory along with the project. Doxia
Sitetools then skips re-rendering the pages, which look newer than their
sources, so template changes seem to have no effect.
---
.gitignore | 3 ++-
pom.xml | 27 +++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 8f9ebd5..cd08c50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,4 +13,5 @@ out/
/bootstrap
/dependencies.xml
.java-version
-.checkstyle
\ No newline at end of file
+.checkstyle
+/src/it/*/build.log*
diff --git a/pom.xml b/pom.xml
index b754cc9..6888cf3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -233,6 +233,33 @@ under the License.
</properties>
<build>
<plugins>
+ <plugin>
+ <!-- an IT run in place leaves its output under src/it; the next
cloned run would copy it, and Doxia
+ Sitetools would skip re-rendering the pages, which then look
newer than their sources -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>clean-in-place-its</id>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ <phase>pre-integration-test</phase>
+ <configuration>
+ <excludeDefaultDirectories>true</excludeDefaultDirectories>
+ <filesets>
+ <fileset>
+ <directory>src/it</directory>
+ <includes>
+ <include>*/target/**</include>
+ <include>*/build.log*</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>