Skip to content

Fail to build acs-packaging #753

@silverskyvicto

Description

@silverskyvicto

Hi.

I tried building the acs-packaging project. However, it has failed.
The situation is as follows.

Subject

An error occurs due to lack of dependencies.

Performed steps

  1. Clone project using git command below.

    $ git clone git@github.com:Alfresco/acs-packaging.git
    
  2. Install using mvn command below.

    $ cd acs-packaging
    $ mvn clean install
    

Expected

Build suceeded.

Actual

Error occured with error messages below.

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Alfresco Content Services Packaging                                [pom]
[INFO] Alfresco Content Services WAR                                      [war]
[INFO] Alfresco Content Services Distribution zip                         [jar]
[INFO] Alfresco Content Services Docker Image Builder                     [pom]
[INFO] Alfresco Content Services Docker Image Builder for AWS             [pom]
[INFO] Alfresco Content and Share Services with Amps Docker Image Builder [pom]
[INFO] 
[INFO] ---------------------< org.alfresco:acs-packaging >---------------------
[INFO] Building Alfresco Content Services Packaging 6.3.0-SNAPSHOT        [1/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ acs-packaging ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ acs-packaging ---
[INFO] Installing <Path to repository parent>/acs-packaging/pom.xml to <Path to user home>/.m2/repository/org/alfresco/acs-packaging/6.3.0-SNAPSHOT/acs-packaging-6.3.0-SNAPSHOT.pom
[INFO] 
[INFO] -------------------< org.alfresco:content-services >--------------------
[INFO] Building Alfresco Content Services WAR 6.3.0-SNAPSHOT              [2/6]
[INFO] --------------------------------[ war ]---------------------------------
[WARNING] The POM for org.alfresco:alfresco-enterprise-remote-api:jar:8.41 is missing, no dependency information available
[WARNING] The POM for org.alfresco:alfresco-enterprise-repository:jar:8.44 is missing, no dependency information available
[WARNING] The POM for org.alfresco:alfresco-enterprise-crypto:jar:6.2 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Alfresco Content Services Packaging 6.3.0-SNAPSHOT:
[INFO] 
[INFO] Alfresco Content Services Packaging ................ SUCCESS [  0.511 s]
[INFO] Alfresco Content Services WAR ...................... FAILURE [  2.461 s]
[INFO] Alfresco Content Services Distribution zip ......... SKIPPED
[INFO] Alfresco Content Services Docker Image Builder ..... SKIPPED
[INFO] Alfresco Content Services Docker Image Builder for AWS SKIPPED
[INFO] Alfresco Content and Share Services with Amps Docker Image Builder SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.204 s
[INFO] Finished at: 2019-12-18T15:37:11+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project content-services: Could not resolve dependencies for project org.alfresco:content-services:war:6.3.0-SNAPSHOT: The following artifacts could not be resolved: org.alfresco:alfresco-enterprise-remote-api:jar:8.41, org.alfresco:alfresco-enterprise-repository:jar:8.44, org.alfresco:alfresco-enterprise-crypto:jar:6.2: Failure to find org.alfresco:alfresco-enterprise-remote-api:jar:8.41 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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :content-services

Environment Info

$ java -version
openjdk version "13" 2019-09-17
OpenJDK Runtime Environment (build 13+33)
OpenJDK 64-Bit Server VM (build 13+33, mixed mode, sharing)

$ mvn -v
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3/libexec
Java version: 13, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-13.jdk/Contents/Home
Default locale: ja_JP, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.2", arch: "x86_64", family: "mac"

Other Info

In Alfresco Nexus Repository, There seems to be no "org.alfresco:alfresco-enterprise-remote-api:jar:8.41", "org.alfresco:alfresco-enterprise-repository:jar:8.44" and "org.alfresco:alfresco-enterprise-remote-api:jar:8.41" in the alfresco-private repository.
There are only in alfresco-internal repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions