AnsweredAssumed Answered

Setting Up Dev-Environment with SDK2.1

Question asked by jogla on Jun 25, 2015
Latest reply on Jul 9, 2015 by jogla
Hello,
I made several trials to set up a development environment in order to follow the tutorials by Jeff Pott [ http://ecmarchitect.com/alfresco-developer-series ].
I always get stuck at the same Point.

In our company I am sitting behind a proxy/frewall. I managed to get through it by using a CNTLM-Service on my Computer.
As you see in the file [ https://docs.google.com/document/d/15uRRmT2kwjrkRrSOmAnvOyf8_41ehoxiw6IJA1KW-Xo/edit?usp=sharing (shortened logfile) / full file: see the attached textfile] at first all went well:
mvn –Version …OK.
mvn archetype:generate -Dfilter=org.alfresco:  …OK.

but when ist come to
mvn install
the download process gets stuck with several errors. Always at the same position.

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.alfresco.maven.plugin:alfresco-maven-plugin:2.1.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.alfresco.maven.plugin:alfresco-maven-plugin:jar:2.1.0 -> org.alfresco:alfresco-mmt:jar:5.0.d @
[ERROR] Unknown packaging: amp @ line 9, column 16



=> Can anyone see what the probelm is?
=> What's the best way to analyze?
=> Is there a way to download the whole package (with all dependencies)?

Best regards,
Joerg Glasauer

———–

ERRORS:


Downloading: http://oss.sonatype.org/content/groups/public/org/clojars/pmonks/spinner/0.2.0/spinner-0.2.0.pom
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/clojars/pmonks/spinner/0.2.0/spinner-0.2.0.pom
Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/clojars/pmonks/spinner/0.2.0/spinner-0.2.0.pom
Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/clojars/pmonks/spinner/0.2.0/spinner-0.2.0.pom
Downloading: https://repo.maven.apache.org/maven2/org/clojars/pmonks/spinner/0.2.0/spinner-0.2.0.pom
Downloading: http://clojars.org/repo/org/clojars/pmonks/spinner/0.2.0/spinner-0.2.0.pom
Downloaded: http://clojars.org/repo/org/clojars/pmonks/spinner/0.2.0/spinner-0.2.0.pom (4 KB at 9.4 KB/sec)
Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/alfresco-platform-distribution/5.0.d/alfresco-platform-distribution-5.0.d.pom
Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/alfresco/alfresco-platform-distribution/5.0.d/alfresco-platform-distribution-5.0.d.pom
Downloading: https://repo.maven.apache.org/maven2/org/alfresco/alfresco-platform-distribution/5.0.d/alfresco-platform-distribution-5.0.d.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.alfresco.maven.plugin:alfresco-maven-plugin:2.1.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.alfresco.maven.plugin:alfresco-maven-plugin:jar:2.1.0 -> org.alfresco:alfresco-mmt:jar:5.0.d @
[ERROR] Unknown packaging: amp @ line 9, column 16
[ERROR] Non-resolvable import POM: Could not transfer artifact org.alfresco:alfresco-platform-distribution:pom:5.0.d from/to alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 48, column 25
[ERROR] 'dependencies.dependency.version' for org.alfresco:alfresco-repository:jar is missing. @ line 62, column 21
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @ org.alfresco.maven:alfresco-sdk-parent:2.1.0, C:\Users\glasauerj\.m2\repository\org\alfresco\maven\alfresco-sdk-parent\2.1.0\alfresco-sdk-parent-2.1.0.pom, line 701, column 29 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project at.kabeg:kabeg-mvn-sdk21tutorial-repo:1.0-SNAPSHOT (C:\Daten\AlfSDK21TutorialHome\kabeg-mvn-sdk21tutorial-repo\pom.xml) has 5 errors
[ERROR]     Unresolveable build extension: Plugin org.alfresco.maven.plugin:alfresco-maven-plugin:2.1.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.alfresco.maven.plugin:alfresco-maven-plugin:jar:2.1.0 -> org.alfresco:alfresco-mmt:jar:5.0.d: Failed to read artifact descriptor for org.alfresco:alfresco-mmt:jar:5.0.d: Could not transfer artifact org.alfresco:alfresco-mmt:pom:5.0.d from/to sonatype-public (http://oss.sonatype.org/content/groups/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 2]
[ERROR]     Unknown packaging: amp @ line 9, column 16
[ERROR]     Non-resolvable import POM: Could not transfer artifact org.alfresco:alfresco-platform-distribution:pom:5.0.d from/to alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 48, column 25 -> [Help 3]
[ERROR]     'dependencies.dependency.version' for org.alfresco:alfresco-repository:jar is missing. @ line 62, column 21
[ERROR]     'dependencies.dependency.version' for junit:junit:jar is missing. @ org.alfresco.maven:alfresco-sdk-parent:2.1.0, C:\Users\glasauerj\.m2\repository\org\alfresco\maven\alfresco-sdk-parent\2.1.0\alfresco-sdk-parent-2.1.0.pom, line 701, column 29
[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/PluginManagerException
[ERROR] [Help 3] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Attachments

Outcomes