hello,
we are looking for how to develop a custom plugin within hyperic hq server version 4.5.2; We found this link : http://support.hyperic.com/display/hyperforge/Hyperic+Custom+Auto-Discovery+Plug-ins.
So we created the pom.xml under the project "modem_sonde-plugin". then we added the following line <module>modem_sonde-plugin</module> into hq-parent/pom.xml
the problem is after following all steps indicated in that link, we have the following error while executing $ mvn package:
[INFO] ------------------------------------------------------------------------
[INFO] Building Hyperic HQ Plugin - modem_sonde Plugin
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Preparing exec:java
[WARNING] Removing: java from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [exec:java {execution: validate-plugin-xml}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An exception occured while executing the Java class. org.hyperic.hq.product.validation.PluginXmlValidator
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 19 seconds
[INFO] Finished at: Wed Sep 26 17:41:16 CET 2012
[INFO] Final Memory: 79M/415M
[INFO] ------------------------------------------------------------------------
The used files are uploaded here.
We need to know the cause of this error and where to deploy the plugin jar file ??