Alfresco / acs-packaging

Packaging of Docker containers, war file and zip for Alfresco Content Services (Enterprise)
https://www.alfresco.com/platform/content-services-ecm/trial/download
Other
27 stars 37 forks source link

Fail to build acs-packaging #753

Open silverskyvicto opened 4 years ago

silverskyvicto commented 4 years ago

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.

silverskyvicto commented 4 years ago

The following settings were added to pom.xml. (I have already set auth info in settings.xml.)

<repositories>
    <repository>
        <id>alfresco-private-repository</id>
        <url>http://artifacts.alfresco.com/nexus/content/groups/private/</url>
    </repository>
</repositories>

As a result, the following modules could be imported.

However, an error occurs when importing the next module.

Error log is 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 ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ content-services ---
[INFO] Deleting <Path to repository parent>/acs-packaging/war/target
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ content-services ---
[INFO] ShortRevision tag detected. The value is '8'.
[INFO] Executing: /bin/sh -c cd '<Path to repository parent>/acs-packaging/war' && 'git' 'rev-parse' '--verify' '--short=8' 'HEAD'
[INFO] Working directory: <Path to repository parent>/acs-packaging/war
[INFO] Storing buildNumber: 2c340bb5 at timestamp: 1576654070698
[INFO] Storing buildScmBranch: master
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:parse-version (default) @ content-services ---
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ content-services ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 122 resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ content-services ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to <Path to repository parent>/acs-packaging/war/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ content-services ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <Path to repository parent>/acs-packaging/war/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ content-services ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ content-services ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:unpack (fetch-log4j-config) @ content-services ---
[INFO] Configured Artifact: org.alfresco:alfresco-core:?:jar
[INFO] Unpacking <Path to user home>/.m2/repository/org/alfresco/alfresco-core/8.6/alfresco-core-8.6.jar to <Path to repository parent>/acs-packaging/war/target/classes with includes "log*.properties" and excludes ""
[INFO] 
[INFO] --- maven-war-plugin:3.2.3:exploded (pre-exploded-war) @ content-services ---
[INFO] Exploding webapp
[INFO] Assembling webapp [content-services] in [<Path to repository parent>/acs-packaging/war/target/alfresco]
[INFO] Processing war project
[INFO] Copying webapp resources [<Path to repository parent>/acs-packaging/war/src/main/webapp]
[INFO] Webapp assembled in [2525 msecs]
[INFO] 
[INFO] --- replacer:1.5.3:replace (replace-web.xml) @ content-services ---
[INFO] Replacement run on 1 file.
[INFO] 
[INFO] --- maven-war-plugin:3.2.3:war (default-war) @ content-services ---
[INFO] Packaging webapp
Security framework of XStream not initialized, XStream is probably vulnerable.
[INFO] Assembling webapp [content-services] in [<Path to repository parent>/acs-packaging/war/target/alfresco]
[INFO] Dependency [Dependency {groupId=commons-modeler, artifactId=commons-modeler, version=2.0.1, type=jar}] has changed (was Dependency {groupId=commons-modeler, artifactId=commons-modeler, version=2.0.1, type=jar}).
[INFO] Dependency [Dependency {groupId=org.gytheio, artifactId=gytheio-commons, version=0.11.2, type=jar}] has changed (was Dependency {groupId=org.gytheio, artifactId=gytheio-commons, version=0.11.2, type=jar}).
[INFO] Dependency [Dependency {groupId=org.gytheio, artifactId=gytheio-content-handler-s3, version=0.11.2, type=jar}] has changed (was Dependency {groupId=org.gytheio, artifactId=gytheio-content-handler-s3, version=0.11.2, type=jar}).
[INFO] Dependency [Dependency {groupId=org.gytheio, artifactId=gytheio-content-handler-webdav, version=0.11.2, type=jar}] has changed (was Dependency {groupId=org.gytheio, artifactId=gytheio-content-handler-webdav, version=0.11.2, type=jar}).
[INFO] Dependency [Dependency {groupId=org.gytheio, artifactId=gytheio-health-commons, version=0.11.2, type=jar}] has changed (was Dependency {groupId=org.gytheio, artifactId=gytheio-health-commons, version=0.11.2, type=jar}).
[INFO] Dependency [Dependency {groupId=org.gytheio, artifactId=gytheio-messaging-camel, version=0.11.2, type=jar}] has changed (was Dependency {groupId=org.gytheio, artifactId=gytheio-messaging-camel, version=0.11.2, type=jar}).
[INFO] Dependency [Dependency {groupId=org.gytheio, artifactId=gytheio-messaging-commons, version=0.11.2, type=jar}] has changed (was Dependency {groupId=org.gytheio, artifactId=gytheio-messaging-commons, version=0.11.2, type=jar}).
[INFO] Dependency [Dependency {groupId=org.gytheio, artifactId=gytheio-transform-commons, version=0.11.2, type=jar}] has changed (was Dependency {groupId=org.gytheio, artifactId=gytheio-transform-commons, version=0.11.2, type=jar}).
[INFO] Dependency [Dependency {groupId=org.gytheio, artifactId=gytheio-transform-messaging, version=0.11.2, type=jar}] has changed (was Dependency {groupId=org.gytheio, artifactId=gytheio-transform-messaging, version=0.11.2, type=jar}).
[INFO] Dependency [Dependency {groupId=org.gytheio, artifactId=gytheio-transform-worker-ffmpeg, version=0.11.2, type=jar}] has changed (was Dependency {groupId=org.gytheio, artifactId=gytheio-transform-worker-ffmpeg, version=0.11.2, type=jar}).
[INFO] Processing war project
[INFO] Copying webapp resources [<Path to repository parent>/acs-packaging/war/src/main/webapp]
[INFO] Webapp assembled in [380 msecs]
[INFO] Building war: <Path to repository parent>/acs-packaging/war/target/alfresco.war
[INFO] Packaging classes
[INFO] Building jar: <Path to repository parent>/acs-packaging/war/target/alfresco-classes.jar
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ content-services ---
[INFO] Installing <Path to repository parent>/acs-packaging/war/target/alfresco.war to <Path to user home>/.m2/repository/org/alfresco/content-services/6.3.0-SNAPSHOT/content-services-6.3.0-SNAPSHOT.war
[INFO] Installing <Path to repository parent>/acs-packaging/war/pom.xml to <Path to user home>/.m2/repository/org/alfresco/content-services/6.3.0-SNAPSHOT/content-services-6.3.0-SNAPSHOT.pom
[INFO] Installing <Path to repository parent>/acs-packaging/war/target/alfresco-classes.jar to <Path to user home>/.m2/repository/org/alfresco/content-services/6.3.0-SNAPSHOT/content-services-6.3.0-SNAPSHOT-classes.jar
[INFO] 
[INFO] --------< org.alfresco:alfresco-content-services-distribution >---------
[INFO] Building Alfresco Content Services Distribution zip 6.3.0-SNAPSHOT [3/6]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ alfresco-content-services-distribution ---
[INFO] Deleting <Path to repository parent>/acs-packaging/distribution/target
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:unpack (extract-keystore) @ alfresco-content-services-distribution ---
[INFO] Configured Artifact: org.alfresco:alfresco-repository:?:jar
[INFO] Configured Artifact: org.alfresco:alfresco-content-services-share-distribution:?:zip
[INFO] Unpacking <Path to user home>/.m2/repository/org/alfresco/alfresco-repository/8.46/alfresco-repository-8.46.jar to <Path to repository parent>/acs-packaging/distribution/target/dependency with includes "alfresco/keystore/**" and excludes ""
[INFO] Unpacking <Path to user home>/.m2/repository/org/alfresco/alfresco-content-services-share-distribution/6.2.0/alfresco-content-services-share-distribution-6.2.0.zip to <Path to repository parent>/acs-packaging/distribution/target/dependency with includes "" and excludes ""
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:unpack (extract-jlan-dll) @ alfresco-content-services-distribution ---
[INFO] Configured Artifact: org.alfresco:alfresco-jlan-embed:windll:?:jar
[INFO] Unpacking <Path to user home>/.m2/repository/org/alfresco/alfresco-jlan-embed/7.1/alfresco-jlan-embed-7.1-windll.jar to <Path to repository parent>/acs-packaging/distribution/target/dependency with includes "*.dll" and excludes ""
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:copy (copy-resources-war) @ alfresco-content-services-distribution ---
[INFO] Configured Artifact: org.alfresco:alfresco-server-root:?:war
[INFO] Configured Artifact: org.alfresco.aos-module:alfresco-vti-bin:?:war
[INFO] Copying alfresco-server-root-6.0.1.war to <Path to repository parent>/acs-packaging/distribution/target/classes/web-server/webapps/ROOT.war
[INFO] Copying alfresco-vti-bin-1.3.0.war to <Path to repository parent>/acs-packaging/distribution/target/classes/web-server/webapps/_vti_bin.war
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:copy (copy-resources) @ alfresco-content-services-distribution ---
[INFO] Configured Artifact: org.alfresco:alfresco-spring-encryptor:?:jar
[INFO] Copying alfresco-spring-encryptor-6.1.jar to <Path to repository parent>/acs-packaging/distribution/target/classes/bin/alfresco-spring-encryptor.jar
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ alfresco-content-services-distribution ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 78 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ alfresco-content-services-distribution ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ alfresco-content-services-distribution ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <Path to repository parent>/acs-packaging/distribution/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ alfresco-content-services-distribution ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ alfresco-content-services-distribution ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ alfresco-content-services-distribution ---
[INFO] Building jar: <Path to repository parent>/acs-packaging/distribution/target/alfresco-content-services-distribution-6.3.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-assembly-plugin:3.1.0:single (make-assembly) @ alfresco-content-services-distribution ---
[INFO] Reading assembly descriptor: src/assembly/distribution.xml
[WARNING] The following patterns were never triggered in this artifact inclusion filter:
o  '*:*:amp'

[INFO] Building zip: <Path to repository parent>/acs-packaging/distribution/target/alfresco-content-services-distribution-6.3.0-SNAPSHOT.zip
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ alfresco-content-services-distribution ---
[INFO] Installing <Path to repository parent>/acs-packaging/distribution/target/alfresco-content-services-distribution-6.3.0-SNAPSHOT.jar to <Path to user home>/.m2/repository/org/alfresco/alfresco-content-services-distribution/6.3.0-SNAPSHOT/alfresco-content-services-distribution-6.3.0-SNAPSHOT.jar
[INFO] Installing <Path to repository parent>/acs-packaging/distribution/pom.xml to <Path to user home>/.m2/repository/org/alfresco/alfresco-content-services-distribution/6.3.0-SNAPSHOT/alfresco-content-services-distribution-6.3.0-SNAPSHOT.pom
[INFO] Installing <Path to repository parent>/acs-packaging/distribution/target/alfresco-content-services-distribution-6.3.0-SNAPSHOT.zip to <Path to user home>/.m2/repository/org/alfresco/alfresco-content-services-distribution/6.3.0-SNAPSHOT/alfresco-content-services-distribution-6.3.0-SNAPSHOT.zip
[INFO] 
[INFO] ----------------< org.alfresco:content-services-docker >----------------
[INFO] Building Alfresco Content Services Docker Image Builder 6.3.0-SNAPSHOT [4/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ content-services-docker ---
[INFO] Deleting <Path to repository parent>/acs-packaging/docker-alfresco/target
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-licenses) @ content-services-docker ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 66 resources
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:unpack (unpack-war-files) @ content-services-docker ---
[INFO] Configured Artifact: org.alfresco:content-services:6.3.0-SNAPSHOT:war
[INFO] Configured Artifact: org.alfresco:api-explorer:6.2.0:war
[INFO] Configured Artifact: org.alfresco:alfresco-server-root:?:war
[INFO] Configured Artifact: org.alfresco.aos-module:alfresco-vti-bin:1.3.0:war
[INFO] Unpacking <Path to repository parent>/acs-packaging/war/target/alfresco.war to <Path to repository parent>/acs-packaging/docker-alfresco/target/war/alfresco with includes "" and excludes ""
[INFO] Unpacking <Path to user home>/.m2/repository/org/alfresco/api-explorer/6.2.0/api-explorer-6.2.0.war to <Path to repository parent>/acs-packaging/docker-alfresco/target/war/api-explorer with includes "" and excludes ""
[INFO] Unpacking <Path to user home>/.m2/repository/org/alfresco/alfresco-server-root/6.0.1/alfresco-server-root-6.0.1.war to <Path to repository parent>/acs-packaging/docker-alfresco/target/war/ROOT with includes "" and excludes ""
[INFO] Unpacking <Path to user home>/.m2/repository/org/alfresco/aos-module/alfresco-vti-bin/1.3.0/alfresco-vti-bin-1.3.0.war to <Path to repository parent>/acs-packaging/docker-alfresco/target/war/_vti_bin with includes "" and excludes ""
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:copy (copy-jdbc-connectors) @ content-services-docker ---
[INFO] Configured Artifact: org.postgresql:postgresql:42.2.9:jar
[INFO] Configured Artifact: org.alfresco:alfresco-mmt:?:jar
[INFO] Copying postgresql-42.2.9.jar to <Path to repository parent>/acs-packaging/docker-alfresco/target/connector/postgresql-42.2.9.jar
[INFO] Copying alfresco-mmt-6.0.jar to <Path to repository parent>/acs-packaging/docker-alfresco/target/alfresco-mmt/alfresco-mmt-6.0.jar
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:copy (copy-amps) @ content-services-docker ---
[INFO] Configured Artifact: org.alfresco:alfresco-share-services:6.2.0:amp
[INFO] Configured Artifact: org.alfresco.aos-module:alfresco-aos-module:1.3.0:amp
[INFO] Configured Artifact: org.alfresco.integrations:alfresco-googledocs-repo:3.1.0:amp
[WARNING] The POM for org.alfresco.integrations:alfresco-googledocs-repo:amp:3.1.0 is missing, no dependency information available
[INFO] Configured Artifact: org.alfresco.services.sync:alfresco-device-sync-repo:3.2.0:amp
[INFO] Copying alfresco-share-services-6.2.0.amp to <Path to repository parent>/acs-packaging/docker-alfresco/target/amps/alfresco-share-services-6.2.0.amp
[INFO] Copying alfresco-aos-module-1.3.0.amp to <Path to repository parent>/acs-packaging/docker-alfresco/target/amps/alfresco-aos-module-1.3.0.amp
[INFO] Copying alfresco-googledocs-repo-3.1.0.amp to <Path to repository parent>/acs-packaging/docker-alfresco/target/amps/alfresco-googledocs-repo-3.1.0.amp
[INFO] Copying alfresco-device-sync-repo-3.2.0.amp to <Path to repository parent>/acs-packaging/docker-alfresco/target/amps/alfresco-device-sync-repo-3.2.0.amp
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ content-services-docker ---
[INFO] Installing <Path to repository parent>/acs-packaging/docker-alfresco/pom.xml to <Path to user home>/.m2/repository/org/alfresco/content-services-docker/6.3.0-SNAPSHOT/content-services-docker-6.3.0-SNAPSHOT.pom
[INFO] 
[INFO] --------------< org.alfresco:content-services-docker-aws >--------------
[INFO] Building Alfresco Content Services Docker Image Builder for AWS 6.3.0-SNAPSHOT [5/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ content-services-docker-aws ---
[INFO] Deleting <Path to repository parent>/acs-packaging/docker-alfresco/aws/target
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-licenses) @ content-services-docker-aws ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 66 resources
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:unpack (unpack-resources) @ content-services-docker-aws ---
[INFO] Configured Artifact: org.alfresco:content-services:6.3.0-SNAPSHOT:war
[INFO] Configured Artifact: org.alfresco:api-explorer:6.2.0:war
[INFO] Unpacking <Path to repository parent>/acs-packaging/war/target/alfresco.war to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/war/alfresco with includes "" and excludes ""
[INFO] Unpacking <Path to user home>/.m2/repository/org/alfresco/api-explorer/6.2.0/api-explorer-6.2.0.war to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/war/api-explorer with includes "" and excludes ""
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:copy (copy-resources) @ content-services-docker-aws ---
[INFO] Configured Artifact: org.postgresql:postgresql:42.2.9:jar
[INFO] Configured Artifact: org.mariadb.jdbc:mariadb-java-client:2.5.2:jar
[INFO] Configured Artifact: org.alfresco:alfresco-mmt:?:jar
[INFO] Configured Artifact: org.alfresco:alfresco-server-root:?:war
[INFO] Configured Artifact: org.alfresco.aos-module:alfresco-vti-bin:?:war
[INFO] Copying postgresql-42.2.9.jar to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/connector/postgresql-42.2.9.jar
[INFO] Copying mariadb-java-client-2.5.2.jar to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/connector/mariadb-java-client-2.5.2.jar
[INFO] Copying alfresco-mmt-6.0.jar to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/alfresco-mmt/alfresco-mmt-6.0.jar
[INFO] Copying alfresco-server-root-6.0.1.war to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/server-root/ROOT.war
[INFO] Copying alfresco-vti-bin-1.3.0.war to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/vti-bin/_vti_bin.war
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:copy (copy-resources-amps) @ content-services-docker-aws ---
[INFO] Configured Artifact: org.alfresco:alfresco-share-services:6.2.0:amp
[INFO] Configured Artifact: org.alfresco.aos-module:alfresco-aos-module:1.3.0:amp
[INFO] Configured Artifact: org.alfresco.integrations:alfresco-googledocs-repo:3.1.0:amp
[WARNING] The POM for org.alfresco.integrations:alfresco-googledocs-repo:amp:3.1.0 is missing, no dependency information available
[INFO] Configured Artifact: org.alfresco.integrations:alfresco-s3-connector:3.0.0:amp
[INFO] Configured Artifact: org.alfresco:alfresco-ai-repo:1.1.1.1:amp
[INFO] Configured Artifact: org.alfresco.services.sync:alfresco-device-sync-repo:3.2.0:amp
[INFO] Copying alfresco-share-services-6.2.0.amp to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/amps/alfresco-share-services-6.2.0.amp
[INFO] Copying alfresco-aos-module-1.3.0.amp to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/amps/alfresco-aos-module-1.3.0.amp
[INFO] Copying alfresco-googledocs-repo-3.1.0.amp to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/amps/alfresco-googledocs-repo-3.1.0.amp
[INFO] Copying alfresco-s3-connector-3.0.0.amp to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/amps/alfresco-s3-connector-3.0.0.amp
[INFO] Copying alfresco-ai-repo-1.1.1.1.amp to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/amps/alfresco-ai-repo-1.1.1.1.amp
[INFO] Copying alfresco-device-sync-repo-3.2.0.amp to <Path to repository parent>/acs-packaging/docker-alfresco/aws/target/amps/alfresco-device-sync-repo-3.2.0.amp
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ content-services-docker-aws ---
[INFO] Installing <Path to repository parent>/acs-packaging/docker-alfresco/aws/pom.xml to <Path to user home>/.m2/repository/org/alfresco/content-services-docker-aws/6.3.0-SNAPSHOT/content-services-docker-aws-6.3.0-SNAPSHOT.pom
[INFO] 
[INFO] ---------< org.alfresco:content-services-docker-all-amps-test >---------
[INFO] Building Alfresco Content and Share Services with Amps Docker Image Builder 6.3.0-SNAPSHOT [6/6]
[INFO] --------------------------------[ pom ]---------------------------------
[WARNING] The POM for org.alfresco.integrations:alfresco-googledocs-repo:amp:3.1.0 is missing, no dependency information available
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ content-services-docker-all-amps-test ---
[INFO] Deleting <Path to repository parent>/acs-packaging/docker-alfresco/test/docker-alfresco-all-amps-test/target
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:unpack (unpack-resources) @ content-services-docker-all-amps-test ---
[INFO] Configured Artifact: org.alfresco:content-services:6.3.0-SNAPSHOT:war
[INFO] Configured Artifact: org.alfresco:share:6.2.0:war
[INFO] Configured Artifact: org.jolokia:jolokia-war:1.5.0:war
[INFO] Unpacking <Path to repository parent>/acs-packaging/war/target/alfresco.war to <Path to repository parent>/acs-packaging/docker-alfresco/test/docker-alfresco-all-amps-test/target/war/alfresco with includes "" and excludes ""
[INFO] Unpacking <Path to user home>/.m2/repository/org/alfresco/share/6.2.0/share-6.2.0.war to <Path to repository parent>/acs-packaging/docker-alfresco/test/docker-alfresco-all-amps-test/target/war/share with includes "" and excludes ""
[INFO] Unpacking <Path to user home>/.m2/repository/org/jolokia/jolokia-war/1.5.0/jolokia-war-1.5.0.war to <Path to repository parent>/acs-packaging/docker-alfresco/test/docker-alfresco-all-amps-test/target/war/jolokia with includes "" and excludes ""
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:copy (copy-resources) @ content-services-docker-all-amps-test ---
[INFO] Configured Artifact: org.postgresql:postgresql:42.2.9:jar
[INFO] Configured Artifact: org.alfresco:alfresco-mmt:?:jar
[INFO] Configured Artifact: org.alfresco:alfresco-server-root:?:war
[INFO] Configured Artifact: org.alfresco.aos-module:alfresco-vti-bin:?:war
[INFO] Copying postgresql-42.2.9.jar to <Path to repository parent>/acs-packaging/docker-alfresco/test/docker-alfresco-all-amps-test/target/connector/postgresql-42.2.9.jar
[INFO] Copying alfresco-mmt-6.0.jar to <Path to repository parent>/acs-packaging/docker-alfresco/test/docker-alfresco-all-amps-test/target/alfresco-mmt/alfresco-mmt-6.0.jar
[INFO] Copying alfresco-server-root-6.0.1.war to <Path to repository parent>/acs-packaging/docker-alfresco/test/docker-alfresco-all-amps-test/target/server-root/ROOT.war
[INFO] Copying alfresco-vti-bin-1.3.0.war to <Path to repository parent>/acs-packaging/docker-alfresco/test/docker-alfresco-all-amps-test/target/vti-bin/_vti_bin.war
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:copy (copy-resources-amps) @ content-services-docker-all-amps-test ---
[INFO] Configured Artifact: org.alfresco:alfresco-share-services:6.2.0:amp
[INFO] Configured Artifact: org.alfresco.aos-module:alfresco-aos-module:1.3.0:amp
[INFO] Configured Artifact: org.alfresco.integrations:alfresco-googledocs-repo:3.1.0:amp
[WARNING] The POM for org.alfresco.integrations:alfresco-googledocs-repo:amp:3.1.0 is missing, no dependency information available
[INFO] Configured Artifact: org.alfresco.integrations:alfresco-googledocs-share:3.1.0:amp
[WARNING] The POM for org.alfresco.integrations:alfresco-googledocs-share:amp:3.1.0 is missing, no dependency information available
[INFO] Configured Artifact: org.alfresco.integrations:alfresco-s3-connector:3.0.0:amp
[INFO] Configured Artifact: org.alfresco:alfresco-ai-repo:1.1.1.1:amp
[INFO] Configured Artifact: org.alfresco:alfresco-ai-share:1.1.1.1:amp
[INFO] Configured Artifact: org.alfresco:alfresco-glacier-connector-repo:2.0.0:amp
[INFO] Configured Artifact: org.alfresco.integrations:alfresco-azure-connector:1.0:amp
[INFO] Configured Artifact: org.alfresco:alfresco-centera-connector:2.2.1:amp
[INFO] Configured Artifact: org.alfresco.integrations:alfresco-content-connector-for-salesforce-repo:2.1.0.1:amp
[INFO] Configured Artifact: org.alfresco.integrations:alfresco-content-connector-for-salesforce-share:2.1.0.1:amp
[INFO] Configured Artifact: org.alfresco.module.KofaxAddon:kofaxaddon:2.0.0:amp
[WARNING] The POM for org.alfresco.module.KofaxAddon:kofaxaddon:amp:2.0.0 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.721 s]
[INFO] Alfresco Content Services WAR ...................... SUCCESS [ 21.421 s]
[INFO] Alfresco Content Services Distribution zip ......... SUCCESS [ 37.849 s]
[INFO] Alfresco Content Services Docker Image Builder ..... SUCCESS [  4.892 s]
[INFO] Alfresco Content Services Docker Image Builder for AWS SUCCESS [  9.621 s]
[INFO] Alfresco Content and Share Services with Amps Docker Image Builder FAILURE [ 27.768 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:42 min
[INFO] Finished at: 2019-12-18T16:29:27+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy (copy-resources-amps) on project content-services-docker-all-amps-test: Unable to find/resolve artifact.: Failure to find org.alfresco.module.KofaxAddon:kofaxaddon:amp:2.0.0 in http://artifacts.alfresco.com/nexus/content/groups/private/ was cached in the local repository, resolution will not be reattempted until the update interval of alfresco-private-repository 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 <args> -rf :content-services-docker-all-amps-test

There may be a KofaxAddon module only in internal-repository.

silverskyvicto commented 4 years ago

How about this?

DavidRobinson8 commented 4 years ago

I think the problem here is that you do not have a license to access enterprise repositories. You could try acs-community-packaging

silverskyvicto commented 4 years ago

@DavidRobinson8 Thank you for comment.

I have an enterprise license but the build still fails. Now I get the following error.

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Alfresco Content Services Packaging 6.3.0-SNAPSHOT:
[INFO] 
[INFO] Alfresco Content Services Packaging ................ SUCCESS [  1.009 s]
[INFO] Alfresco Content Services WAR ...................... SUCCESS [14:56 min]
[INFO] Alfresco Content Services Distribution zip ......... SUCCESS [ 22.875 s]
[INFO] Alfresco Content Services Docker Image Builder ..... SUCCESS [ 34.737 s]
[INFO] Alfresco Content Services Docker Image Builder for AWS SUCCESS [ 19.392 s]
[INFO] Alfresco Content and Share Services with Amps Docker Image Builder FAILURE [02:12 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  18:27 min
[INFO] Finished at: 2020-01-21T11:01:31+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project content-services-docker-all-amps-test: Could not resolve dependencies for project org.alfresco:content-services-docker-all-amps-test:pom:6.3.0-SNAPSHOT: Could not find artifact org.alfresco.integrations:alfresco-googledocs-enterprise-config:jar:1.0.0 in alfresco-private-repository (https://artifacts.alfresco.com/nexus/content/groups/private) -> [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-docker-all-amps-test

It seems to have failed because there is no package called alfresco-googledocs-enterprise-config, but I could not find this package in Alfresco's private repository. Apparently it looks like a package in an internal repository accessible only to Alfresco employees.

toonconvents-coupa commented 4 years ago

I have the same problem. I have a license and an enterprise login for the Alfresco Nexus. This artifact doesn't exist on the Alfresco Nexus...

ariksidney commented 4 years ago

I have the same issue, we are enterprise customers and have access to the maven repo, but alfresco-googledocs-enterprise-config:jar:1.0.1 does not exist. Will this be uploaded at some point? We need to build our own images because we're using an Oracle DB. Thanks.

thmor commented 4 years ago

I have the issue. It's not possible to build docker image due to missing dependency Could not resolve dependencies for project org.alfresco:content-services-docker:pom:6.2.2.2: Failure to find org.alfresco.integrations:alfresco-googledocs-enterprise-config:jar:1.0.1

Thanks