, January 20, 2006 5:49 AM
To: users@maven.apache.org
Subject: Re: [m2] Where to place resources for unit tests?
I believed it too, but I have some problems with resources
retrievedusing classpath in a multiproject application and discovered
thatresources get added to the generated jar.
I searched
/classes, they don't get added to the generated jar.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 17, 2006 10:40 AM
To: users@maven.apache.org
Subject: [m2] Where to place resources for unit tests?
Hello,
I need some config files
@maven.apache.org
Subject: [m2] Where to place resources for unit tests?
Hello,
I need some config files/resources for unit test, so I place them
insrc/test/resources, but I don't want to include them in generated
jar.
The description of testResource element of pom.xml states
thatresources
] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 17, 2006 10:40 AM
To: users@maven.apache.org
Subject: [m2] Where to place resources for unit tests?
Hello,
I need some config files/resources for unit test, so I place them
insrc/test/resources, but I don't want to include them in generated
jar
Hello,
I need some config files/resources for unit test, so I place them
insrc/test/resources, but I don't want to include them in generated jar.
The description of testResource element of pom.xml states thatresources are
used to complete the jar or to run unit test.
How can use this
Hi David,
Try excluding them:
testResources
testResource
...
excludes/
/testResource
/testResources
HTH,
Henry
[EMAIL PROTECTED] wrote:
Hello,
I need some config files/resources for unit test, so I place them