Hi,
I would like to build CAS from source so that I can add some additional
debugging to troubleshoot an issue with the pac4j SAML2 client support
for version 5.2.x.
I did
git clone g...@github.com:apereo/cas.git cas-server
cd cas-server
git checkout 5.2.x
./gradlew war --parallel -x test -x javadoc -x check
The build completed successfully.
I was then able to do
sudo cp \
./webapp/cas-server-webapp/build/libs/cas-server-webapp-5.2.4-SNAPSHOT.war \
/var/lib/tomcat8/webapps/cas.war
restart Tomcat 8.5
and see the CAS server start up and access /cas/login.
I need, however, to add the module for pac4j support and for the JSON
service registry.
I see on this page
https://apereo.github.io/cas/developer/Build-Process-5X.html
the text
"To test the functionality provided by a given CAS module, execute the
following steps:
Add the module reference to the build script (i.e. build.gradle) of web
application you intend to run (i.e Web App, Management Web App, etc)"
and the example
implementation project(":support:cas-server-support-modulename")
I did add the line
implementation project(":support:cas-server-support-json-service-registry")
to the file
webapp/build.gradle
but when I copied over the war file and restarted Tomcat the configured
JSON service registry was not recognized.
What step am I missing to add the JSON service registry support to the
war file I build from source?
Thanks,
Scott K