cerner / ccl-testing

A collection of maven plugins and their dependencies to perform CCL Unit tests and static analyses and to generate reports from the results.
Apache License 2.0
16 stars 11 forks source link

Comments on Declare statements break site creation #27

Closed taylor-scafe closed 3 years ago

taylor-scafe commented 5 years ago

When I try to create the target site, I am failing to create it because of some comments on the same line as a declare statement. When I remove the comments the problem is fixed.

Command run

mvn clean test site -Psoldev64aix

Line in question:

declare generatePortalInvites(dPatientPersonId = f8, dPmHistTrackingId = f8) = null ;569134 added dPmHistTrackingId

Error Message:

[INFO] --- maven-site-plugin:3.3:site (default-site) @ ccl-parent-pom --- [INFO] configuring report plugin com.cerner.ccl.testing:cerreal-maven-plugin:2.1 [INFO] configuring report plugin com.cerner.ccl.whitenoise:whitenoise-maven-plugin:2.5 [INFO] configuring report plugin com.cerner.ccl.cdoc:cdoc-maven-plugin:1.2 [info] entering CDocReportMojo constructor [INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.2 [INFO] configuring report plugin org.apache.maven.plugins:maven-site-plugin:3.3 [WARNING] No project URL defined - decoration links will not be relativized! [INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin. [INFO] Generating "CCL Coverage Report" report --- cerreal-maven-plugin:2.1 [INFO] Generating "Cerreal Report" report --- cerreal-maven-plugin:2.1 [INFO] Generating "Whitenoise" report --- whitenoise-maven-plugin:2.5 [INFO] validating compile ccl_xml_translator_1557776900683.out [INFO] Generating "CDoc" report --- cdoc-maven-plugin:1.2 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:03 min [INFO] Finished at: 2019-05-13T14:48:24-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project ccl-parent-pom: Error during page generation: Error rendering Maven report: Failed to parse include file pfmt_pm_person_portal_invite.inc: Unrecognized declaration: null ;569134 added dPmHistTrackingId; normalized to NULL ;569134 ADDED DPMHISTTRACKINGID -> [Help 1]

CCL Unit Framework Version

3.3

Target folder

target.zip

Originally Posted

https://github.com/cerner/cclunit-framework/issues/26#