[MNG-7470] mvn 3.9+ IT that uses wagon (default) and native transport (#158)

An IT for Maven 3.9+ that "exercise" both resolver transport: wagon and native (so we have 2 tests both forcing transport with `-Dmaven.resolver.transport` one wagon (which is default, but setting is there to be explicit) and once native.

It builds a project that needs a plugin (to pull it will use set transport), and that plugin will use resolver as well to resolve set artifact. If any of these fails, maven project fails.

Related fix: https://github.com/apache/maven/pull/732 (jn maven-3.9.x and master)
16 files changed
tree: 28a391276f71db4c94a34d582e0e1bd9ae462b24
  1. core-it-suite/
  2. core-it-support/
  3. environments/
  4. src/
  5. .asf.yaml
  6. .gitattributes
  7. .gitignore
  8. pom.xml
  9. README.md
  10. run-its.bat
  11. run-its.sh
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