apache / apache/maven-changes-plugin
[MCHANGES-411] Issue link is mangled if project.issueManagement.url does not end with slash (/)
- Lingua principale
- Java
- Stelle
- 15
- Fork
- 22
- Merge medio
- 8h 1m
- PR unite (30g)
- 3
Descrizione
**[Unassigned Developer](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=unassigned-developer)** opened **[MCHANGES-411](https://issues.apache.org/jira/browse/MCHANGES-411?redirect=false)** and commented
Consider the follwing block in your POM:
```xml
GitHub
https://github.com/michael-o/tomcatspnegoad/issues
```
The changes report will turn the issue link into `https://github.com/michael-o/tomcatspnegoad/%ISSUE%` because here (https://github.com/apache/maven-changes-plugin/blob/e85711fd246c505e5e088c16014afd2d5fe91e0c/src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java#L634-L646) it will chop off the last components, ignoring it will end with a slash or not.
---
No further details from [MCHANGES-411](https://issues.apache.org/jira/browse/MCHANGES-411?redirect=false)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia in src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java, nella gestione degli URL intorno alle righe 634-646. Riproduci il report con una issueManagement URL priva di barra finale, quindi modifica la gestione in modo che il collegamento all'issue generato mantenga l'URL di base configurato e verifica il collegamento risultante.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- build-system
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100