Skip to content

Commit

Permalink
[build] Allow skipping deploying docker artifacts to maven repo (apac…
Browse files Browse the repository at this point in the history
…he#5821)

*Motivation*

Allow skipping deploying docker artifacts to maven repo if `skipBuildDistribution` is specified
  • Loading branch information
sijie authored Dec 9, 2019
1 parent 702790a commit 9a650a4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dashboard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,15 @@
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>${skipBuildDistribution}</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
11 changes: 11 additions & 0 deletions docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,15 @@
<module>pulsar-all</module>
<module>pulsar-standalone</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>${skipBuildDistribution}</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 9a650a4

Please sign in to comment.