line / line/license-gradle-plugin-git

Newline is not default

Open
#6 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Groovy
Stars
9
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Many java projects have one newline after the copyright statement, however, license-maven-plugin doesn't support this feature.
Simple hack is possible by adding newline to endLine but this doesn't ensure just 'one' newline is added since the plugin just adds in the position, not checking the newline.

https://github.com/mathieucarbou/license-maven-plugin/issues/78

Contributor guide

Open the contributing guide

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.

Research direction

Start with HeaderDefinition.java, especially the endLine setting referenced in the issue, and review the related license-maven-plugin issue 78 for context. Done means the plugin adds exactly one newline after the copyright statement when that format is used, rather than inserting an unchecked newline.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.