[MCHANGES-227] Add document properties to the velocity context

Open
#517 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by tracing how changes.xml is exposed to custom Velocity templates and inspect any existing tests for the template context. Done means document properties from changes.xml are available to custom templates without requiring announceParameters.

Written by the indexing model from the issue text.

Description

enhancement priority:minor

Sebb opened MCHANGES-227 and commented

The plugin currently makes almost all of the changes.xml content available to custom templates.

However the document properties are not currently made available as far as I can tell.

It would sometimes be useful to be able to pass in variable content from changes.xml, rather than from announceParameters in the POM.


Affects: 2.4

Dominant language
Java
Stars
15
Forks
22
Avg merge
1d 6h
Merged PRs (30d)
7

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/maven-changes-plugin

All issues in apache/maven-changes-plugin

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.