But on the other hand, there has to be a better, less intrusive way of instrumenting CAS code as opposed to direct source modification - in theory, at lest.
D. > On Jan 14, 2015, at 1:54 PM, Dmitriy Kopylenko <[email protected]> wrote: > > You need to install the built CAS’ binaries into your local .m2 with “mvn > clean install”. Then in your overlay reference the snapshot version e.g. > 4.1.0-SNAPSHOT, and it will pull it from your local Maven .m2 cache. > > Cheers, > D. > >> On Jan 14, 2015, at 1:50 PM, Zac Harvey <[email protected] >> <mailto:[email protected]>> wrote: >> >> I'm aware that the "norm" is to use the Maven overlay plugin with CAS, and >> simply define files/settings that we want to override. >> >> But what if I want to tweak CAS code (add logging, metrics, etc.) and run it >> locally? I checked out the project from GitHub and ran mvn package. This >> created JARs and WARs in all the respective subprojects. So now I can tweak >> the code and build it. >> >> Now, let's say I have another project called mysso that uses CAS via Maven >> overlay. Typically, when I build mysso into a cas.war, it pulls CAS from >> Maven Central. How do I get mysso to pull CAS from my local CAS project or >> local Maven (m2) repo? This is the missing piece I need for tweaking CAS >> core code locally and then overlaying it with my local mysso project. >> -- >> You are currently subscribed to [email protected] >> <mailto:[email protected]> as: [email protected] >> <mailto:[email protected]> >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> <http://www.ja-sig.org/wiki/display/JSG/cas-user> > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
