I recently run into multiple problems while trying to compile OpenClinica and Designer because my java installation did not trust the SSL certificate of the https://dev.openclinica.com website. This is probably happening because the CA who issued the OpenClinica certificate (GoDaddy) recently had to change their signing key and that new key is not inside the Java keystore.
A solution, for command line compilation using maven, was to add the arguments "-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true" to the standard mvn command "mvn clean install -Dmaven.test.skip=true"
A system wide solution, if you are allowed to update your local Jave keystore, is to add the certificate from the https://dev.openclinica.com website to the keystore. This way all communications (including maven and m2e) between your local java and the https://dev.openclinica.com website will be trusted. You can find the details in the attached pdf file.