moditect / oss-quickstart

Apache Maven artifacts for bootstrapping new open-source projects
Apache License 2.0
63 stars 5 forks source link

Provide option to create JReleaser configuration #9

Open gunnarmorling opened 2 years ago

gunnarmorling commented 2 years ago

I'm not sure whether we always should create that by default, but it may be an opt-in feature which can be chosen when creating a project from the archetype. WDYT, @aalmiray?

aalmiray commented 2 years ago

Well, I think archetypes cannot modify the contents of the pom.xml unless we add a post processing Groovy script. Are you up to that? 😼

gunnarmorling commented 2 years ago

Yes, I think there will be no way around that. A few of the customizations will require it in all likelihood, e.g. adjusting license headers in the generated files as per the selected license (see #2).

gunnarmorling commented 2 years ago

Hey @aalmiray, so with the basic archetype in place, do you think you could give it a shot to update the template to include all the required configuration for releasing to Maven Central? I can take care of archetype-izing it then, if needed. WDYT?

aalmiray commented 2 years ago

OK, I'll see what I can do.