AnsweredAssumed Answered

Simple maven build fails

Question asked by pkasson on Jul 2, 2016
Latest reply on Nov 10, 2016 by jego
I have generated the all in one archetype and when doing a simple maven clean install, I get this:

[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]  
[ERROR]   The project org.kasstek:alfresco:1.0-SNAPSHOT (/Users/pkasson/dev/alfresco/alfresco/pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin org.alfresco.maven.plugin:alfresco-maven-plugin:2.2.0 or one of its dependencies could not be resolved: Failed to collect dependencies for org.alfresco.maven.plugin:alfresco-maven-plugin:jar:2.2.0 (): Failed to read artifact descriptor for org.alfresco:alfresco-mmt:jar:5.1.e: Could not transfer artifact org.alfresco:alfresco-mmt:pom:5.1.e from/to alfresco-plugin-public (https://artifacts.alfresco.com/nexus/content/groups/public): java.lang.RuntimeException: Could not generate DH keypair: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) -> [Help 2]
[ERROR]     Non-resolvable import POM: Could not transfer artifact org.alfresco:alfresco-platform-distribution:pom:5.1.e from/to alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public): java.lang.RuntimeException: Could not generate DH keypair @ line 69, column 25: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) -> [Help 3]
[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]

Thanks for any help in advance.

Outcomes