devonfw / cobigen

Code-based Incremental Generator
Apache License 2.0
35 stars 70 forks source link

Deployed template sets are missing dependencies for utilities #1673

Open jan-vcapgemini opened 1 year ago

jan-vcapgemini commented 1 year ago

Expected behavior

Template sets should provide all dependencies which were in the old monolithic templates like before:

https://github.com/devonfw/cobigen/blob/28f53b0dad58ff71b30d011f0a0dfe450f646313/cobigen-templates/templates-devon4j-utils/pom.xml#L17-L47

Actual behavior

Current template sets provide dependencies only from this:

https://github.com/devonfw/cobigen/blob/28f53b0dad58ff71b30d011f0a0dfe450f646313/cobigen-templates/crud-java-server-app/pom.xml#L13-L18

and from the core pom.xml:

https://github.com/devonfw/cobigen/blob/28f53b0dad58ff71b30d011f0a0dfe450f646313/pom.xml#L87-L101

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Build template-set jars
  2. Check pom.xml from classes jar

Related/Dependent Issues

Comments/Hints:

Missing dependencies are found in this added pom.xml in each template-set though:

https://github.com/devonfw/cobigen/blob/28f53b0dad58ff71b30d011f0a0dfe450f646313/cobigen-templates/crud-java-server-app/src/test/resources/utils/pom.xml#L19-L100

Affected version:

jan-vcapgemini commented 1 year ago

All pom.xmls in src/test/resources should be removed.