Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version commit pattern #2

Closed
mbjelac opened this issue Jan 16, 2015 · 1 comment
Closed

version commit pattern #2

mbjelac opened this issue Jan 16, 2015 · 1 comment
Milestone

Comments

@mbjelac
Copy link
Contributor

mbjelac commented Jan 16, 2015

Some projects cannot satisfy the precondition "Project artifactId matches the name of the repository.". This can be eliminated by providing an optional setting of version commit pattern.
Also with this change the jira version generator would be decoupled from Maven release plugin.

The idea is to provide a setting for the plugin in which the plugin user would define a regex pattern for extracting the version from a commit message. The regex pattern must specify 1st capturing group for extracting the version.

For example, the following input pattern:
\[maven-release-plugin\] prepare release infobip-ussd-appcore-parent-(.*)

and the following commit message:
[maven-release-plugin] prepare release infobip-ussd-appcore-parent-2.22.0

would generate version
2.22.0

@mbjelac mbjelac changed the title specify version commit pattern version commit pattern Jan 16, 2015
@lpandzic lpandzic added this to the 1.1.0 milestone Jan 16, 2015
lpandzic added a commit that referenced this issue Feb 16, 2015
@lpandzic
Copy link
Member

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants