Skip to content

Commit 35f49cd

Browse files
hegemonicShabirmean
authored andcommitted
chore: change [START_EXCLUDE] annotation to [START_EXCLUDE silent]
The `[START_EXCLUDE]` annotation lets us omit part of Cloud Monitoring's pom.xml file from the documentation on cloud.google.com. However, the text before `[START_EXCLUDE]` isn't stripped out by default. As a result, the docs end up with something like this: ```xml <dependencies> <dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-monitoring</artifactId> </dependency> <!-- ... </dependencies> ``` By changing the annotation to `[START_EXCLUDE silent]`, we prevent the line `<!-- ...` from appearing in the docs.
1 parent dcdf266 commit 35f49cd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

monitoring/v3/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<groupId>com.example.monitoring</groupId>
2020
<artifactId>monitoring-google-cloud-v3-samples</artifactId>
2121
<version>0.1-SNAPSHOT</version>
22-
<packaging>jar</packaging>
22+
<packaging>jar</packaging>
2323
<!--
2424
The parent pom defines common style checks and testing strategies for our samples.
2525
Removing or replacing it should not affect the execution of the samples in anyway.
@@ -28,11 +28,11 @@
2828
<groupId>com.google.cloud.samples</groupId>
2929
<artifactId>shared-configuration</artifactId>
3030
<version>1.2.0</version>
31-
</parent>
31+
</parent>
3232
<properties>
3333
<maven.compiler.target>1.8</maven.compiler.target>
3434
<maven.compiler.source>1.8</maven.compiler.source>
35-
</properties>
35+
</properties>
3636
<!-- [START monitoring_install_with_bom] -->
3737
<dependencyManagement>
3838
<dependencies>
@@ -44,13 +44,13 @@
4444
<scope>import</scope>
4545
</dependency>
4646
</dependencies>
47-
</dependencyManagement>
47+
</dependencyManagement>
4848
<dependencies>
4949
<dependency>
5050
<groupId>com.google.cloud</groupId>
5151
<artifactId>google-cloud-monitoring</artifactId>
5252
</dependency>
53-
<!-- [START_EXCLUDE] -->
53+
<!-- [START_EXCLUDE silent] -->
5454
<dependency>
5555
<groupId>commons-cli</groupId>
5656
<artifactId>commons-cli</artifactId>

0 commit comments

Comments
 (0)