CAS 5.0.5 Build error when using Acceptable Use Policy

182 views
Skip to first unread message

Tj Krause

unread,
Apr 25, 2017, 5:32:51 PM4/25/17
to CAS Community
Hi, we have an issue which looks to be a bug. Has anyone else had this?

When building CAS with Acceptable Use Policy LDAP support it hangs up on downloading the dependencies. We are using the following code in our Maven pom.xml

<dependency>
  <groupId>org.apereo.cas</groupId>
  <artifactId>cas-server-support-actions-aup-webflow</artifactId>
  <version>${cas.version}</version>
</dependency>

Log file:

[INFO] Scanning for projects...
[INFO]
[INFO] Using the MultiThreadedBuilder implementation with a thread count of 5
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cas-overlay 1.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apereo.cas:cas-server-webapp-actions-aup-ldap:jar:5.0.5 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.536 s (Wall Clock)
[INFO] Finished at: 2017-04-25T12:11:04-07:00
[INFO] Final Memory: 28M/1489M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cas-overlay: Could not resolve dependencies for project org.apereo.cas:cas-overlay:war:1.0: Could not find artifact org.apereo.cas:cas-server-webapp-actions-aup-ldap:jar:5.0.5 in sonatype-releases (http://oss.sonatype.org/content/repositories/releases/) -> [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:

Tj Krause

unread,
Apr 25, 2017, 5:33:51 PM4/25/17
to CAS Community
As a follow up, we checked all of the default repositories which only have the artifact compiled for 5.0.0.M1 of CAS. Using this version obviously had issues due to old dependencies.

Duane Booher

unread,
May 30, 2017, 8:35:17 AM5/30/17
to CAS Community
I also had this same problem. I was able to work around this (for now) by building https://github.com/apereo/cas.git w/ tag v5.0.5 and then pull in cas-server-support-actions-aup-webflow into the cas overlay using mvn a dependency with scope=system. This got me to the next step of testing with my ldap attribute.


On Tuesday, April 25, 2017 at 2:32:51 PM UTC-7, Tj Krause wrote:

Duane Booher

unread,
May 30, 2017, 8:42:39 AM5/30/17
to CAS Community
Correction, in my case I was using cas-server-support-actions-aup-ldap which had the same maven dependency problem as cas-server-support-actions-aup-webflow.  
Reply all
Reply to author
Forward
0 new messages