Alfresco / alfresco-sdk

The Alfresco In-Process SDK is based on Apache Maven, includes support for rapid and standard development, testing, packaging, versioning and release of your Alfresco integration and extension projects
Apache License 2.0
184 stars 113 forks source link

un.security.validator.ValidatorException: End user tried to act as a CA #442

Closed prvsousa closed 7 years ago

prvsousa commented 7 years ago

I'm trying to make: make clean install but I got the error:

[INFO] ------------------------------------------------------------------------
[INFO] Building Rapid Application Development Support 2.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/com/tradeshift/junit-remote/3/junit-remote-3.pom
Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/com/tradeshift/junit-remote/3/junit-remote-3.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Alfresco SDK ....................................... SUCCESS [  0.429 s]
[INFO] Rapid Application Development Support .............. FAILURE [  6.345 s]
[INFO] Maven Alfresco Plugin .............................. SKIPPED
[INFO] Maven Alfresco SDK - Parent POM .................... SKIPPED
[INFO] Maven Alfresco SDK - Repository AMP Archetype ...... SKIPPED
[INFO] Maven Alfresco SDK - Share AMP Archetype ........... SKIPPED
[INFO] Maven Alfresco SDK - All-in-One Archetype .......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.380 s
[INFO] Finished at: 2017-03-21T16:56:44+00:00
[INFO] Final Memory: 13M/45M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project alfresco-rad: Could not resolve dependencies for project org.alfresco.maven:alfresco-rad:jar:2.3.0-SNAPSHOT: Failed to collect dependencies at com.tradeshift:junit-remote:jar:3: Failed to read artifact descriptor for com.tradeshift:junit-remote:jar:3: Could not transfer artifact com.tradeshift:junit-remote:pom:3 from/to alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public): sun.security.validator.ValidatorException: End user tried to act as a CA -> [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 <goals> -rf :alfresco-rad

Can you help me?

ohej commented 7 years ago

This looks like an error with your maven setup. Are you using a proxy? Can you access https://artifacts.alfresco.com/nexus/content/groups/public in a browser?

Essentially what the error is saying is that it can't grab artifacts from https://artifacts.alfresco.com/nexus/content/groups/public because of what looks like SSL issues. I'm not seeing these locally

prvsousa commented 7 years ago

Yes I can access in the browser. You know what type of problem can I have in maven?

ohej commented 7 years ago

I haven't seen this kind of error before. Are you using any form of proxy in your maven settings? Check ~/.m2/settings.xml. Also which version of Maven are you using?

This isn't an SDK issue but an issue with your local environment.

prvsousa commented 7 years ago

I forgot to say. I solve the problem with the version of maven 3.3.3. I had before the version 2.7.

Sorry for the delay in the response.

Thanks!

2017-03-24 10:53 GMT+00:00 Ole Hejlskov notifications@github.com:

I haven't seen this kind of error before. Are you using any form of proxy in your maven settings? Check ~/.m2/settings.xml. Also which version of Maven are you using?

This isn't an SDK issue but an issue with your local environment.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Alfresco/alfresco-sdk/issues/442#issuecomment-288991492, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ8WEn8v8gD3JZzXmq4ciLKkwwq_FCLXks5ro6CagaJpZM4MkG2z .

-- Patrícia Sousa

PhD Student Member: Competence Centre for Cyber Security and Privacy (C3P) Researcher: INESC-TEC / CRACS Phone: +351 220 402 985 <+351%2022%20040%202929> R.Campo Alegre,1021/1055 4169 - 007 Porto - Portugal

ohej commented 7 years ago

Ah, that makes sense. Closing the issue.