This is an automated email from the ASF dual-hosted git repository.
papegaaij pushed a commit to branch wicket-11.x
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/wicket-11.x by this push:
new c358faf820 Install the quickstart archetype test's artifacts into
target/it-repo
c358faf820 is described below
commit c358faf8202fa676ea57a15fe506106448e959a3
Author: Emond Papegaaij <[email protected]>
AuthorDate: Fri Oct 30 12:11:15 2026 +0100
Install the quickstart archetype test's artifacts into target/it-repo
Since the quickstart archetype is tested during the build, its pom runs
maven-invoker-plugin:install to give the generated project the Wicket
modules it needs. Without a localRepositoryPath that goal installs into
the user's own local repository, so a plain mvn verify left 17 Wicket
files in ~/.m2, marked as locally installed and therefore never
re-downloaded. After verifying a release candidate those were jars with
the final release version built from the RC, which a later RC reusing
the version number would silently be shadowed by.
invoker:install and archetype:integration-test now share a local
repository at target/it-repo. The generated project resolves Wicket
from there and fetches everything else through the user's normal
settings, mirrors included. A clean build therefore downloads the
integration test's third-party dependencies, about 56 MB, once more
into target/it-repo. Nothing changes for applications; mvn verify no
longer writes to ~/.m2.
GitHub issue #1724
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
archetypes/quickstart/pom.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/archetypes/quickstart/pom.xml b/archetypes/quickstart/pom.xml
index ad7bd15e91..e3140bd30a 100644
--- a/archetypes/quickstart/pom.xml
+++ b/archetypes/quickstart/pom.xml
@@ -28,6 +28,7 @@
<name>Wicket Quickstart Archetype</name>
<properties>
+
<archetype.test.localRepositoryPath>${project.build.directory}/it-repo</archetype.test.localRepositoryPath>
<archetype.test.skip>${skipTests}</archetype.test.skip>
<invoker.skip>${skipTests}</invoker.skip>
<japicmp.skip>true</japicmp.skip>
@@ -111,6 +112,7 @@
<goal>install</goal>
</goals>
<configuration>
+
<localRepositoryPath>${archetype.test.localRepositoryPath}</localRepositoryPath>
<scope>test</scope>
</configuration>
</execution>