1

I'm starting a new project with JHipster-6.0.1 and I would like to know whether is possible to rename defaults java packages without breaking JHipster generator capabilities. For example:

from myapp.aop.logging to myapp.infrastructure.logging

from myapp.config to myapp.infrastructure.config

from myapp.security to myapp.infrastructure.security

from myapp.service to myapp.infrastructure.service

from myapp.domain to myapp.infrastructure.jpa

lealceldeiro
  • 14,342
  • 6
  • 49
  • 80
eHayik
  • 2,981
  • 1
  • 21
  • 33

1 Answers1

2

The first 4 changes are possible by changing packageName in .yo-rc.json or JDL file and then re-generating the app.

The 5th change from myapp.domain to myapp.infrastructure.jpa is not possible with the generator as it is, it can be done by writing a blueprint.

Gaël Marziou
  • 16,028
  • 4
  • 38
  • 49