-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Getting started
PostPosted: Sat Mar 20, 2010 3:32 am 
Newbie

Joined: Mon Feb 01, 2010 4:19 am
Posts: 11
I am trying to follow the tutorial and it seems that maven just isn't working for me. I don't have clue what maven does. What do I need to do to get this going?

mvn exec:java -Dexec.mainClass="org.hsqldb.Server" -Dexec.args="-database.0 file:target/data/tutorial"

[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/jboss ... -2.0.0.pom
[WARNING] Unable to get resource 'org.jboss.maven.plugins:maven-jdocbook-style-plugin:pom:2.0.0' from repository central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org
Downloading: http://repo1.maven.org/maven2/org/jboss ... -2.0.0.pom
[WARNING] Unable to get resource 'org.jboss.maven.plugins:maven-jdocbook-style-plugin:pom:2.0.0' from repository central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.jboss.maven.plugins:maven-jdocbook-style-plugin

Reason: POM 'org.jboss.maven.plugins:maven-jdocbook-style-plugin' not found in repository: Unable to download the artifact from any repository

org.jboss.maven.plugins:maven-jdocbook-style-plugin:pom:2.0.0

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

for project org.jboss.maven.plugins:maven-jdocbook-style-plugin


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Fri Mar 19 23:17:26 PST 2010
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------


Top
 Profile  
 
 Post subject: Re: Getting started
PostPosted: Mon Mar 22, 2010 4:19 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 990
Quote:
For more information, run Maven with the -e switch


Can you enable the -e switch please and then rerun maven.


Top
 Profile  
 
 Post subject: Re: Getting started
PostPosted: Sat Apr 03, 2010 4:11 am 
Newbie

Joined: Sat Apr 03, 2010 4:08 am
Posts: 1
You could find the solution to your problem here.

http://opensource.atlassian.com/project ... e/HHH-3204


Top
 Profile  
 
 Post subject: Re: Getting started
PostPosted: Sun Apr 11, 2010 11:23 am 
Newbie

Joined: Thu Jan 20, 2005 12:21 pm
Posts: 9
I have a related question about this profile setting. I am currently trying to get a project to the central maven repo (repo1.maven.org), but I have a dependency on hibernate entitymanager 3.5.0.Final which means that I have to use a repository setting in my poms. That repository setting however prevents me from doing that because the central maven repo must be selfcontained.

Will hibernate continue to be synced to the central maven repo?


Top
 Profile  
 
 Post subject: Re: Getting started
PostPosted: Wed May 12, 2010 2:04 am 
Newbie

Joined: Tue May 11, 2010 6:25 pm
Posts: 3
I followed this tutorial and ran in to this issue and many others. I was able to clear these road-blocks and complete the tutorial. If anyone want any further details on how I fixed various issues, please see my blog post. http://kaizenprogrammer.blogspot.com/20 ... orial.html
I had to post 6 blog entries showing the errors I got and how I fixed them.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.