AbsaOSS / enceladus

Dynamic Conformance Engine
Apache License 2.0
30 stars 14 forks source link

release_deploy.cmd fails due to annotations javadoc generation issue #2180

Closed dk1844 closed 1 year ago

dk1844 commented 1 year ago

Describe the bug

When trying to release v 3.0.0 with release_deploy.cmd, the following problem appeared

<mypath>\enceladus\data-model\src\main\scala\za\co\absa\enceladus\model\backend\Reference.scala:27: error: annotation argument needs to be a constant; found: "{".+("\"collection\": \"dataset\",").+("\"name\": \"Test\",").+("\"version\": 4").+("}")
      "\"version\": 4" +
                       ^
...

This problem has not been revealed before while building the project otherwise.

To Reproduce

Steps to reproduce the behavior OR commands run:

mvn install
cd data-model
mvn net.alchim31.maven:scala-maven-plugin:4.4.0:doc-jar

Additional context

Clearly, this is caused by the unexpected format of the annotations introduced in #2178