[MINVOKER-313] Get rid of maven-artifact-transfer - InstallMojo refactor by slawekjaranowski · Pull Request #174 · apache/maven-invoker-plugin (original) (raw)

@slawekjaranowski

cstamas

This was referenced

Jan 31, 2023

copybara-service Bot pushed a commit to google/auto that referenced this pull request

Feb 16, 2023

@eamonnmcmanus

The upgrade to version 3.5.0 of maven-invoker-plugin caused this project to fail, with this message:

Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.5.0:install (integration-test) on project auto-value: Failed to install artifact com.google.auto:auto-common:jar:1.2.1: cannot install /home/runner/.m2/repository/com/google/auto/auto-common/1.2.1/auto-common-1.2.1.jar to same path -> [Help 1]

Setting localRepositoryPath fixes this.

I believe the change in behaviour was caused by this PR, which may have broken other projects similarly.

RELNOTES=n/a PiperOrigin-RevId: 510172220

copybara-service Bot pushed a commit to google/auto that referenced this pull request

Feb 16, 2023

@eamonnmcmanus

The upgrade to version 3.5.0 of maven-invoker-plugin caused this project to fail, with the message here:

Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.5.0:install (integration-test) on project auto-value: Failed to install artifact com.google.auto:auto-common:jar:1.2.1: cannot install /home/runner/.m2/repository/com/google/auto/auto-common/1.2.1/auto-common-1.2.1.jar to same path -> [Help 1]

Setting localRepositoryPath fixes this.

I believe the change in behaviour was caused by this PR, which may have broken other projects similarly. But it has always been recommended to use a non-default localRepositoryPath anyway.

RELNOTES=n/a PiperOrigin-RevId: 510172220

copybara-service Bot pushed a commit to google/auto that referenced this pull request

Feb 16, 2023

@eamonnmcmanus

The upgrade to version 3.5.0 of maven-invoker-plugin caused this project to fail, with the message here:

Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.5.0:install (integration-test) on project auto-value: Failed to install artifact com.google.auto:auto-common:jar:1.2.1: cannot install /home/runner/.m2/repository/com/google/auto/auto-common/1.2.1/auto-common-1.2.1.jar to same path -> [Help 1]

Setting localRepositoryPath fixes this.

I believe the change in behaviour was caused by this PR, which may have broken other projects similarly. But it has always been recommended to use a non-default localRepositoryPath anyway.

RELNOTES=n/a PiperOrigin-RevId: 510177767

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})