Just a guess from the file name. is that a test logback configuration? if that is the case you may want to put it in src/test/resources instead.
On Fri, Feb 17, 2012 at 12:36 PM, David Hoffer <[email protected]> wrote: > Where is logback-test.xml in your directory structure relative to the pom? > > -Dave > > On Fri, Feb 17, 2012 at 11:07 AM, Greg Thomas <[email protected]> > wrote: > > On 17 February 2012 17:52, David Hoffer <[email protected]> wrote: > >> Or am I missing how to exclude from war? > > > > I'm excluding a logback-test.xml file from the WAR using the directive > > > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-war-plugin</artifactId> > > <version>2.2</version> > > <configuration> > > <packagingExcludes>**/logback-test.xml</packagingExcludes> > > </configuration> > > </plugin> > > > > And that seems to work just fine ... > > > > Greg > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Those who do not understand Unix are condemned to reinvent it, poorly. Any sufficiently recent Microsoft OS contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Unix.
