But in that case wouldn't it be excluded in the compile phase too?
I'm looking for a way to include the resources for all uses (i.e.
compile phase) but just not package it in the war. E.g. as if they
have provided scope. That just gives me an idea...I might move those
resources to a new module an
On 18 February 2012 10:55, Greg Thomas wrote:
> On 18 February 2012 10:46, Greg Thomas wrote:
>> On 17 February 2012 18:36, David Hoffer wrote:
>>> Where is logback-test.xml in your directory structure relative to the pom?
>>
>> Currently for legacy reasons in src/main/webapp/WEB-INF/classes -
>
On 18 February 2012 10:46, Greg Thomas wrote:
> On 17 February 2012 18:36, David Hoffer wrote:
>> Where is logback-test.xml in your directory structure relative to the pom?
>
> Currently for legacy reasons in src/main/webapp/WEB-INF/classes -
> though I'm sure that we have tested it in src/main/r
On 17 February 2012 18:36, David Hoffer wrote:
> Where is logback-test.xml in your directory structure relative to the pom?
Currently for legacy reasons in src/main/webapp/WEB-INF/classes -
though I'm sure that we have tested it in src/main/resources.
On 17 February 2012 18:44, Sebastian Otaegui
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 wrote:
> Where is logback-test.xml in your directory structure relative to the pom?
>
> -Dave
>
> On F
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 wrote:
> On 17 February 2012 17:52, David Hoffer wrote:
>> Or am I missing how to exclude from war?
>
> I'm excluding a logback-test.xml file from the WAR using the dir
On 17 February 2012 17:52, David Hoffer wrote:
> Or am I missing how to exclude from war?
I'm excluding a logback-test.xml file from the WAR using the directive
org.apache.maven.plugins
maven-war-plugin
2.2
**/logback-test.xml
And that seems to work just fine .
I have several folders in src/main/resources that need to be available
during the build (compile phase) but that I do not want added to the
generated war. As far as I can tell the war plugin ignores requests
to exclude since they are in the standard resources folder (it seems
to only exclude if fr