I suggest you to use the latest version:  5.3.16, or 6.3.3.

Ray Bon在 2021年6月11日星期五上午12:15:43 [UTC+8]寫道:

> Arti,
>
> Is this a new deploy?
>
> The 5 version is no longer supported. If there are problems with 
> downloading libraries from a 'non standard' repo, you may be able to find 
> them somewhere else. (duo-client-0.2.2 
> <https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom>
> )
>
> Best option is to upgrade.
>
> Ray
>
> On Wed, 2021-06-09 at 23:27 -0700, arti wavale wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information. 
>
>
>
> Hello,
>
> I have deploy  CAS-5.2.6 version on ubuntu 18. but when added duo security 
> MFA related dependencies in pom.xml file
>
> <dependency> 
>     <groupId>org.apereo.cas</groupId> 
>    <artifactId>cas-server-support-duo</artifactId>
>    <version>${cas.version}</version> 
> </dependency>
>
> Added the following repositories to the WAR overlay:
>
> <repository> 
>       <id>duo-unicon</id> 
>       <url>https://dl.bintray.com/uniconiam/maven</url>
>  </repository>
>  <repository> 
>      <id>duo-jitpack</id>
>     <url>https://jitpack.io</url> 
>  </repository>
>
> When I tried to build CAS server using "./mvnw clean package" then 
> showing  below error
>
> -------------------------------------------------------
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building cas-overlay 1.0
> [INFO] 
> ------------------------------------------------------------------------
> Downloading from uniconiam: 
> https://dl.bintray.com/uniconiam/maven/com/nimbusds/lang-tag/maven-metadata.xml
> Downloading from duo-unicon: 
> https://dl.bintray.com/uniconiam/maven/com/nimbusds/lang-tag/maven-metadata.xml
> [WARNING] Could not transfer metadata 
> com.nimbusds:lang-tag/maven-metadata.xml from/to duo-unicon (
> https://dl.bintray.com/uniconiam/maven): Access denied to: 
> https://dl.bintray.com/uniconiam/maven/com/nimbusds/lang-tag/maven-metadata.xml
>  
> , ReasonPhrase:Forbidden.
> [WARNING] Could not transfer metadata 
> com.nimbusds:lang-tag/maven-metadata.xml from/to uniconiam (
> https://dl.bintray.com/uniconiam/maven): Access denied to: 
> https://dl.bintray.com/uniconiam/maven/com/nimbusds/lang-tag/maven-metadata.xml
>  
> , ReasonPhrase:Forbidden.
> Downloading from duo-unicon: 
> https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
> Downloading from uniconiam: 
> https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 6.179 s
> [INFO] Finished at: 2021-06-09T23:12:26-07:00
> [INFO] Final Memory: 26M/71M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project cas-overlay: Could not resolve 
> dependencies for project org.apereo.cas:cas-overlay:war:1.0: Failed to 
> collect dependencies at org.apereo.cas:cas-server-support-duo:jar:5.2.6 -> 
> org.apereo.cas:cas-server-support-duo-core:jar:5.2.6 -> 
> net.unicon.iam:duo-client:jar:0.2.2: Failed to read artifact descriptor for 
> net.unicon.iam:duo-client:jar:0.2.2: Could not transfer artifact 
> net.unicon.iam:duo-client:pom:0.2.2 from/to duo-unicon (
> https://dl.bintray.com/uniconiam/maven): Access denied to: 
> https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
>  
> , ReasonPhrase:Forbidden. -> [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
> -----------------------------------------------------------------------
>
> Thanks and Regards
> Arti
>
>

-- 
- 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/955d11a0-073c-4388-85da-3a17c51de118n%40apereo.org.

Reply via email to