10000 chore(java): default samples/snippets pom should not use libraries-bo… · googleapis/synthtool@5506723 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5506723

Browse files
authored
chore(java): default samples/snippets pom should not use libraries-bom (#694)
We are now only adding clients to libraries-bom once the client is 1.0.0. Since this template is created at repository creation time, we don't want to include the libraries-bom installation method here.
1 parent a6643f6 commit 5506723

File tree

1 file changed

+2
-15
lines changed
  • synthtool/gcp/templates/java_library/samples/snippets

1 file changed

+2
-15
lines changed

synthtool/gcp/templates/java_library/samples/snippets/pom.xml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,13 @@
2525
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2626
</properties>
2727

28-
29-
<!-- [START {{metadata['repo']['name']}}_install_with_bom] -->
30-
<dependencyManagement>
31-
<dependencies>
32-
<dependency>
33-
<groupId>com.google.cloud</groupId>
34-
<artifactId>libraries-bom</artifactId>
35-
<version>{{ metadata['latest_bom_version'] }}</version>
36-
<type>pom</type>
37-
<scope>import</scope>
38-
</dependency>
39-
</dependencies>
40-
</dependencyManagement>
41-
4228
<dependencies>
29+
<!-- TODO: switch to libraries-bom after this artifact is included -->
4330
<dependency>
4431
<groupId>{{ group_id }}</groupId>
4532
<artifactId>{{ artifact_id }}</artifactId>
33+
<version>{{ metadata['latest_version'] }}</version>
4634
</dependency>
47-
<!-- [END {{metadata['repo']['name']}}_install_with_bom] -->
4835

4936
<dependency>
5037
<groupId>junit</groupId>

0 commit comments

Comments
 (0)
0