Skip to content

Commit 48e7a4c

Browse files
authored
chore: fix samples pom.xml issues (#2660)
* Close dependency element for `storage_install_with_bom` * Remove release please comment for storage control from `storage_install_without_bom`. Instead, allow renovate-bot to update when the version is available in maven central. * remove duplicate declaration of `google-cloud-storage-control` in install-without-bom/pom.xml
1 parent 9af865c commit 48e7a4c

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

samples/install-without-bom/pom.xml

+2-8
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
<dependency>
3131
<groupId>com.google.cloud</groupId>
3232
<artifactId>google-cloud-storage</artifactId>
33-
<version>2.40.1</version>
33+
<version>2.41.0</version>
3434
</dependency>
3535
<dependency>
3636
<groupId>com.google.cloud</groupId>
3737
<artifactId>google-cloud-storage-control</artifactId>
38-
<version>2.41.0</version><!-- {x-version-update:google-cloud-storage:current} -->
38+
<version>2.41.0</version>
3939
</dependency>
4040
<!-- [END storage_install_without_bom] -->
4141

@@ -69,12 +69,6 @@
6969
<version>1.132.0</version>
7070
<scope>test</scope>
7171
</dependency>
72-
<dependency>
73-
<groupId>com.google.cloud</groupId>
74-
<artifactId>google-cloud-storage-control</artifactId>
75-
<version>2.40.1</version>
76-
<scope>compile</scope>
77-
</dependency>
7872
</dependencies>
7973

8074
<!-- compile and run all snippet tests -->

samples/snippets/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,7 @@
7979
<version>1.132.0</version>
8080
<scope>test</scope>
8181
</dependency>
82+
<!-- [START storage_install_with_bom] -->
8283
</dependencies>
84+
<!-- [END storage_install_with_bom] -->
8385
</project>

0 commit comments

Comments
 (0)