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-mmtom: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-distributionom: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]
Please check your Java version. It looks like there is a certificate validation error when getting artifacts from the Alfresco repository, which can be due to limitations of an older Java version. For Alfresco 5.1, you should use Java 8.