I would definitely start from the beginning and run through a maven beginner tutorial.  Here is one:<div><br></div><div><a href="http://today.java.net/pub/a/today/2007/03/01/building-web-applications-with-maven-2.html">http://today.java.net/pub/a/today/2007/03/01/building-web-applications-with-maven-2.html</a></div>
<div><br></div><div>Using an IDE definitely makes coding easier, but since it sounds like you come from the command line world, I would definitely try to wrap my arms around Maven before trying to learn Maven and Eclipse.</div>
<div><br></div><div>I don&#39;t mind helping if you run across a specific problem about Maven.  It appears the problem you are having is because you don&#39;t have a repository at ~/.m2/repository which running through the tutorial will help you.</div>
<div><br><div class="gmail_quote">On Mon, Nov 23, 2009 at 9:33 PM, brian <span dir="ltr">&lt;<a href="mailto:brw314@gmail.com">brw314@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I guess answering my own question again, skipping eclipse i tried to<br>
build, but failed,   the tutorials directly under project\tutorials<br>
&quot;mvn clean&quot; i get unable to find resource org.boss.maven.plugins<br>
maven-jdocbook-style-plugin not found in respository unable to download<br>
from any repository<br>
<div><div></div><div class="h5"><br>
<br>
brian wrote:<br>
&gt;<br>
&gt; sorry if I&#39;m answering my own questions here,<br>
&gt;<br>
&gt; but they just raise more<br>
&gt;<br>
&gt; after looking harder at the tutorial found reference to the code for<br>
&gt; the tutorial under<br>
&gt;<br>
&gt; |tutorials/web| directory of the project source. I imported the<br>
&gt; directory into a &quot;maven project?&quot;<br>
&gt; in eclipse. when  i try to build and run i get in the maven console:<br>
&gt;<br>
&gt; url = <a href="http://repo1.maven.org/maven2" target="_blank">http://repo1.maven.org/maven2</a><br>
&gt; Downloading:<br>
&gt; <a href="http://repo1.maven.org/maven2/org/hibernate/hibernate-tutorials/3.5.0-Beta-2/hibernate-tutorials-3.5.0-Beta-2.pom" target="_blank">http://repo1.maven.org/maven2/org/hibernate/hibernate-tutorials/3.5.0-Beta-2/hibernate-tutorials-3.5.0-Beta-2.pom</a><br>

&gt;<br>
&gt; [ERROR]<br>
&gt;<br>
&gt; Failed to resolve parent-POM from repository.<br>
&gt;<br>
&gt; Parent POM Information:<br>
&gt;<br>
&gt; Group-Id: org.hibernate<br>
&gt; Artifact-Id: hibernate-tutorials<br>
&gt; Version: 3.5.0-Beta-2<br>
&gt;<br>
&gt; Local Repository: C:\Documents and Settings\brian\.m2\repository<br>
&gt;<br>
&gt; Remote Repositories:<br>
&gt; central -&gt; <a href="http://repo1.maven.org/maven2" target="_blank">http://repo1.maven.org/maven2</a><br>
&gt;<br>
&gt; Reason: Unable to download the artifact from any repository<br>
&gt;<br>
&gt;  org.hibernate:hibernate-tutorials:pom:3.5.0-Beta-2<br>
&gt;<br>
&gt; from the specified remote repositories:<br>
&gt;  central (<a href="http://repo1.maven.org/maven2" target="_blank">http://repo1.maven.org/maven2</a>)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Project Id: org.hibernate:hibernate-tutorial-web:war:[inherited]<br>
&gt; From file: C:\work\web\pom.xml<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; [INFO]<br>
&gt; ------------------------------------------------------------------------<br>
&gt; [INFO] For more information, run with the -e flag<br>
&gt; [INFO]<br>
&gt; ------------------------------------------------------------------------<br>
&gt; [INFO]  + Ignoring build failures<br>
&gt; [INFO]<br>
&gt; ------------------------------------------------------------------------<br>
&gt; [INFO] BUILD SUCCESSFUL<br>
&gt; [INFO]<br>
&gt; ------------------------------------------------------------------------<br>
&gt; [INFO] Total time: 1 second<br>
&gt; [INFO] Finished at: Mon Nov 23 18:10:56 PST 2009<br>
&gt; [INFO] Final Memory: 1M/4M<br>
&gt; [INFO]<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; after this, there are no classes or  build directory  in the  working dir<br>
&gt;<br>
&gt; thanks!<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; brian wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m one of those programmers  who prefer  to use notepad or at most<br>
&gt;&gt; emacs as an editor, believe it or not I written  some large programs<br>
&gt;&gt; that way.  Now trying hard to come into the modern age of Eclipse and<br>
&gt;&gt; Maven.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m trying to run the Hibernate tutorial at:<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://docs.jboss.org/hibernate/core/3.3/reference/en/html/tutorial.html#tutorial-firstapp-setup" target="_blank">http://docs.jboss.org/hibernate/core/3.3/reference/en/html/tutorial.html#tutorial-firstapp-setup</a><br>

&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I put the pom.xml file on that page  and mvn failed to build it...<br>
&gt;&gt;<br>
&gt;&gt; &quot;dependencies.version is missing&quot; for various things<br>
&gt;&gt;<br>
&gt;&gt; also<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve installed m2_eclise plug-in and imported the pom.xml file there.<br>
&gt;&gt; How to I call mvn for this pom.xml from within eclipse?<br>
&gt;&gt;<br>
&gt;&gt; Thanks!<br>
&gt;&gt; Brian Wolf<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
hibernate-users mailing list<br>
<a href="mailto:hibernate-users@lists.jboss.org">hibernate-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hibernate-users" target="_blank">https://lists.jboss.org/mailman/listinfo/hibernate-users</a><br>
</div></div></blockquote></div><br></div>