Skip to content

Conversation

@yahavi
Copy link
Member

@yahavi yahavi commented Jun 21, 2023

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.

Fix the following issue, caused by an outdated cache:

2023-06-21T03:33:00.748Z [main] ERROR org.apache.maven.cli.MavenCli - Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.16.0:use-dep-version (default-cli) on project artifactory-monorepo-dev: Version 7.5.1 is not available for artifact org.testng:testng -> [Help 1]

To reproduce:

  1. Remove all versions above 7.5.0 in the following local files:

    • .m2/repository/org/testng/testng/maven-metadata-artifactory-release.xml
    • .m2/repository/org/testng/testng/maven-metadata-artifactory-snapshot.xml
    • .m2/repository/org/testng/testng/maven-metadata-central.xml
  2. Run the following Maven command:
    mvn org.apache.maven.plugins:maven-dependency-plugin:get -Dartifact=org.testng:testng:6.6

  3. Add the -U flag to see that the issue is fixed:
    mvn -U org.apache.maven.plugins:maven-dependency-plugin:get -Dartifact=org.testng:testng:6.6

@yahavi yahavi added the bug Something isn't working label Jun 21, 2023
@yahavi yahavi requested a review from omerzi June 21, 2023 07:08
@yahavi yahavi self-assigned this Jun 21, 2023
@omerzi omerzi added the safe to test Approve running integration tests on a pull request label Jun 21, 2023
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Jun 21, 2023
@github-actions
Copy link
Contributor

What is Frogbot?

@yahavi yahavi merged commit ef24b3c into jfrog:dev Jun 21, 2023
@yahavi yahavi deleted the maven-missing branch June 21, 2023 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants