hi mavens, i'm new to maven project and after reviewing several tutorial, i found out it's a great tool for developer to weave into a project. however, when i learn to see how it gets to work (from example theserverside.com provides - http://www.theserverside.com/articles/article.jsp?l=MavenMagic). i found out seemly it always try to get repository from remote through network with exception <[ERROR] java.net.ConnectException: Connection timed out: connect>.
how to avoid that? or what command i need to type in order to compile code correctly (i type the command with "maven build-all"). for after review its source, it only contains some simple java file that needed to be compiled. the maven version is 1.0-beta-7 i appreciate any suggestions. below is the maven.xml and project.xml <?xml version="1.0"?> <project default="foobar:build-all" xmlns:j="jelly:core" xmlns:maven="jelly:maven"> <goal name="foobar:build-all"> <maven:reactor basedir="${basedir}" includes="*/project.xml" goals="foobar-dist" banner="Building Foobar" ignoreFailures="false"/> </goal> </project> -------------- <?xml version="1.0"?> <project> <pomVersion>3</pomVersion> <id>foobar-online</id> <groupId>Foobar-Travels</groupId> <currentVersion>2.0</currentVersion> <name>Foobar Online Project</name> <!-- ################################################################ --> <!-- Project management section --> <!-- ################################################################ --> <organization> <name>Foobar Travels Inc.</name> <url>http://www.foobartravels.com</url> <logo>http://foobartravels.com/images/logo.gif</logo> </organization> <inceptionYear>2003</inceptionYear> <package>foobar.*</package> <logo>http://foobartravels.com/images/projectlogo.gif</logo> <description>Foobar Online is Project to webify Foobar Travels</description> <shortDescription>Foobar Online is Project to webify Foobar Travels</shortDescription> <url/> <issueTrackingUrl>http://bugzilla.foobartravels.com</issueTrackingUrl> <siteAddress>www.foobaronline.com</siteAddress> <siteDirectory/> <distributionDirectory>/foobar/dist/${pom.artifactId}/</distributionDirectory> <!-- <repository> <connection>scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:maven</connection> <url>http://cvs.apache.org/viewcvs/maven/</url> </repository> --> <versions/> <mailingLists/> <developers> <developer> <name>Srikanth Shenoy</name> <id>shenoy</id> <email>[EMAIL PROTECTED]</email> <organization>Objectseek</organization> <roles> <role>Java Developer</role> </roles> </developer> </developers> <!-- ################################################################ --> <!-- Project dependency section --> <!-- ################################################################ --> <dependencies/> <!-- ################################################################ --> <!-- Project build and reports section --> <!-- ################################################################ --> <build> <nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress> <sourceDirectory>${basedir}/src/java</sourceDirectory> <unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory> <unitTest> <includes> <include>**/Test*.java</include> </includes> <excludes> <exclude>**/*Test*All.java</exclude> </excludes> </unitTest> <resources/> <!-- (OPTIONAL) Resources packaged inside the JAR file. --> </build> <reports> <report>maven-checkstyle-plugin</report> </reports> <reports> <report>maven-changes-plugin</report> <report>maven-jdepend-plugin</report> <report>maven-checkstyle-plugin</report> <report>maven-pmd-plugin</report> <report>maven-junit-report-plugin</report> <report>maven-clover-plugin</report> <report>maven-changelog-plugin</report> <report>maven-file-activity-plugin</report> <report>maven-developer-activity-plugin</report> <report>maven-file-activity-plugin</report> <report>maven-license-plugin</report> <report>maven-linkcheck-plugin</report> <report>maven-jxr-plugin</report> </reports> </project> ----------------------------------------------------------------- 每天都 Yahoo!奇摩 海的顏色、風的氣息、愛你的溫度,盡在信紙底圖 http://tw.promo.yahoo.com/mail_premium/stationery.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]