diff --git a/CHANGELOG.md b/CHANGELOG.md index 68b4d176..996bf9f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- [fj-doc-maven-plugin] for goal 'init' flavour 'direct', addDocFacade set to 'false' by default - [fj-doc-maven-plugin] verify plugin should be for direct plugin template path ## [8.13.6] - 2025-04-26 diff --git a/fj-doc-maven-plugin/src/main/java/org/fugerit/java/doc/maven/MojoInit.java b/fj-doc-maven-plugin/src/main/java/org/fugerit/java/doc/maven/MojoInit.java index 69c97107..b3ff3f1c 100644 --- a/fj-doc-maven-plugin/src/main/java/org/fugerit/java/doc/maven/MojoInit.java +++ b/fj-doc-maven-plugin/src/main/java/org/fugerit/java/doc/maven/MojoInit.java @@ -66,7 +66,10 @@ public void execute() throws MojoExecutionException, MojoFailureException { this.getLog().info( String.format( "flavour context : %s", context ) ); String actualVersion = FlavourFacade.initProject( context ); if ( FlavourFacade.FLAVOUR_DIRECT.equals( actualVersion ) ) { - super.addDirectPlugin = true; + super.addDirectPlugin = Boolean.TRUE; + // for 'direct' flavour, parameter 'addDocFacade' set to 'false' + // https://github.com/fugerit-org/fj-doc/issues/413 + super.addDocFacade = Boolean.FALSE; } } ); super.groupIdOverride = this.groupId;