thanks alot it worked for me. Wayne Fay wrote: > > Use "mvn install:install-file" to install those jar files in your > local repo cache, and specify -DgeneratePom=true to automatically > create a proper pom.xml file for each jar file when it is installed. > This will stop Maven from attempting to download the pom files. > > Wayne > > On 1/24/08, faisalloe <[EMAIL PROTECTED]> wrote: >> >> I am having J2EE maven enabled project. >> >> I have installed few jar files into maven repository manually, now >> problem >> is every time i compile my prodcut though these jar installed and >> available >> but it always try to download pom files from internet. >> Help me out how to prevent using downloading these files every time is >> there >> any parameter with mavn compile -any param which works. >> >> thanks in Advance >> >> >> >> Dproprietary >> [INFO] Scanning for projects... >> [INFO] >> ------------------------------------------------------------------------- >> --- >> [INFO] Building real-estate Maven Webapp >> [INFO] task-segment: [compile] >> [INFO] >> ------------------------------------------------------------------------- >> --- >> [INFO] [resources:resources] >> [INFO] Using default encoding to copy filtered resources. >> [WARNING] While downloading jstl:jstl:1.0 >> This artifact has been relocated to javax.servlet:jstl:1.0. >> >> >> Downloading: >> http://repo1.maven.org/maven2/com/facelets/jsf-facelets/1.1.11/jsf- >> facelets-1.1.11.pom >> Downloading: >> http://repo1.maven.org/maven2/com/el-api/el-api/1.0/el-api-1.0.pom >> Downloading: >> http://repo1.maven.org/maven2/com/el-ri/el-ri/1.0/el-ri-1.0.pom >> Downloading: >> http://repo1.maven.org/maven2/jasper-api/jasper-api-snap/2.0.4/jasp >> er-api-snap-2.0.4.pom >> Downloading: >> http://repo1.maven.org/maven2/com/mysql/mysql-connector/5.0.8/mysql >> -connector-5.0.8.pom >> [WARNING] While downloading itext:itext:1.3.1 >> This artifact has been relocated to com.lowagie:itext:1.3.1. >> >> >> [INFO] [compiler:compile] >> [INFO] Nothing to compile - all classes are up to date >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD SUCCESSFUL >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 5 seconds >> [INFO] Finished at: Fri Jan 25 10:03:34 PKT 2008 >> [INFO] Final Memory: 4M/7M >> [INFO] >> ------------------------------------------------------------------------ >> -- >> View this message in context: >> http://www.nabble.com/Mavn-compile-download-every-time-pom-files-tp15081116s177p15081116.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >
-- View this message in context: http://www.nabble.com/Mavn-compile-download-every-time-pom-files-tp15081116s177p15130937.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
