Just a word of caution, when you use a Maven overlay and are including other projects (cas addons etc), you may need to do some cleanup on the libs you end up with in the CAS war.
If you look at the Unicon example overlay pom.xml file at - https://github.com/Unicon/unicon-cas-overlay/blob/master/pom.xml you will see a large set of excludes. When you have a number of other included projects, not all the included jar versions will be the same and you can easily end up with any number of same project jars with different versions. A lot of the time, you won't even notice, but occasionally the classloader will get the wrong version of a jar loaded first and CAS will fail to startup. Also, it is not in any way intuitive to determine which version you want. You can get compatibility problems at compile/build time if you simply exclude all the oldest versions. Also, there is a note in our pom that you shouldn't just blindly use our list. Our pom is setup with a number of common addons we prefer to use, but if you aren't using exactly our overlay, excluding that exact list might mean excluding the only copy of a jar that you need. You should build your project and then check the libs in the war directory before you start excluding files. On Wed, Jul 2, 2014 at 9:04 AM, Daniel Ellentuck <[email protected]> wrote: > Hi Alex, > > Echoing what John Gasper said, I did this upgrade a while ago and found > the process to be pretty straightforward. Assuming you use a maven overlay > or equivalent, the tasks are: merge your overlay with the corresponding > resources in the new base version to create an updated overlay; change the > CAS version in the pom; and let maven do its thing. It might be a good idea > to start off by reviewing the contents of your overlay and reminding > yourself why you made those changes. Many of the local customizations at my > site were focused on the login webflow, which had also changed quite a bit > between those 2 versions, so I spent most of my time changing > login-webflow.xml and its references. > > Dan Ellentuck > > > On Tuesday, July 1, 2014, Alex Milyavskiy <[email protected]> > wrote: > >> Hi everybody, >> >> >> >> Anyone out there has any advice or instructions how to upgrade CAS >> version 3.4.11 to 3.5.2 ? >> >> >> >> Thanks, >> >> Alex >> >> -- >> 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 > > -- Charles Hasegawa www.unicon.net -- 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
