mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
Restructure build process
This commit is contained in:
parent
d019642ba5
commit
a1300e0f6f
5 changed files with 88 additions and 101 deletions
30
pom.xml
30
pom.xml
|
|
@ -61,6 +61,7 @@
|
|||
<version.jaxb>2.3.7</version.jaxb>
|
||||
<version.lombok>1.18.24</version.lombok>
|
||||
<version.mockito>4.8.1</version.mockito>
|
||||
<version.owasp-dependency-check>7.2.0</version.owasp-dependency-check>
|
||||
<version.rest-assured>5.2.0</version.rest-assured>
|
||||
<version.saxon-he>11.4</version.saxon-he>
|
||||
<version.slf4j>1.7.25</version.slf4j>
|
||||
|
|
@ -591,6 +592,35 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>owasp-check</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.owasp</groupId>
|
||||
<artifactId>dependency-check-maven</artifactId>
|
||||
<version>${version.owasp-dependency-check}</version>
|
||||
<configuration>
|
||||
<failBuildOnCVSS>0</failBuildOnCVSS>
|
||||
<suppressionFiles>
|
||||
<suppressionFile>${project.basedir}/owasp-suppressions.xml</suppressionFile>
|
||||
</suppressionFiles>
|
||||
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>
|
||||
validate
|
||||
</phase>
|
||||
<goals>
|
||||
<goal>check</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>format</id>
|
||||
<activation><activeByDefault>false</activeByDefault></activation>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue