Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Fail to build share. #137

Description

@silverskyvicto

Hi.

I tried building the share 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/share.git
    
  2. Install using mvn command below.

    $ cd share
    $ mvn clean install
    

Expected

Build suceeded.

Actual

Error occured with error messages below.

[INFO] -------------------< org.alfresco:share-docker-aws >--------------------
[INFO] Building Alfresco Share Docker AWS image builder 6.3.0-SNAPSHOT  [20/20]
[INFO] --------------------------------[ pom ]---------------------------------
[WARNING] The POM for org.alfresco:alfresco-ai-share:amp:1.1.1 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Alfresco Share Parent 6.3.0-SNAPSHOT:
[INFO] 
[INFO] Alfresco Share Parent .............................. SUCCESS [ 10.816 s]
[INFO] Alfresco Share Services AMP ........................ SUCCESS [ 54.255 s]
[INFO] Alfresco Web Framework common libraries ............ SUCCESS [01:00 min]
[INFO] Alfresco Share WAR ................................. SUCCESS [03:40 min]
[INFO] share-po ........................................... SUCCESS [ 19.149 s]
[INFO] Alfresco CMM Automation QA ......................... SUCCESS [  6.752 s]
[INFO] Alfresco Web Editor Plugin ......................... SUCCESS [  1.172 s]
[INFO] Alfresco Web Editor ................................ SUCCESS [ 14.533 s]
[INFO] Alfresco Web Editor Samples ........................ SUCCESS [  2.003 s]
[INFO] Alfresco WCMQS Parent .............................. SUCCESS [  0.117 s]
[INFO] Alfresco WCMQS Client API .......................... SUCCESS [ 14.751 s]
[INFO] Alfresco WCMQS AMP ................................. SUCCESS [ 28.559 s]
[INFO] Alfresco WCMQS Share AMP ........................... SUCCESS [  1.411 s]
[INFO] Alfresco WCMQS Web ................................. SUCCESS [ 19.107 s]
[INFO] Packaging Alfresco Share ........................... SUCCESS [  0.079 s]
[INFO] Distribution of Alfresco Share ..................... SUCCESS [  5.134 s]
[INFO] Alfresco WebEditor Distribution Zip ................ SUCCESS [  2.587 s]
[INFO] Alfresco WCMQS Distribution Zip .................... SUCCESS [  3.212 s]
[INFO] Alfresco Share Docker image builder ................ SUCCESS [ 14.427 s]
[INFO] Alfresco Share Docker AWS image builder ............ FAILURE [  0.018 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  08:07 min
[INFO] Finished at: 2019-12-24T13:30:34+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project share-docker-aws: Could not resolve dependencies for project org.alfresco:share-docker-aws:pom:6.3.0-SNAPSHOT: Failure to find org.alfresco:alfresco-ai-share:amp:1.1.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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :share-docker-aws

Environment Info

$ java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

$ mvn -v
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3/libexec
Java version: 11.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.2.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-ai-share:amp:1.1.1" in the alfresco-public 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