|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Can't build Hudson HelloWorld any more using mevenide in netbeansHi, and I apologize in advance if this is a stupid question. I'm trying to build a plugin for Hudson using mevenide in netbeans 6.1, and I'm new to every one of these pieces.
I originally got everything installed and it seemed to work fine (middle of last week). I built the HelloWorld tutorial plugin using netbeans and mevenide, deployed it in Hudson, and it worked. Then the Hudson SVN repo was down for a while last week. Since then, I've never been able to rebuild the plugin successfully in netbeans. I can build it from the command line, but not in netbeans using the plugin. First error looks like this: Compiling 2 source files to C:\Hudson\HelloWorldPlugin\HelloWorld\target\classes [FATAL]org.jvnet.hudson.maven.plugins.hpi.AptMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms: [FATAL]Plugin realm = /plugins/org.jvnet.hudson.tools:maven-hpi-plugin:1.20@48/thread:exec_Build HelloWorld_5 urls[0] = file:/C:/Maven/Repository/org/jvnet/hudson/tools/maven-hpi-plugin/1.20/maven-hpi-plugin-1.20.jar urls[1] = file:/C:/Maven/Repository/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.jar . . . Followed by about 50 more urls. When I look in my C:/Maven/Repository/org/jvnet/hudson, there is no subdirectory called maven. Is there supposed to be? Software: I'm working on US English Windows XP with recent patches (not SP3, however). Netbeans version is 6.1 The Maven plugin version is 3.1.1 The Hudson version is recent (installed last week). Thanks very much, Jeff Berkowitz |
|
|
Re: Can't build Hudson HelloWorld any more using mevenide in netbeanshello,
the most likely cause of the issue is that in the last week we've released a new version of maven support (3.1.1) and that one is using a newer maven embedder (current 2.1-SNAPSHOT as opposed to a 2 years old one shipping with 3.0.12. So I assume it was working for you with the old version but after upgrade it's not working anymore. Can you provide me with steps to reproduce the issue? is the hello world plugin created by an archetype? Milos On 5/12/08, Jeff Berkowitz <pdxjjb@...> wrote: > Hi, and I apologize in advance if this is a stupid question. I'm trying to > build a plugin for Hudson using mevenide in netbeans 6.1, and I'm new to > every one of these pieces. > > I originally got everything installed and it seemed to work fine (middle of > last week). I built the HelloWorld tutorial plugin using netbeans and > mevenide, deployed it in Hudson, and it worked. > > Then the Hudson SVN repo was down for a while last week. Since then, I've > never been able to rebuild the plugin successfully in netbeans. I can build > it from the command line, but not in netbeans using the plugin. First error > looks like this: > > Compiling 2 source files to > C:\Hudson\HelloWorldPlugin\HelloWorld\target\classes > [FATAL]org.jvnet.hudson.maven.plugins.hpi.AptMojo#execute() > caused a linkage error (java.lang.NoClassDefFoundError) and > may be out-of-date. Check the realms: > [FATAL]Plugin realm = > /plugins/org.jvnet.hudson.tools:maven-hpi-plugin:1.20@48/thread:exec_Build > HelloWorld_5 > urls[0] = > file:/C:/Maven/Repository/org/jvnet/hudson/tools/maven-hpi-plugin/1.20/maven-hpi-plugin-1.20.jar > urls[1] = > file:/C:/Maven/Repository/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.jar > . . . > > Followed by about 50 more urls. When I look in my > C:/Maven/Repository/org/jvnet/hudson, there is no > subdirectory called maven. Is there supposed to be? > > Software: > I'm working on US English Windows XP with recent patches (not SP3, however). > Netbeans version is 6.1 > The Maven plugin version is 3.1.1 > The Hudson version is recent (installed last week). > > Thanks very much, > Jeff Berkowitz > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |