Cannot build an Alfresco SDK 4.2 project

cancel
Showing results for 
Search instead for 
Did you mean: 
boneill
Partner

Cannot build an Alfresco SDK 4.2 project

I have created a vanilla all-inone sdk 4.2 acs project for community version 7.0.0.  When I try to build it it is failing (see error below).  Is the SDK 4.2 pom for community broken.  

 

 Downloading from alfresco-public: https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/acs-community-packaging/7.0....
Downloading from alfresco-public-snapshots: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/alfresco/acs-community-pack...
Downloading from alfresco-private-repository: https://artifacts.alfresco.com/nexus/content/groups/private/org/alfresco/acs-community-packaging/7.0...
Downloading from central: https://repo.maven.apache.org/maven2/org/alfresco/acs-community-packaging/7.0.0/acs-community-packag...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.alfresco:acs-community-packagingSmiley Tongueom:7.0.0 from/to alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public): Transfer failed for https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/acs-community-packaging/7.0.... @ line 489, column 19
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @ line 250, column 17
[ERROR] 'dependencies.dependency.version' for org.apache.httpcomponents:httpclient:jar is missing. @ line 316, column 17
[ERROR] 'dependencies.dependency.version' for org.alfresco:alfresco-remote-api:jar is missing. @ line 352, column 17
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project au.com.ajg:ajg-broking:1.0-SNAPSHOT (/home/seedim/work/ajg-broking/pom.xml) has 4 errors
[ERROR] Non-resolvable import POM: Could not transfer artifact org.alfresco:acs-community-packagingSmiley Tongueom:7.0.0 from/to alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public): Transfer failed for https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/acs-community-packaging/7.0.... @ line 489, column 19: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 2]
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @ line 250, column 17
[ERROR] 'dependencies.dependency.version' for org.apache.httpcomponents:httpclient:jar is missing. @ line 316, column 17
[ERROR] 'dependencies.dependency.version' for org.alfresco:alfresco-remote-api:jar is missing. @ line 352, column 17
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
ajg-broking-acs-volume
ajg-broking-db-volume
ajg-broking-ass-volume
ERROR: .FileNotFoundError: [Errno 2] No such file or directory: '/home/seedim/work/ajg-broking/target/classes/docker/docker-compose.yml'
ERROR: .FileNotFoundError: [Errno 2] No such file or directory: '/home/seedim/work/ajg-broking/target/classes/docker/docker-compose.yml'

1 Reply
afaust
Master

Re: Cannot build an Alfresco SDK 4.2 project

Unfortunately, the SSL certificate for https://artifacts.alfresco.com expired on Saturday and as a result, dependencies / plugins currently cannot be resolved, resulting in your build failure. Hopefully Alfresco / Hyland is able to fix this soon.