Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <project ...>
- <groupId>com.examle.app</groupId>
- <artifactId>app-parent</artifactId>
- <version>0.1-SNAPSHOT</version>
- <packaging>pom</packaging>
- <profiles>
- <profile>
- <id>security</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.owasp</groupId>
- <artifactId>dependency-check-maven</artifactId>
- <version>${dependency-check-maven.version}</version>
- <configuration>
- <failBuildOnCVSS>11</failBuildOnCVSS>
- <format>ALL</format>
- <suppressionFile>Parent_Root_Dir/owasp_suppress_false_positives.xml</suppressionFile>
- <outputDirectory>Child_Root_Dir/owasp_output</outputDirectory>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>verify</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
- <project ...>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>com.example.app</groupId>
- <artifactId>app-parent</artifactId>
- <version>0.1-SNAPSHOT</version>
- </parent>
- <artifactId>app-child1</artifactId>
- <version>0.1-SNAPSHOT</version>
- <name>Child1</name>
- .
- .
- .
- </project>
- parent-project
- - pom.xml
- child1-project
- - pom.xml
- child2-project
- - pom.xml
- .
- .
- .
- <properties>
- <main.basedir>${project.parent.basedir}</main.basedir>
- </properties>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement