RE: [m2] Where to place resources for unit tests?

2006-01-23 Thread Jeff Lowe
, 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

Re: [m2] Where to place resources for unit tests?

2006-01-20 Thread david
/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

Re: [m2] Where to place resources for unit tests?

2006-01-20 Thread ZhiQiang He
@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

RE: [m2] Where to place resources for unit tests?

2006-01-18 Thread Jeff Lowe
] [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

[m2] Where to place resources for unit tests?

2006-01-17 Thread david
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

Re: [m2] Where to place resources for unit tests?

2006-01-17 Thread Henry Isidro
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