... | @@ -9,7 +9,13 @@ The generation is based on the configuration. The configuration is based in the |
... | @@ -9,7 +9,13 @@ The generation is based on the configuration. The configuration is based in the |
|
|
|
|
|
To display the current configuration:
|
|
To display the current configuration:
|
|
~~~bash
|
|
~~~bash
|
|
mvn generator-ui:config
|
|
# -N only current project NO sub modules
|
|
|
|
# Check config
|
|
|
|
mvn -N generator-ui:config
|
|
|
|
|
|
|
|
# Update config
|
|
|
|
mvn generator-ui:config -Dpath.i18n=vaadin-companies-component/src/main/resources/i18n
|
|
|
|
mvn generator-ui:config -Dpath.resources=vaadin-companies-component/src/main/resources/
|
|
~~~
|
|
~~~
|
|
The configuration is showed in `YAML` format.
|
|
The configuration is showed in `YAML` format.
|
|
~~~yaml
|
|
~~~yaml
|
... | @@ -25,3 +31,11 @@ config: |
... | @@ -25,3 +31,11 @@ config: |
|
package.repositories: "com.virtorg.spring.db.repositories"
|
|
package.repositories: "com.virtorg.spring.db.repositories"
|
|
path.sourcedb: "vaadin-companies-db/src/main/java"
|
|
path.sourcedb: "vaadin-companies-db/src/main/java"
|
|
~~~
|
|
~~~
|
|
|
|
|
|
|
|
## Generation
|
|
|
|
|
|
|
|
~~~
|
|
|
|
mvn -N generator-ui:entity-scan
|
|
|
|
mvn -N generator-ui:entity-gen
|
|
|
|
mvn -N generator-ui:i18n-gen
|
|
|
|
~~~ |
|
|
|
\ No newline at end of file |