-->
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: Unable to download the artifact
PostPosted: Wed Jun 15, 2011 6:27 am 
Newbie

Joined: Wed Jun 15, 2011 6:15 am
Posts: 4
Hi,
I am new to Hibernate. Today I downloaded the hibernate distribution
hibernate-distribution-3.5.1-Final-dist.zip
extracted, it created the following directories
-documentation
-lib
-project
and I went inside the 'project' directory and issued the command 'mvn install', it lead me to the following issue. It looks repositories are changed. Any one will you please help me here?? (I tried 'mvn install' in all the following distribution hibernate-distribution-3.5.6-Final-dist.zip, hibernate-distribution-3.6.5.Final-dist.zip all lead me to the same issue)
-----------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.jboss.maven.plugins
ArtifactId: maven-jdocbook-style-plugin
Version: 2.0.0

Reason: 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)
-----------------------------------------------------------------

I really appreciate if any one can help me to get it fixed.

Thank you,
Ganeshraj.S


Top
 Profile  
 
 Post subject: Re: Unable to download the artifact
PostPosted: Mon Jun 27, 2011 11:37 am 
Newbie

Joined: Mon Jun 27, 2011 11:32 am
Posts: 2
I too am suffering from this same problem. I've found numerous references to an issue similar to this, mostly the solution was to add a repository entry. I've tried this in the maven settings.xml and the pom files, but to no avail. Did you resolve your issue?

Can anybody out there help?

Thanks

Mark


Top
 Profile  
 
 Post subject: Re: Unable to download the artifact
PostPosted: Tue Jun 28, 2011 1:34 am 
Newbie

Joined: Wed Jun 15, 2011 6:15 am
Posts: 4
Hi Mark,
Yes I am able to get this issue fixed.. We need to add the repository details to maven settings.xml(this file will be under conf directory in maven installation).

<settings>
...
<profiles>
...
<profile>
<id>jboss-public-repository</id>
<repositories>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>

</profiles>

<activeProfiles>
<activeProfile>jboss-public-repository</activeProfile>
</activeProfiles>
...
</settings>

At the end it looks maven will run some tests too... there I got 1 failure.. not sure what is wrong there..Need to look into it..

Got these details from
http://docs.jboss.org/hibernate/search/ ... arted.html

Let me know if this is useful. :)
-Ganeshraj.S


Top
 Profile  
 
 Post subject: Re: Unable to download the artifact
PostPosted: Tue Jun 28, 2011 3:55 am 
Newbie

Joined: Tue Jun 28, 2011 3:53 am
Posts: 1
welcome to my site

_________________
cheap beats by dre
nfl jerseys for cheap
Cheap NFL jerseys


Top
 Profile  
 
 Post subject: Re: Unable to download the artifact
PostPosted: Tue Jun 28, 2011 4:11 am 
Newbie

Joined: Mon Jun 27, 2011 11:32 am
Posts: 2
Thanks Ganeshraj, it was the activation of the profile I was missing.

Mark


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.