Skip to content

Commit 514f7f1

Browse files
Daan HooglandDaanHoogland
authored andcommitted
owasp maven plugin added and versions as properties
1 parent b363fd4 commit 514f7f1

1 file changed

Lines changed: 32 additions & 1 deletion

File tree

pom.xml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@
6565
<cs.failsafe-plugin.version>2.21.0</cs.failsafe-plugin.version>
6666
<cs.findbugs-plugin.version>3.0.5</cs.findbugs-plugin.version>
6767
<cs.jar-plugin.version>3.1.0</cs.jar-plugin.version>
68+
<cs.owasp.dependency-checker-plugin.version>3.1.1</cs.owasp.dependency-checker-plugin.version>
6869
<cs.pmd-plugin.version>3.9.0</cs.pmd-plugin.version>
6970
<cs.project-info-plugin.version>2.9</cs.project-info-plugin.version>
7071
<cs.release-plugin.version>2.5.3</cs.release-plugin.version>
7172
<cs.resources-plugin.version>3.1.0</cs.resources-plugin.version>
7273
<cs.site-plugin.version>3.7.1</cs.site-plugin.version>
7374
<cs.surefire-plugin.version>2.21.0</cs.surefire-plugin.version>
7475

76+
7577
<!-- Logging versions -->
7678
<cs.log4j.version>1.2.17</cs.log4j.version>
7779
<cs.log4j.extras.version>1.2.17</cs.log4j.extras.version>
@@ -152,6 +154,7 @@
152154
<cs.neethi.version>2.0.4</cs.neethi.version>
153155
<cs.nitro.version>10.1</cs.nitro.version>
154156
<cs.opensaml.version>2.6.4</cs.opensaml.version>
157+
<cs.owasp.esapi.version>2.1.0.1</cs.owasp.esapi.version>
155158
<cs.rados-java.version>0.2.0</cs.rados-java.version>
156159
<cs.rampart.version>1.5.1</cs.rampart.version>
157160
<cs.reflections.version>0.9.11</cs.reflections.version>
@@ -577,7 +580,7 @@
577580
<dependency>
578581
<groupId>org.owasp.esapi</groupId>
579582
<artifactId>esapi</artifactId>
580-
<version>2.1.0.1</version>
583+
<version>${cs.owasp.esapi.version}</version>
581584
</dependency>
582585
<!-- Test dependency in mysql for db tests -->
583586
<dependency>
@@ -717,6 +720,22 @@
717720
</execution>
718721
</executions>
719722
</plugin>
723+
<plugin>
724+
<groupId>org.owasp</groupId>
725+
<artifactId>dependency-check-maven</artifactId>
726+
<version>${cs.owasp.dependency-checker-plugin.version}</version>
727+
<configuration>
728+
<skipProvidedScope>true</skipProvidedScope>
729+
<skipRuntimeScope>true</skipRuntimeScope>
730+
</configuration>
731+
<executions>
732+
<execution>
733+
<goals>
734+
<goal>check</goal>
735+
</goals>
736+
</execution>
737+
</executions>
738+
</plugin>
720739
</plugins>
721740
<pluginManagement>
722741
<plugins>
@@ -1124,6 +1143,18 @@
11241143
</build>
11251144
<reporting>
11261145
<plugins>
1146+
<plugin>
1147+
<groupId>org.owasp</groupId>
1148+
<artifactId>dependency-check-maven</artifactId>
1149+
<version>${cs.owasp.dependency-checker-plugin.version}</version>
1150+
<reportSets>
1151+
<reportSet>
1152+
<reports>
1153+
<report>aggregate</report>
1154+
</reports>
1155+
</reportSet>
1156+
</reportSets>
1157+
</plugin>
11271158
<plugin>
11281159
<groupId>org.codehaus.mojo</groupId>
11291160
<artifactId>findbugs-maven-plugin</artifactId>

0 commit comments

Comments
 (0)