Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
None
-
None
-
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