Perhaps something got corrupted. You could try removing the Maven cache:

rm -rf $HOME/.m2

and then re-run "./mvnw clean package" and let it re-download everything.

--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 2:09 PM, Jennifer LaVoie <[email protected]>
wrote:

> Hi Dave
>
> thanks for your insight.  I am not sure what is happening...my maven is
> 3.5.2 and it worked a few days ago to install cas...This is very
> frustrating...I really appreciate this community
>
> On Wednesday, May 2, 2018 at 12:49:27 PM UTC-4, David Curry wrote:
>>
>> 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
>> <https://maps.google.com/?q=71+FIFTH+AVE.,+9TH+FL.,+NEW+YORK,+NY+10003&entry=gmail&source=g>
>> +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/introduct
>>> ion_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/conflu
>>> ence/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/ap
>>> ereo.org/d/msgid/cas-user/bb74c4d6-c426-4915-808d-472d25dae8
>>> ce%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/ae0ee746-b039-4848-8e45-
> 5dd867624c18%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/ae0ee746-b039-4848-8e45-5dd867624c18%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%2Bd9XAO67B9m3xyHG_2JyRf30P%2BbLzHw6weTPvJV4Rkam7xNZQ%40mail.gmail.com.

Reply via email to