Skip to content

Commit efd94e6

Browse files
Merge pull request #432 from CheckmarxDev/cx-hide-dev-dep-AST-105457
Hide dev and test dependency changes (AST-108223)
2 parents 06641ec + d71b79b commit efd94e6

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@
228228

229229
<developers>
230230
<developer>
231-
<name>Rahul Pidde</name>
232-
<email>rahul.pidde@checkmarx.com</email>
231+
<name>Anand Nandeshwar</name>
232+
<email>anand.nandeshwar@checkmarx.com</email>
233233
<organization>Checkmarx</organization>
234234
<organizationUrl>https://www.checkmarx.com/</organizationUrl>
235235
</developer>

src/main/java/com/checkmarx/ast/results/result/ScaPackageData.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,26 @@ public class ScaPackageData {
2020
boolean outdated;
2121
boolean supportsQuickFix;
2222
String typeOfDependency;
23+
boolean isDevelopmentDependency;
24+
boolean isTestDependency;
2325

2426

2527
public ScaPackageData(@JsonProperty("Id") String id,
2628
@JsonProperty("fixLink") String fixLink,
2729
@JsonProperty("dependencyPaths") List<List<DependencyPath>> dependencyPaths,
2830
@JsonProperty("outdated") boolean outdated,
2931
@JsonProperty("supportsQuickFix") boolean supportsQuickFix,
30-
@JsonProperty("typeOfDependency") String typeOfDependency) {
32+
@JsonProperty("typeOfDependency") String typeOfDependency,
33+
@JsonProperty("isDevelopmentDependency") boolean isDevelopmentDependency,
34+
@JsonProperty("isTestDependency") boolean isTestDependency) {
3135

3236
Id = id;
3337
this.fixLink = fixLink;
3438
this.dependencyPaths = dependencyPaths;
3539
this.outdated = outdated;
3640
this.supportsQuickFix = supportsQuickFix;
3741
this.typeOfDependency = typeOfDependency;
42+
this.isDevelopmentDependency = isDevelopmentDependency;
43+
this.isTestDependency = isTestDependency;
3844
}
3945
}

0 commit comments

Comments
 (0)