I'm getting the following error message when trying to build my web project : [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://repo1.maven.org/maven2/javax/j2ee/j2ee/1.3.0/j2ee-1.3.0.pom [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ---------------------------------------------------------------------------- [INFO] Error building POM (may not be this project's POM).
Project ID: javax.j2ee:j2ee Reason: Error getting POM for 'javax.j2ee:j2ee' from the repository: Error transferring file javax.j2ee:j2ee:pom:1.3.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] ---------------------------------------------------------------------------- [INFO] For more information, run Maven with the -e switch [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 11 seconds [INFO] Finished at: Wed Aug 16 16:12:13 SAST 2006 [INFO] Final Memory: 4M/7M [INFO] ---------------------------------------------------------------------------- $ The j2ee-1.3.0.jar file is present in /home/maven/.m2/repository/javax/j2ee/j2ee/1.3.0.Why is maven trying to download the POM from repo1.maven.org/maven2 when I have already installed it locally with the command "mvn install:install-file -Dfile=blah blah blah......" -- Jeff Mutonho GoogleTalk : ejbengine Skype : ejbengine Registered Linux user number 366042