Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Error after mvn hpi:create
Error after mvn hpi:create [message #917620] Thu, 20 September 2012 04:59 Go to next message
Maxim Kiselev is currently offline Maxim Kiselev
Messages: 11
Registered: August 2012
Junior Member
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
Steve Christou is currently offline Steve Christou
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

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.

/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
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
Maxim Kiselev is currently offline Maxim Kiselev
Messages: 11
Registered: August 2012
Junior Member
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
Maxim Kiselev is currently offline Maxim Kiselev
Messages: 11
Registered: August 2012
Junior Member
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]

Report message to a 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
Steve Christou is currently offline Steve Christou
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

Thank you very much for the solution. I will make a note of this on our wiki page.

Thanks,
Steve.


/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Previous Topic:How to run TestNG.xml with Hudson for Selenium project
Next Topic:Global SVN Authenication Not Working
Goto Forum:
  


Current Time: Tue Jul 29 04:55:55 EDT 2014

Powered by FUDForum. Page generated in 0.02591 seconds