开发者

Maven grails plugin issue

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

mvn grails:create-pom -DgroupId=ourcompany.com

Now, we have our maven repo开发者_Python百科sitory 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?


What happens is you just run:

mvn grails:create-pom
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜