nielsbasjes commented on pull request #12846:
URL: https://github.com/apache/flink/pull/12846#issuecomment-661808942


   I did a bit more testing. 
   Turns out the directly included dependencies get an explicit version in the 
final pom. 
   Even though the libraries-bom is present it seems unused when resolving the 
versions in my downstream project.
   
   So on my machine the 
`~/.m2/repository/org/apache/flink/flink-connector-gcp-pubsub_2.11/1.12-SNAPSHOT/flink-connector-gcp-pubsub_2.11-1.12-SNAPSHOT.pom`
 has this:
   ```
       <dependency>
         <groupId>com.google.cloud</groupId>
         <artifactId>google-cloud-core</artifactId>
         <version>1.93.6</version>
         <scope>compile</scope>
       </dependency>
       <dependency>
         <groupId>com.google.cloud</groupId>
         <artifactId>google-cloud-pubsub</artifactId>
         <version>1.107.0</version>
         <scope>compile</scope>
       </dependency>
   ```
   and also
   ```
     <dependencyManagement>
       <dependencies>
         <dependency>
           <groupId>com.google.cloud</groupId>
           <artifactId>libraries-bom</artifactId>
           <version>8.0.0</version>
           <type>pom</type>
           <scope>import</scope>
         </dependency>
       </dependencies>
     </dependencyManagement>
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to