I think I figured this out after a bunch of searching. For anyone else trying to solve this in the future, put the following in your pom.xml in maven-hightide-plugin's config section:<div><br></div><div><div><br></div>
<div> <systemProperties> </div><div> <systemProperty> </div><div> <name>logback.configurationFile</name> </div><div> <value>./src/main/config/logback.xml</value> </div>
<div> </systemProperty> </div><div> </systemProperties> </div><div><br></div><div>I found that here:</div><div><br></div><div><a href="http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin">http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin</a></div>
<br><div class="gmail_quote">On Mon, Jul 13, 2009 at 2:54 PM, Brian Moschel <span dir="ltr"><<a href="mailto:brian.moschel@gmail.com">brian.moschel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hey guys,<div><br></div><div>I'm trying to specify my logback.xml location with no luck, and no error or info messages to help guide me. I have a Jetty app using Maven for config/startup. In my jetty-web.xml I have the following:</div>
<div><div><br></div><div><Call name="addHandler"></div><div><span style="white-space:pre"> </span><Arg></div><div> <span style="white-space:pre"> </span><New class="org.mortbay.jetty.handler.RequestLogHandler"></div>
<div> <span style="white-space:pre"> </span><Set name="requestLog"></div><div> <span style="white-space:pre"> </span><New id="requestLogImpl" class="ch.qos.logback.access.jetty.RequestLogImpl"></div>
<div> <span style="white-space:pre"> </span><Set name="fileName">${basedir}/src/main/config/logback.xml</Set></div><div> <span style="white-space:pre"> </span></New></div>
<div> <span style="white-space:pre"> </span></Set></div><div> <span style="white-space:pre"> </span></New></div><div><span style="white-space:pre"> </span></Arg></div>
<div></Call></div><div></Configure></div><div><br></div><div>But this logback.xml is not being loaded, its using the default location of src/webapp/WEB-INF/classes/logback.xml. If I remove that file, logback doesn't start. Any ideas?</div>
<div><br></div><div>Thanks,</div><div>Brian</div></div>
</blockquote></div><br></div>