Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-126

go-offline has an issue resolving dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • None
    • None
    • go-offline
    • None

    Description

      Getting this error when attempting to "go-offline". The command run was: mvn dependency:go-offline

      [INFO] Preparing dependency:go-offline
      [INFO] [dependency:resolve-plugins]
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.

      GroupId: org.apache.maven.plugins
      ArtifactId: maven-javadoc-plugin
      Version: RELEASE

      Reason: Unable to determine the release version

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-javadoc-plugin \
      -Dversion=RELEASE -Dpackaging=maven-plugin -Dfile=/path/to/file
      Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-javadoc-plugin \
      -Dversion=RELEASE -Dpackaging=maven-plugin -Dfile=/path/to/file \
      -Durl=[url] -DrepositoryId=[id]

      org.apache.maven.plugins:maven-javadoc-plugin:maven-plugin:RELEASE

      Attachments

        Activity

          People

            Unassigned Unassigned
            jboyens JR Boyens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: