acs-community-packaging icon indicating copy to clipboard operation
acs-community-packaging copied to clipboard

build failed because of missing "docflex" zip

Open silverskyvicto opened this issue 5 years ago • 0 comments

Hi.

I was trying acs-community-packaging and got the following error:

Description

build failed because of missing "docflex" zip

Steps to reproduce:

  1. Change working directory using cd command
cd <path to parent>/acs-community-packaging
  1. Build using mvn command
mvn clean install

Expected Behaviour

All builds success.

Observed Behaviour

Build fails with the following error.

[INFO] --- maven-dependency-plugin:3.1.1:unpack (default-cli) @ alfresco-public-javadoc ---
[INFO] Configured Artifact: com.docflex:docflex-javadoc:1.6.1:zip
[WARNING] The POM for com.docflex:docflex-javadoc:zip:1.6.1 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Alfresco Content Services Community Packaging 6.2.0-SNAPSHOT:
[INFO] 
[INFO] Alfresco Content Services Community Packaging ...... SUCCESS [  0.415 s]
[INFO] Alfresco Content Services Community WAR ............ SUCCESS [  8.729 s]
[INFO] Alfresco Content Services Community Distribution zip SUCCESS [ 11.836 s]
[INFO] Alfresco Content Services Public API Javadoc ....... FAILURE [  0.015 s]
[INFO] ACS Community Docker Image Builder for Alfresco Community SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21.195 s
[INFO] Finished at: 2019-08-18T21:54:11+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:unpack (default-cli) on project alfresco-public-javadoc: Unable to find/resolve artifact.: Failure to find com.docflex:docflex-javadoc:zip:1.6.1 in https://artifacts.alfresco.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of alfresco-public has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :alfresco-public-javadoc

Environment

  • OS: macOS Mojave 10.14.6
  • Java:
openjdk version "12" 2019-03-19
OpenJDK Runtime Environment (build 12+33)
OpenJDK 64-Bit Server VM (build 12+33, mixed mode, sharing)
  • Maven:
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-05T04:00:29+09:00)
Maven home: /usr/local/Cellar/maven/3.6.1/libexec
Java version: 12, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home
Default locale: ja_JP, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"

Workaround

It can be avoided by commenting out "public-javadoc" in pom.xml.

Reference link: Alfresco Community - could not find artifact docflex-javadoc

silverskyvicto avatar Aug 18 '19 13:08 silverskyvicto