Install fails when using mirrors and profile activation using bare negation of a <property><name> when the parent is not available in the mirror
Use some kind of repository manager. Everything is currently configured to use Reposilite listening on port 8080 as a repository manager.
It can be brought up with docker compose up using the provided compose.yaml file.
We’ll do the install to a local maven repo so the artifact won’t be available to the dependent-project later.
$ git checkout v1.0.0
$ cd parent-project
$ ./mvnw --version
$ ./mvnw clean deploy -Dmaven.repo.local=mavenRepoLocal
$ cd ..
$ git checkout mainYou should be back on main branch now
$ cd dependent-project
$ ./mvnw --version
$ ./mvnw help:active-profiles
$ ./mvnw clean install
$ cd ..