Skip to content

Commit 6870b14

Browse files
committed
Inherit version from parent pom in delphi-custom-rules-example
1 parent 96d2af6 commit 6870b14

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

docs/CUSTOM_RULES_101.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,11 @@ A custom plugin is a Maven project, and before diving into code, it is important
4949
relevant lines related to the configuration of your soon-to-be-released custom plugin.
5050
The root of a Maven project is a file named `pom.xml`.
5151

52-
Tags such as `<groupId>`, `<artifactId>`, `<version>`, `<name>`, and `<description>` can be freely
53-
modified.
52+
Tags such as `<groupId>`, `<artifactId>`, `<name>`, and `<description>` can be freely modified.
5453

5554
```xml
5655
<groupId>au.com.integradev.samples</groupId>
5756
<artifactId>delphi-custom-rules-example</artifactId>
58-
<version>1.0.0-SNAPSHOT</version>
5957
<name>SonarDelphi :: Documentation :: Custom Rules Example</name>
6058
<description>Delphi Custom Rules Example for SonarQube</description>
6159
```
@@ -635,7 +633,7 @@ $ mvn clean install
635633
[INFO] Scanning for projects...
636634
[INFO]
637635
[INFO] ------------------------------------------------------------------------
638-
[INFO] Building SonarDelphi :: Documentation :: Custom Rules Example 1.0.0-SNAPSHOT
636+
[INFO] Building SonarDelphi :: Documentation :: Custom Rules Example 1.0.0
639637
[INFO] ------------------------------------------------------------------------
640638
641639
...
@@ -648,8 +646,8 @@ $ mvn clean install
648646
[INFO] ------------------------------------------------------------------------
649647
```
650648

651-
Then, grab the jar file `delphi-custom-rules-example-1.0.0-SNAPSHOT.jar` from the `target` folder of
652-
the project.
649+
Then, grab the jar file `delphi-custom-rules-example-1.0.0.jar` from the `target` folder of the
650+
project.
653651

654652
Move it to the extensions folder of your SonarQube instance, which will be located
655653
at `$SONAR_HOME/extensions/plugins`.

docs/delphi-custom-rules-example/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
<groupId>au.com.integradev.samples</groupId>
1414
<artifactId>delphi-custom-rules-example</artifactId>
15-
<version>1.0.0-SNAPSHOT</version>
1615

1716
<packaging>sonar-plugin</packaging>
1817

0 commit comments

Comments
 (0)