Skip to content

Conversation

@tomasbjerre
Copy link
Contributor

I noticed there was no changelog in the repo. You might be interested in using this plugin to generate it.

Else, just feel free to close this PR =)

@gmessner
Copy link
Collaborator

@tomasbjerre
Do you know if there is a way to have the changelog template somewhere other than pom.xml ?

@tomasbjerre
Copy link
Contributor Author

Yes there is a configuration attribute for that, templateFile.

@gmessner
Copy link
Collaborator

Can you make that change and update the PR? I'll merge when that is completed.

@tomasbjerre
Copy link
Contributor Author

Yes, I can change it later today.

@tomasbjerre
Copy link
Contributor Author

@gmessner Updated.

@gmessner gmessner merged commit 57f2972 into gitlab4j:master Feb 13, 2019
@gmessner
Copy link
Collaborator

@tomasbjerre
As always, thank you for your contribution.

@gmessner
Copy link
Collaborator

@tomasbjerre
I am getting the following error in the pom.xml:

Plugin execution not covered by lifecycle configuration: se.bjurr.gitchangelog:git-changelog-maven-plugin:1.59:git-changelog (execution: GenerateGitChangelog, phase: generate-sources)

Also, when importing into Eclipse I get the following error:

No marketplace entries found to handle git-changelog-maven-plugin:1.59:git-changelog in Eclipse.  Please see Help for more information.

Can these be corrected?

@tomasbjerre
Copy link
Contributor Author

@tomasbjerre
Copy link
Contributor Author

Or, you want it out of the pom. You can do:

mvn se.bjurr.gitchangelog:git-changelog-maven-plugin:git-changelog

And rename the template to changelog.mustache.

And issue this command manually whenever you want to update the changelog.

@gmessner
Copy link
Collaborator

@tomasbjerre
Enclosing the plugins in a <pluginManagement> tag in the pom fixed the error. Thanks for this info.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants