Maven grails plugin issue

Posted by Jack on Stack Overflow See other posts from Stack Overflow or by Jack
Published on 2010-04-13T02:56:18Z Indexed on 2010/04/13 3:03 UTC
Read the original article Hit count: 539

Filed under:
|
|

I'm trying to create the pom for an existing grails project via:

mvn grails:create-pom -Dourcompany.com

Now, we have our maven repository available in a local nexus repo:

http://ourcompany.com/nexus

But when i run the above, i get the below error

Downloading: http://ourcompany.com/nexus/content/groups/public/ourcompany/com/hibernate-core/3.3.1.GA/hibernate-core-3.3.1.GA.jar [INFO] Unable to find resource 'ourcompany.com:hibernate-core:jar:3.3.1.GA' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR

But it is in there at simply:

http://ourcompany.com/nexus/content/groups/public/hibernate-core/3.3.1.GA/hibernate-core-3.3.1.GA.jar

Ie, w/o the "ourcompany.com" path. From my perspective, it should just try to pull down hibernate w/o inserting the groupId, but maybe i'm not understanding how i'm supposed to run this command?

© Stack Overflow or respective owner

Related posts about grails

Related posts about maven