I guess answering my own question again, skipping eclipse i tried to
build, but failed, the tutorials directly under project\tutorials
"mvn clean" i get unable to find resource org.boss.maven.plugins
maven-jdocbook-style-plugin not found in respository unable to download
from any repository
brian wrote:
sorry if I'm answering my own questions here,
but they just raise more
after looking harder at the tutorial found reference to the code for
the tutorial under
|tutorials/web| directory of the project source. I imported the
directory into a "maven project?"
in eclipse. when i try to build and run i get in the maven console:
url =
http://repo1.maven.org/maven2
Downloading:
http://repo1.maven.org/maven2/org/hibernate/hibernate-tutorials/3.5.0-Bet...
[ERROR]
Failed to resolve parent-POM from repository.
Parent POM Information:
Group-Id: org.hibernate
Artifact-Id: hibernate-tutorials
Version: 3.5.0-Beta-2
Local Repository: C:\Documents and Settings\brian\.m2\repository
Remote Repositories:
central ->
http://repo1.maven.org/maven2
Reason: Unable to download the artifact from any repository
org.hibernate:hibernate-tutorials:pom:3.5.0-Beta-2
from the specified remote repositories:
central (
http://repo1.maven.org/maven2)
Project Id: org.hibernate:hibernate-tutorial-web:war:[inherited]
From file: C:\work\web\pom.xml
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO]
------------------------------------------------------------------------
[INFO] + Ignoring build failures
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Nov 23 18:10:56 PST 2009
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
after this, there are no classes or build directory in the working dir
thanks!
brian wrote:
> Hi,
>
> I'm one of those programmers who prefer to use notepad or at most
> emacs as an editor, believe it or not I written some large programs
> that way. Now trying hard to come into the modern age of Eclipse and
> Maven.
>
> I'm trying to run the Hibernate tutorial at:
>
>
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/tutorial.html#...
>
>
> I put the pom.xml file on that page and mvn failed to build it...
>
> "dependencies.version is missing" for various things
>
> also
>
> I've installed m2_eclise plug-in and imported the pom.xml file there.
> How to I call mvn for this pom.xml from within eclipse?
>
> Thanks!
> Brian Wolf
>
>
>
>
>
>