apache / apache/maven-changes-plugin

issueManagement/system not used by changes:changes, must override

Aperta
#619 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Java
Stelle
15
Fork
22
Merge medio
8h 1m
PR unite (30g)
3

Descrizione

### Affected version

3.0.0-M3

### Bug description

When generating a site, the generating a page for `changes.xml` does NOT use the POM's `/issueManagement/system` value to select, for example "JIRA" and instead uses the "defauit", which generates broken URLs on that page.

For example:
```
git clone https://github.com/apache/commons-validator.git
cd commons-validator
git checkout 4c9a0660a0d29bc7e9891f24be86f9539f42e419
mvn clean verify site -DskipTests
open target/site/changes.html#a1.10.1
```
Youi'll see the link to [VALIDATOR-502](https://issues.apache.org/jira/browse/ViewIssue.jspa?key=VALIDATOR-502) with the href `https://issues.apache.org/jira/browse/ViewIssue.jspa?key=VALIDATOR-502` which uses the "default" key instead of the "JIRA" key defined in `/issueManagement/system`

Note that `/issueManagement/system` is inherited from the parent POM, which works since the JIRA report is OK; it's the changes.xml report that's broken.

I see in `changes.mdo` that an action supports a `system` attribute. Shouldn't that inherit `/issueManagement/system`? Otherwise, you need to specify system on each action, which seems redundant.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia con la generazione del report changes.xml e con la definizione dell’azione in changes.mdo, quindi riproduci il problema in commons-validator con mvn clean verify site -DskipTests. Traccia il modo in cui viene gestito il valore /issueManagement/system ereditato dal POM per le azioni changes; il lavoro è completato quando il changes.html generato utilizza la chiave JIRA configurata anziché l’URL predefinito.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
build-system
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.