Skip to content

Commit

Permalink
Simplify properties naming of Maven plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
charphi committed Sep 27, 2022
1 parent 3f1e26f commit bdf0d17
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Add rule extension point [#12](https://github.com/nbbrd/heylogs/issues/12)
- Add failure format extension point [#13](https://github.com/nbbrd/heylogs/issues/13)

### Changed

- Simplify properties naming of Maven plugin [#18](https://github.com/nbbrd/heylogs/issues/18)

## [0.2.0] - 2022-09-21

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@Mojo(name = "check", defaultPhase = LifecyclePhase.GENERATE_RESOURCES, threadSafe = true)
public final class CheckMojo extends AbstractMojo {

@Parameter(defaultValue = "${project.basedir}/CHANGELOG.md", property = "heylogs.inputFile")
@Parameter(defaultValue = "${project.basedir}/CHANGELOG.md", property = "heylogs.input.file")
private File inputFile;

@Parameter(defaultValue = "false", property = "heylogs.skip")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
@Mojo(name = "extract", defaultPhase = LifecyclePhase.GENERATE_RESOURCES, threadSafe = true)
public final class ExtractMojo extends AbstractMojo {

@Parameter(defaultValue = "${project.basedir}/CHANGELOG.md", property = "heylogs.inputFile")
@Parameter(defaultValue = "${project.basedir}/CHANGELOG.md", property = "heylogs.input.file")
private File inputFile;

@Parameter(defaultValue = "${project.build.directory}/CHANGELOG.md", property = "heylogs.outputFile")
@Parameter(defaultValue = "${project.build.directory}/CHANGELOG.md", property = "heylogs.output.file")
private File outputFile;

@Parameter(defaultValue = "", property = "heylogs.ref")
Expand Down

0 comments on commit bdf0d17

Please sign in to comment.