Add an ability to build api without frontend based on a property (#2424)
This commit is contained in:
parent
fd62f76534
commit
a665fb4d83
2 changed files with 8 additions and 0 deletions
|
@ -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).
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue