This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 160979 - creating a maven job fails to add goals to execute
Summary: creating a maven job fails to add goals to execute
Status: RESOLVED WORKSFORME
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Hudson (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-24 08:05 UTC by Milos Kleint
Modified: 2009-04-05 18:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2009-03-24 08:05:09 UTC
It seems that the automatically generated build job fails to defined any goals, therefore the build fails.
Comment 1 Milos Kleint 2009-03-24 08:20:34 UTC
confusion on my side, I've looked at the output of the parent job, the job gets built correctly.
however for http://svn.codehaus.org/mojo/trunk/mojo/nbm-maven-plugin/ it seems  to fail with a cryptic sort of error.

the same thing works on the command line. Feel free to close the issue, it's probably hudson error.


[INFO] [plugin:helpmojo {execution: help-mojo}]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 12 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 13 mojo descriptors.
[HUDSON] Archiving /home/mkleint/.hudson/jobs/nbm-maven-plugin/workspace/./pom.xml to
/home/mkleint/.hudson/jobs/nbm-maven-plugin/modules/org.codehaus.mojo$nbm-maven-plugin/builds/2009-03-24_08-15-56/archive/org.codehaus.mojo/nbm-maven-plugin/3.1-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error extracting plugin descriptor: 'Goal: help already exists in the plugin descriptor for prefix: nbm
Existing implementation is: org.codehaus.mojo.nbm.HelpMojo
Conflicting implementation is: org.codehaus.mojo.nbm.HelpMojo'

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Tue Mar 24 08:16:05 CET 2009
[INFO] Final Memory: 18M/82M
[INFO] ------------------------------------------------------------------------

Comment 2 Jesse Glick 2009-03-26 15:11:43 UTC
So long as there is a Maven installation defined on the server, creating a trivial Maven project and uploading it causes
it to build correctly for me.