Btw, the repeated resources in POM was removed and problem persisted. It seems like the classpath is not been properly constructed. Has anyone had this issue before.
I am using Maven 1.0.2 Thanks Erick. -----Original Message----- From: Erick Dovale [mailto:[EMAIL PROTECTED] Sent: Thursday, June 30, 2005 12:50 PM To: Maven Users List Subject: Resources not being found by test plugin Hello there, I just mavenized a project and everything was fine until I added the targetPath to a resource directory to be in a different place. Before, the resources folder was been copied to the the test-class folder. I know want them to be copied to test-class/resources. The problem is that when I run the testes none of the resources is being found. Can any one shade any light on this? Thenks a lot. Erick. Project.xml file: (the problematic line is highligthed.) <?xml version="1.0" encoding="UTF-8"?> <project> <pomVersion>3</pomVersion> <artifactId>jeeves-common</artifactId> <name>Jeeves Common</name> <groupId>jeeves</groupId> <currentVersion>1.0</currentVersion> <inceptionYear>2005</inceptionYear> <logo>http://home.carosys.com/jeevescareserver/SiteImages/logo.gif</logo > <shortDescription>Common utilities and classes for the whole Jeeves Project</shortDescription> <repository /> <mailingLists> <mailingList> <name>${pom.name} Dev List</name> </mailingList> <mailingList> <name>${pom.name} User List</name> </mailingList> </mailingLists> <build> <sourceDirectory>source/javaSrc</sourceDirectory> <unitTestSourceDirectory>source/testSrc</unitTestSourceDirectory> <unitTest> <includes> <include>**/*Test.java</include> </includes> <resources> <resource> <directory>resources</directory> <filtering>false</filtering> <includes> <include>**/*</include> </includes> <targetPath>resources</targetPath> </resource> <resource> <directory>resources</directory> <filtering>false</filtering> <includes> <include>**/*</include> </includes> <targetPath>resources</targetPath> </resource> </resources> </unitTest> <resources> <resource> <directory>resources</directory> <targetPath>resources</targetPath> <filtering>false</filtering> <includes> <include>**/*</include> </includes> </resource> </resources> </build> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <type>jar</type> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.0.4</version> <type>jar</type> </dependency> <dependency> <groupId>jdom</groupId> <artifactId>jdom</artifactId> <version>1.0</version> <type>jar</type> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.8</version> <type>jar</type> </dependency> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>2.0.2</version> <type>jar</type> </dependency> <dependency> <groupId>commons-net</groupId> <artifactId>commons-net</artifactId> <version>1.4</version> <type>jar</type> </dependency> <dependency> <groupId>xmlParserAPIs</groupId> <artifactId>xmlParserAPIs</artifactId> <version>2.6.2</version> <type>jar</type> </dependency> <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.6.2</version> <type>jar</type> </dependency> <dependency> <groupId>xsdbeans</groupId> <artifactId>xsdbeans</artifactId> <version>T1.0</version> <type>jar</type> </dependency> </dependencies> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
