after few retry, I still can't get my sample project
to work. So I try to download another version of the
maven from apache.org (its version:maven-1.0-rc1).
beside, I found out it seemly has different setting
from maven-1.0-beta-7 (previously installed),
resulting in another error, in which it states
"NoClassDefFoundError:com/werken/forehead/Forehead". 
What can I do, because I try to find werkz released
from http://werkz.codehaus.org/, yet none binary can
be found? 
Or is there any missing part I may ingore, which
causes such problem? because I think it takes too long
to build werkz from home grown (e.g., what else if I
found another dependencies missed when building
werkz??) I simply new to maven and want to test an
sample. Would anyone have better idea or would like to
tell me where there's resources?
I appreciate it, 
sincerely.

 --- [EMAIL PROTECTED] 的訊息:> Hi -
> 
> You need to have a local repository (created by
> setting $MAVEN_HOME and running
> $MAVEN_HOME/bin/install_repo.sh
> $HOME/.maven/repository, or something similar).
> 
> I have a dial-up connection, and I encountered
> exactly the same "java.net.ConnectException"
> that you did.  I solved the problem by connecting to
> my ISP and re-running the build.  All
> of the necessary .jar files were copied to my local
> repository, and the build completed
> successfully.  Moreover, I was able to do all
> subsequent builds completely off-line.
> 
> Another option that might be of use to you is the
> "maven -o" (for "offline") command parameter.
> 
> Hope that helps .. PSM
> 
> 
> -----Original Message-----
> From:     <[EMAIL PROTECTED]>
> Sent: Jan 28, 2004 7:42 PM
> To: [EMAIL PROTECTED]
> Subject: a newbie question 
> 
> 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>
> 
=== message truncated === 

-----------------------------------------------------------------
每天都 Yahoo!奇摩
海的顏色、風的氣息、愛你的溫度,盡在信紙底圖
http://tw.promo.yahoo.com/mail_premium/stationery.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to