Improvement ideas for the build init plugin

(Chris Beams) #1

The build init plugin 1 is excellent, but as of 1.11 it generates artifacts

  • using mavenCentral() instead of jcenter()

  • using assertTrue instead of the more favorable assertThat + matcher syntax

Could these be updated?

Also, the comments that the init plugin generates are useful to newcomers, but experienced folks must delete them. Could a switch be introduced to suppress these comments?

(René Groeschke) #2

I like these ideas. When the init plugin was introduced, we didn’t used jcenter because it was still an incubating feature also it is easier to understand for a maven user when porting a maven build.

I definitely agree on having a way to generate clean uncommented scripts. When using the init task in some of my projects, I also noted that removing all the generated comments can be cumbersome.