Skip to content

Commit 39cc344

Browse files
authored
Merge pull request #414 from fugerit-org/413-chore-fj-doc-maven-plugin-goal-add-new-option-addexample-to-skip-example-creation
[fj-doc-maven-plugin] for goal 'init' flavour 'direct', addDocFacade …
2 parents 10f7ce2 + 7ffe6b7 commit 39cc344

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12+
- [fj-doc-maven-plugin] for goal 'init' flavour 'direct', addDocFacade set to 'false' by default <https://github.com/fugerit-org/fj-doc/pull/413>
1213
- [fj-doc-maven-plugin] verify plugin should be for direct plugin template path <https://github.com/fugerit-org/fj-doc/pull/411>
1314

1415
## [8.13.6] - 2025-04-26

fj-doc-maven-plugin/src/main/java/org/fugerit/java/doc/maven/MojoInit.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ public void execute() throws MojoExecutionException, MojoFailureException {
6666
this.getLog().info( String.format( "flavour context : %s", context ) );
6767
String actualVersion = FlavourFacade.initProject( context );
6868
if ( FlavourFacade.FLAVOUR_DIRECT.equals( actualVersion ) ) {
69-
super.addDirectPlugin = true;
69+
super.addDirectPlugin = Boolean.TRUE;
70+
// for 'direct' flavour, parameter 'addDocFacade' set to 'false'
71+
// https://github.com/fugerit-org/fj-doc/issues/413
72+
super.addDocFacade = Boolean.FALSE;
7073
}
7174
} );
7275
super.groupIdOverride = this.groupId;

0 commit comments

Comments
 (0)