Missing Artifact: cas-server-core-configuration-metadata-repository in version 7.2.0 - upgrading from 7.2.0-RC5

395 views
Skip to first unread message

Alexis G.

unread,
Mar 28, 2025, 10:11:25 AM3/28/25
to CAS Community

Hello,


I am currently upgrading my Apereo CAS instance from version 7.2.0-RC5 to the stable release 7.2.0. During this process, I encountered an issue where the artifact cas-server-core-configuration-metadata-repository appears to be missing for version 7.2.0.


The build fails with the following error:


FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'cas'. > Could not resolve all artifacts for configuration ':classpath'. > Could not find org.apereo.cas:cas-server-core-configuration-metadata-repository:7.2.0. Searched in the following locations: - file:/root/.m2/repository/org/apereo/cas/cas-server-core-configuration-metadata-repository/7.2.0/cas-server-core-configuration-metadata-repository-7.2.0.pom - https://repo.maven.apache.org/maven2/org/apereo/cas/cas-server-core-configuration-metadata-repository/7.2.0/cas-server-core-configuration-metadata-repository-7.2.0.pom - https://plugins.gradle.org/m2/org/apereo/cas/cas-server-core-configuration-metadata-repository/7.2.0/cas-server-core-configuration-metadata-repository-7.2.0.pom - https://repo.spring.io/milestone/org/apereo/cas/cas-server-core-configuration-metadata-repository/7.2.0/cas-server-core-configuration-metadata-repository-7.2.0.pom Required by: root project :

After investigating, I noticed that the artifact cas-server-core-configuration-metadata-repository is available in version 7.2.0-RC5 but not in version 7.2.0


Steps I have taken:
  1. Verified the availability of the artifact in Maven Central and other repositories.

    • The artifact is missing for version 7.2.0 but exists for 7.2.0-RC5.

    • Checked repositories such as Maven Central, Spring Milestone, and OSS Sonatype.

  2. Updated my Gradle configuration to include additional repositories (e.g., Spring Milestone, OSS Sonatype) to ensure it wasn't a repository issue.

  3. Cleared the Gradle cache and refreshed dependencies using:

    bash
    ./gradlew clean build --refresh-dependencies
  4. Verified that my gradle.properties file correctly specifies:


    cas.version=7.2.0

Despite these efforts, the issue persists, and it seems that this particular artifact has not been published for version 7.2.0.

Could you confirm whether this artifact is expected to be available in version 7.2.0, or if there is an alternative solution to proceed with the upgrade?

Thank you for your assistance!
Best regards,
Alexis.

Jérôme Rautureau

unread,
May 8, 2025, 2:51:51 PM5/8/25
to CAS Community
Hello everyone

Still stuck on this this the 7.2.2 version.

Have you some news about that ?

Jérôme Rautureau

--
- Website: https://apereo.github.io/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 cas-user+u...@apereo.org.
To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/12f978f8-24ba-4996-acd5-b60ccba65311n%40apereo.org.

Alexis Grosjean

unread,
May 9, 2025, 3:49:45 AM5/9/25
to cas-...@apereo.org
Hey Jérôme,

Right now, I'm running 7.2.1 and I forgot what I've done...
I think i've used CAS Initializr to retrieve the latest version, put back my cas.properties and my services and enjoy but i'm not sure... I worked on so many workarounds that I've forgotten some...
If I remember correctly, I think it was a bad combo of versions in my Gradle configuration that CAS Initializr repaired.
Sorry to not be able to be more precise.

Best regards,
______________
Alexis Grosjean

Ingénieur logiciel
Service des Espaces Numériques
Direction des ressources informatiques (DRI)
Charlotte Delbo (anc. BSL) bureau 309
Tél. 01 40 97 70 43
200 av. de la République - 92001 Nanterre Cedex
dri.parisnanterre.fr




You received this message because you are subscribed to a topic in the Google Groups "CAS Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/apereo.org/d/topic/cas-user/BHBF_fPQnmI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cas-user+u...@apereo.org.
To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2BM02YtCWqhb7j%2BPgTW6zGFfAhzzfKSbFyvKHpC5uJHxGndtQw%40mail.gmail.com.

Jérôme Rautureau

unread,
May 9, 2025, 10:53:13 PM5/9/25
to cas-...@apereo.org
Hi Alexis and thank you.

I think it's a gradle issue too but i tried to get back from a fresh CAS Initializr but not luck.

I have migrated my gittalb CI/CD on a 8.13 gradle version (like CAS Initializr). The real issue comes from the fact the cas-server-core-configuration-metadata-repository-7.2.0.pom has been relocated to org.apereo.cas/cas-server-support-configuration-metadata-repository

and i just fix it by re-downloading the gradle/tasks.gradle file which has the same relocating artifact problem than the build.gradle file. 

For people who would have the same issue, please check build.gradle file AND gradle/tasks.gradle file too.



--
Jérôme Rautureau

Alexis Grosjean

unread,
May 12, 2025, 4:12:47 AM5/12/25
to cas-...@apereo.org, jraut...@gmail.com
Hi again Jérôme, you're welcome !

I just checked between my build.gradle and the cas initializr one and unfortunately, I didn't see anything that could make it work...
I don't remember every step I took but i really think it was the fact of restarting with a fresh project that made it work (and right now, I'm modifying files and I still build with "./gradlew clean copyCasConfiguration build".

I'm glad that you found a workaround and we'll see if this is only a bug for us both or if the devs find something and fix it. :)

Have a nice day !
______________
Alexis Grosjean

Ingénieur logiciel
Service des Espaces Numériques
Direction des ressources informatiques (DRI)
Charlotte Delbo (anc. BSL) bureau 309
Tél. 01 40 97 70 43
200 av. de la République - 92001 Nanterre Cedex
dri.parisnanterre.fr



Reply all
Reply to author
Forward
0 new messages