Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. <project ...>
  2. <groupId>com.examle.app</groupId>
  3. <artifactId>app-parent</artifactId>
  4. <version>0.1-SNAPSHOT</version>
  5. <packaging>pom</packaging>
  6.  
  7. <profiles>
  8. <profile>
  9. <id>security</id>
  10. <build>
  11. <plugins>
  12. <plugin>
  13. <groupId>org.owasp</groupId>
  14. <artifactId>dependency-check-maven</artifactId>
  15. <version>${dependency-check-maven.version}</version>
  16. <configuration>
  17. <failBuildOnCVSS>11</failBuildOnCVSS>
  18. <format>ALL</format>
  19. <suppressionFile>Parent_Root_Dir/owasp_suppress_false_positives.xml</suppressionFile>
  20. <outputDirectory>Child_Root_Dir/owasp_output</outputDirectory>
  21. </configuration>
  22. <executions>
  23. <execution>
  24. <goals>
  25. <goal>check</goal>
  26. </goals>
  27. <phase>verify</phase>
  28. </execution>
  29. </executions>
  30. </plugin>
  31. </plugins>
  32. </build>
  33. </profile>
  34. </profiles>
  35. </project>
  36.  
  37. <project ...>
  38. <modelVersion>4.0.0</modelVersion>
  39. <parent>
  40. <groupId>com.example.app</groupId>
  41. <artifactId>app-parent</artifactId>
  42. <version>0.1-SNAPSHOT</version>
  43. </parent>
  44.  
  45. <artifactId>app-child1</artifactId>
  46. <version>0.1-SNAPSHOT</version>
  47. <name>Child1</name>
  48.  
  49. .
  50. .
  51. .
  52.  
  53. </project>
  54.  
  55. parent-project
  56. - pom.xml
  57. child1-project
  58. - pom.xml
  59. child2-project
  60. - pom.xml
  61. .
  62. .
  63. .
  64.  
  65. <properties>
  66. <main.basedir>${project.parent.basedir}</main.basedir>
  67. </properties>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement