maven/its
Tamas Cservenak 79d7739dcc
[MNG-8406] Proper IT isolation (#1968)
Implement proper IT isolation, in a way, that user running ITs should not have it's own env "mixed in" into IT runs. In essence, use "alternate" `user.home` for ITs. Also use proper means to set user home. This will also stop fork 4 ITs (as they were forked due presence of env variable).

Note: yes, this causes longer IT execution time (as can be seen), as the ITs user home (core-it-suite/target/user-home) starts as empty (tail is set to "outer" local repo), so ITs do download stuff.

---

https://issues.apache.org/jira/browse/MNG-8406
2024-12-12 15:24:03 +01:00
..
core-it-suite [MNG-8406] Proper IT isolation (#1968) 2024-12-12 15:24:03 +01:00
core-it-support [MNG-8406] Proper IT isolation (#1968) 2024-12-12 15:24:03 +01:00
environments [MNG-6377] switch from Git-WIP to Gitbox 2018-03-19 23:24:31 +01:00
src/site fix links (apt, not markdown), better split ITs vs support vs suite 2022-01-16 15:11:36 +01:00
.gitignore [MNG-8347] IT for transitive dependency management (#395) 2024-10-25 15:38:54 +02:00
README.md [MWRAPPER-14] remove wrapper-related ITs: not in core any more 2021-12-26 11:15:17 +01:00
pom.xml [MNG-8410] Rename maven-api-meta to maven-api-annotations (#1957) 2024-12-10 22:43:27 +01:00
run-its.bat Add a note about ITs requiring maven snapshots (#314) 2023-10-19 14:42:17 +02:00
run-its.sh Add a note about ITs requiring maven snapshots (#314) 2023-10-19 14:42:17 +02:00

README.md

Maven Core Integration Tests

https://maven.apache.org/core-its/

If you want to run the integration tests against a custom build of Maven use the following command:

mvn clean install -Prun-its -Dmaven.repo.local=`pwd`/repo -DmavenDistro=/path/to/apache-maven-dist.zip

or if behind a proxy

mvn clean install -Prun-its -Dmaven.repo.local=`pwd`/repo -DmavenDistro=/path/to/apache-maven-dist.zip -Dproxy.active=true -Dproxy.type=http -Dproxy.host=... -Dproxy.port=... -Dproxy.user=... -Dproxy.pass=...

Using the script

Build Maven core with the profile -PversionlessMavenDist

Now Run the script: sh ./run-its.sh

Maven Developers List: dev@maven.apache.org