How to bypass the absence of this package on the JitPack repository?
Thanks.
Hello Petr,
Thank you for your assistance. To build the CAS project, I'm using My own Ansible playbook. I clone the 6.6 branch from the repository https://github.com/apereo/cas-overlay-template.git. Then, I simply make modifications as follows:
/**
* CAS dependencies and modules may be listed here.
*
* There is no need to specify the version number for each dependency
* since versions are all resolved and controlled by the dependency management
* plugin via the CAS bom.
**/
implementation "org.apereo.cas:cas-server-core-api-configuration-model"
implementation "org.apereo.cas:cas-server-webapp-init"
/** BEGIN ANSIBLE MANAGED BLOCK **/
implementation "org.apereo.cas:cas-server-support-x509-webflow"
implementation "org.apereo.cas:cas-server-support-token-tickets"
implementation "org.apereo.cas:cas-server-support-discovery-profile"
implementation "org.apereo.cas:cas-server-support-ldap"
implementation "org.apereo.cas:cas-server-support-json-service-registry"
implementation "org.apereo.cas:cas-server-support-oidc"
implementation "org.apereo.cas:cas-server-support-saml-sp-integrations"
implementation "org.apereo.cas:cas-server-support-oauth-webflow"
implementation "org.apereo.cas:cas-server-support-throttle"
implementation "org.apereo.cas:cas-server-support-saml-idp"
/** END ANSIBLE MANAGED BLOCK **/
In the same file, I Modify:
repositories {
maven { url 'https://jitpack.io' }
if (project.privateRepoUrl) {
maven {
url project.privateRepoUrl
credentials {
username = project.privateRepoUsername
password = System.env.PRIVATE_REPO_TOKEN
}
}
}
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/releases' }
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
mavenContent { snapshotsOnly() }
}
maven { url 'https://build.shibboleth.net/nexus/content/repositories/releases/' }
maven {
url "https://repo.spring.io/milestone"
mavenContent { releasesOnly() }
}
}
When I configure my Ansible playbook to install version 6.5, everything works perfectly. I initially thought it was a global issue, but it seems the problem is specific to my installation. I Will try without adding "maven { url 'https://jitpack.io' }".
Regards.