You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2019/02/18 15:06:21 UTC

[pulsar] branch master updated: Define the maven phase for generating protobuf code (#3609)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 384fca3  Define the maven phase for generating protobuf code (#3609)
384fca3 is described below

commit 384fca322dfad123b6bb6a09c0328fc83219484f
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Mon Feb 18 07:06:15 2019 -0800

    Define the maven phase for generating protobuf code (#3609)
---
 managed-ledger/pom.xml         | 2 +-
 pulsar-broker/pom.xml          | 1 +
 pulsar-client/pom.xml          | 1 +
 pulsar-functions/proto/pom.xml | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/managed-ledger/pom.xml b/managed-ledger/pom.xml
index 2675f44..1c29aa1 100644
--- a/managed-ledger/pom.xml
+++ b/managed-ledger/pom.xml
@@ -41,7 +41,6 @@
     <dependency>
       <groupId>org.apache.bookkeeper.stats</groupId>
       <artifactId>prometheus-metrics-provider</artifactId>
-      <version>${bookkeeper.version}</version>
     </dependency>
 
     <dependency>
@@ -133,6 +132,7 @@
         </configuration>
         <executions>
           <execution>
+            <phase>generate-sources</phase>
             <goals>
               <goal>compile</goal>
             </goals>
diff --git a/pulsar-broker/pom.xml b/pulsar-broker/pom.xml
index b0e77a7..7e8a43a 100644
--- a/pulsar-broker/pom.xml
+++ b/pulsar-broker/pom.xml
@@ -313,6 +313,7 @@
         </configuration>
         <executions>
           <execution>
+            <phase>generate-sources</phase>
             <goals>
               <goal>compile</goal>
               <goal>test-compile</goal>
diff --git a/pulsar-client/pom.xml b/pulsar-client/pom.xml
index 77eac7b..bc97c56 100644
--- a/pulsar-client/pom.xml
+++ b/pulsar-client/pom.xml
@@ -160,6 +160,7 @@
         </configuration>
         <executions>
           <execution>
+            <phase>generate-sources</phase>
             <goals>
               <goal>test-compile</goal>
             </goals>
diff --git a/pulsar-functions/proto/pom.xml b/pulsar-functions/proto/pom.xml
index 2487e8f..b78d33d 100644
--- a/pulsar-functions/proto/pom.xml
+++ b/pulsar-functions/proto/pom.xml
@@ -78,6 +78,7 @@
                 </configuration>
                 <executions>
                     <execution>
+                        <phase>generate-sources</phase>
                         <goals>
                             <goal>compile</goal>
                             <goal>compile-custom</goal>