I removed that line and everything compiled fine. However, the test was not executed upon launching
mvn test The test is in my src/main/test directory. Where else should it be? I have nothing in my src/main/java directory. Below is the output of running the above command. - Dave davea-mbp2:infinitiusa_leads_testing davea$ mvn test [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for infinitiusa_leads_testing:infinitiusa_leads_testing:jar:1.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 29, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building infinitiusa_leads_testing 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ infinitiusa_leads_testing --- [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/davea/Documents/workspace-sts-2.6.0.SR1/infinitiusa_leads_testing/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ infinitiusa_leads_testing --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ infinitiusa_leads_testing --- [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/davea/Documents/workspace-sts-2.6.0.SR1/infinitiusa_leads_testing/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ infinitiusa_leads_testing --- [WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platform dependent! [INFO] Compiling 1 source file to /Users/davea/Documents/workspace-sts-2.6.0.SR1/infinitiusa_leads_testing/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ infinitiusa_leads_testing --- [INFO] Surefire report directory: /Users/davea/Documents/workspace-sts-2.6.0.SR1/infinitiusa_leads_testing/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- There are no tests to run. Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.397s [INFO] Finished at: Tue May 10 08:13:20 CDT 2011 [INFO] Final Memory: 12M/81M [INFO] ------------------------------------------------------------------------ -- View this message in context: http://maven.40175.n5.nabble.com/Getting-compilation-errors-despite-including-the-correct-repo-tp4382157p4384429.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org