Add an ability to build api without frontend based on a property (#2424)

This commit is contained in:
MichaelGonzalezMurillo 2022-08-17 09:17:37 -06:00 committed by GitHub
parent fd62f76534
commit a665fb4d83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -19,6 +19,13 @@ docker-compose -f ./documentation/compose/kafka-clusters-only.yaml up -d
Then, start the app.
### Building only the API
To build only the kafka-ui-api you can use this command:
```sh
./mvnw -f kafka-ui-api/pom.xml clean install -Pprod -DskipUIBuild=true
```
## Where to go next
In the next section, you'll [learn how to run the application](running.md).

View file

@ -404,6 +404,7 @@
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
<configuration>
<skip>${skipUIBuild}</skip>
<workingDirectory>../kafka-ui-react-app</workingDirectory>
<environmentVariables>
<VITE_TAG>${project.version}</VITE_TAG>