apache / apache/maven-changelog-plugin

[MCHANGELOG-127] Add ability to specify an alternate SCM connection url

Open
#162 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
33
Forks
13
Avg merge
5h 14m
Merged PRs (30d)
2

Description

**[Martin D'Aloia](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mdaloia)** opened **[MCHANGELOG-127](https://issues.apache.org/jira/browse/MCHANGELOG-127?redirect=false)** and commented

Add possibilty to specify an alternate connection url other than the defined in the SCM section, similar to the SCM mojo of the maven-project-info-reports-plugin (see [here](http://maven.apache.org/plugins/maven-project-info-reports-plugin/scm-mojo.html#anonymousConnection)) and the ChangeLog mojo of the maven-scm-plugin (see [here](http://maven.apache.org/scm/maven-scm-plugin/changelog-mojo.html#connectionUrl))

This makes possible to generate, for example, a general site module (on a multi-module project) with general information. This is the same intention of the General SCM Project Information Report (see [here](http://maven.apache.org/plugins/maven-project-info-reports-plugin/examples/scm-report.html))

The patch provided contains one possible solution and the modification of the testcases affected by this change.
By default the 2 new parameters gets the value specified on **project.scm.connection** and **project.scm.developerConnection**

---

**Affects:** 2.2, 2.3

**Attachments:**
- [custom-scm-connection-url.patch](https://issues.apache.org/jira/secure/attachment/12714472/custom-scm-connection-url.patch) (_10.47 kB_)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the attached custom-scm-connection-url.patch and the test cases it modifies, then compare the requested parameters with the referenced Maven SCM mojo behavior. Done means the alternate connection URLs can be specified while defaulting to project.scm.connection and project.scm.developerConnection, with the affected tests passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.