Skip to content

[BUG]: [fj-doc-maven-plugin] when 'addDocFacade' is set to 'false' 'freemarker-verify' execution gets an error #422

@fugerit79

Description

@fugerit79

Module

fj-doc-maven-plugin - Maven plugin to setup new/existing projects and validate freemarker templates

Expected Behavior

on 'addDocFacade' is set to 'false', 'freemarker-verify' execution should not be added

Current Behavior

freemarker-verify' execution gets an error

Is blocking?

yes, but a workaround mitigating it exists

A work around exists?

set 'addDocFacade' to true or remove

'freemarker-verify' execution configuration

Steps to reproduces

  1. Init a project, for instance
mvn org.fugerit.java:fj-doc-maven-plugin:8.13.8:init \
-DgroupId=org.example.doc \
-DartifactId=fugerit-direct \
-Dextensions=base,freemarker,mod-fop \
-Dflavour=direct
  1. run project
mvn clean install

To get the error :

[ERROR] Failed to execute goal org.fugerit.java:fj-doc-maven-plugin:8.13.8:verify (freemarker-verify) on project fugerit-direct1: Fatal error, templateBasePath is not a directory: '/omnia/workspace/git/temp/fugerit-direct1/src/main/resources/fugerit-direct1/template' -> [Help 1]

Is a proof of concept available

No response

Context information

No response

Other information

No response

Proposed solution

Remove 'freemarker-verify' execution of 'fj-doc-maven-plugin' when 'addDocFacade' is set to 'false'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions