Skip to main content



      Home
Home » Archived » Hudson » Error after mvn hpi:create
Error after mvn hpi:create [message #917620] Thu, 20 September 2012 04:59 Go to next message
Eclipse UserFriend
When I try to build new plugin, I get error after mvn hpi:create:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.jvnet.hudson:hudson-parent:pom:2.1.2

Reason: Cannot find parent: org.sonatype.oss:oss-parent for project: org.jvnet.hudson:hudson-parent:pom:2.1.2 for project org.jvnet.hudson:hudson-parent:pom:2.1.2

What I do incorrect?

My settings.xml:
<settings>
<pluginGroups>
<pluginGroup>org.jvnet.hudson.tools</pluginGroup>
</pluginGroups>
</settings>
Re: Error after mvn hpi:create [message #917753 is a reply to message #917620] Thu, 20 September 2012 07:59 Go to previous messageGo to next message
Eclipse UserFriend
Can you rename your maven repository and test this again. (Rename ~/.m2 to something like ~/.m3 then rerun mvn hpi:create). I believe it could be an issue where your repository is out of sync with the maven central repository.
Re: Error after mvn hpi:create [message #917786 is a reply to message #917753] Thu, 20 September 2012 08:37 Go to previous messageGo to next message
Eclipse UserFriend
No, it hasn't help me...
Re: Error after mvn hpi:create [message #917854 is a reply to message #917786] Thu, 20 September 2012 09:54 Go to previous messageGo to next message
Eclipse UserFriend
I solved problem.
For others: trouble was in incorrect maven version. I tried all versions from maven main download page: 2.0.11, 2.2.1, 3.0.4. and they don't work. But with version 3.0.1 it work correct.
Also, after change maven version, I recommend remove all files from ~/.m2

[Updated on: Thu, 20 September 2012 10:05] by Moderator

Re: Error after mvn hpi:create [message #917858 is a reply to message #917854] Thu, 20 September 2012 10:03 Go to previous message
Eclipse UserFriend
Thank you very much for the solution. I will make a note of this on our wiki page.

Thanks,
Steve.
Previous Topic:How to run TestNG.xml with Hudson for Selenium project
Next Topic:Global SVN Authenication Not Working
Goto Forum:
  


Current Time: Mon Jul 07 22:52:13 EDT 2025

Powered by FUDForum. Page generated in 0.03468 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top