Hi Jennifer, When you first run "mvnw" it tries to download and install Maven for you. This seems to be a problem with that process; it's failing to download one of the Maven plug-ins.
I can think of a couple of reasons for this... one would be that it was just a transient thing with the Maven repo and it should work for you after waiting a little while, and another would be either you have an old, out-of-date version of Maven already installed, or are somehow using an old, out-of-date version of Java? --Dave -- DAVID A. CURRY, CISSP *DIRECTOR OF INFORMATION SECURITY* INFORMATION TECHNOLOGY 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 +1 212 229-5300 x4728 • [email protected] [image: The New School] On Wed, May 2, 2018 at 9:44 AM, Jennifer LaVoie <[email protected]> wrote: > I am following this amazing document > > https://dacurry-tns.github.io/deploying-apereo-cas/ > introduction_overview.html (thank you so much for this) > > But I am hitting a snag here > > https://dacurry-tns.github.io/deploying-apereo-cas/building_ > server_ldap_authentication_overview.html > > I have added the correct lines to the pom.xml, but when I run mvnm clean > package, I get the following error > > > [INFO] Scanning for projects... > [INFO] > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Building cas-overlay 1.0 > [INFO] ------------------------------------------------------------ > ------------ > Downloading from central: https://repo.maven.apache.org/ > maven2/org/apache/maven/plugins/maven-clean-plugin/2. > 5/maven-clean-plugin-2.5.pom > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 0.820 s > [INFO] Finished at: 2018-05-02T09:40:12-04:00 > [INFO] Final Memory: 9M/208M > [INFO] ------------------------------------------------------------ > ------------ > [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of > its dependencies could not be resolved: Failed to read artifact descriptor > for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not > transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 > from/to central (https://repo.maven.apache.org/maven2): > java.lang.RuntimeException: Unexpected error: java.security. > InvalidAlgorithmParameterException: the trustAnchors parameter must be > non-empty -> [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/ > PluginResolutionException > > > I do have a self signed cert in my jre/lib/security/cacerts, so I am not > sure I understand the error. > > Any help or advice would be appreciated > > Jen > > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/a/ > apereo.org/d/msgid/cas-user/bb74c4d6-c426-4915-808d- > 472d25dae8ce%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/bb74c4d6-c426-4915-808d-472d25dae8ce%40apereo.org?utm_medium=email&utm_source=footer> > . > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAOMona5hwREyTs729Cix70wHcHbn%2BPnLCc3NnQ5Mw0zMg%40mail.gmail.com.
