public class HPALMMojo
extends org.apache.maven.plugin.AbstractMojo
This goal generates change-log based on HP ALM issue management system. The issues to be included in change-log are queried based on the given HP ALM query statement (see ALM 11.0 REST API reference guide for more informations). Obtained issues can then be publish to CONFLUENCE page under the given keyword (or at the top of page in none given nor found). Additionally, one may select fields (and define their translations) that will be published in change-log report. There is also an option to update all queried defects with predefined values. The change-log output is compatible with maven announce plugin.
For more informations about HP ALM see ALM 11.0 REST API reference guide at https://ovrd.external.hp.com/rd/sign-in?TYPE=33554433&REALMOID =06-000d bac2-dc02-1680-9aa0-a14d91440000&GUID=&SMAUTHREASON=0&METHOD=GET &SMAGENTNAME =$SM$iZH9ShXntQjxWQQV0Oqhh1Bk9OnxvC2w1G6RIFVaWUyeFBPUD93KOaOhpUkS %2fp7X&TARGET=$SM$http%3a%2f%2fsupport% 2eopenview%2ehp%2ecom%2fselfsolve%2fdocument%2fKM997956%2fbinary%2fALM11%2e00_R E
| Constructor and Description |
|---|
HPALMMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Main plugin method
|
HPALMMojoDAOI |
getDao() |
String |
getUpdateStatement(Entity entity)
Prepare update statement for entity
|
List<Entity> |
parse(String xmlBody)
Transform the entities to object representation
|
void |
setDao(HPALMMojoDAOI dao) |
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
Main plugin method
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic String getUpdateStatement(Entity entity)
entity - - entity to updatepublic List<Entity> parse(String xmlBody)
xmlBody - - result of HP ALM query containing entity definitions to
parsepublic HPALMMojoDAOI getDao()
public void setDao(HPALMMojoDAOI dao)
Copyright © 2015. All rights reserved.