Skip to content

Commit

Permalink
Speedup dev build.
Browse files Browse the repository at this point in the history
  • Loading branch information
bziobrowski committed Oct 11, 2024
1 parent c6c0fa2 commit badd7b0
Show file tree
Hide file tree
Showing 9 changed files with 323 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ more information on how to contribute to Apache Pinot.
Normal Pinot builds are done using the `mvn clean install` command.
However this command can take a long time to run.
For faster builds it is recommended to use `mvn verify -Ppinot-fastdev`, which disables some plugins that are not
actually needed for development.
actually needed for development and disables artifact compression.

## Building Pinot
More detailed instructions can be found at [Quick Demo](https://docs.pinot.apache.org/basics/getting-started/quick-start) section in the documentation.
Expand Down
11 changes: 9 additions & 2 deletions pinot-controller/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<properties>
<pinot.root>${basedir}/..</pinot.root>
<npm.script>build-ci</npm.script>
<npm.command>ci</npm.command>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -121,13 +122,13 @@
</configuration>
</execution>
<execution>
<id>npm ci</id>
<id>npm ci</id><!-- npm ci removes node_modules! -->
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>ci</arguments>
<arguments>${npm.command}</arguments>
</configuration>
</execution>
<execution>
Expand Down Expand Up @@ -166,5 +167,11 @@
<npm.script>build</npm.script>
</properties>
</profile>
<profile>
<id>pinot-fastdev</id>
<properties>
<npm.command>install --no-audit</npm.command>
</properties>
</profile>
</profiles>
</project>
Loading

0 comments on commit badd7b0

Please sign in to comment.