Compare commits

...

4 Commits

Author SHA1 Message Date
Mike Swainston-Rainford
34251e7ef3 SONARXML-194 S3422: Add Compliant code examples 2024-10-14 11:04:58 +01:00
Mike Swainston-Rainford
dc22d0cd2d Merge branch 'master' into msr/SONARXML-194 2024-10-09 15:23:12 +01:00
Mike Swainston-Rainford
3bee05e896 SONARXML-194 S3422: Add Compliant code examples 2024-10-09 15:22:30 +01:00
Mike Swainston-Rainford
b0e390b899 SONARXML-194 S3422: Add Compliant code examples 2024-10-09 14:01:38 +01:00

View File

@ -5,7 +5,7 @@
=== Noncompliant code example
[source,xml]
[source,xml,diff-id=1,diff-type=noncompliant]
----
<dependency>
<groupId>javax.sql</groupId>
@ -16,6 +16,17 @@
</dependency>
----
=== Compliant solution
[source,xml,diff-id=1,diff-type=compliant]
----
<dependency>
<groupId>javax.sql</groupId>
<artifactId>jdbc-stdext</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
----
ifdef::env-github,rspecator-view[]