According to the Analyzer the only thing that should be including log4j is
the CAS Parent pom.  I'm not sure how to exclude things from the parent pom.

I'll open a JIRA issue to make the scope of the log4j to be test in the
parent pom and then an explicit inclusion in the cas-server-webapp to
hopefully make it easier to add/remove.

-Scott



On 10/8/07, Scott Battaglia <[EMAIL PROTECTED]> wrote:
>
> Mike,
>
> You are correct to use the Maven2 exclusions to the cas-server-webapp.
>
> You can try using a tool such as this:
> http://www.jfrog.org/sites/dep-analyzer/latest/
>
> to locate the dependency.  Its almost midnight or I'd run it for you ;-).
> If I get a chance early tomorrow I'll try and run it (though I can't
> guarantee I will).
>
> -Scott
>
> On 10/8/07, Mike Kennedy <[EMAIL PROTECTED]> wrote:
>
> >  Hello,
> >
> >
> > Perhaps someone can steer me in the right direction. I'm trying to get
> > cas to use JBoss log4j rather than its own. I've removed the log4j listener
> > from web.xml and removed log4j.properties from the cas webapp. I also
> > added an appender/category filter to
> > $JBOSS_HOME/server/default/conf/log4j.xml for CAS. It seems now that the
> > problems I'm having are due to the fact that when maven builds cas.warit 
> > includes a
> > log4j.jar in the build creating a conflict. I want CAS to use the
> > log4j.jar that comes with JBoss.
> >
> >
> >
> > I've tried adding exclusions for this throughout the pom.xml in the
> > cas-server-webapp module to no avail. Can anyone tell me what dependency is
> > causing log4j to be added? Am I even going about this in the right way?
> >
> >
> >
> > Mike
> >
> > _______________________________________________
> > Yale CAS mailing list
> > [email protected]
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
>
>
> --
> -Scott Battaglia
>
> LinkedIn: http://www.linkedin.com/in/scottbattaglia




-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to