This is an automated email from the ASF dual-hosted git repository. rec pushed a commit to branch feature/#53-Add-profile-for-performing-dependency-checks in repository https://gitbox.apache.org/repos/asf/uima-parent-pom.git
commit bdbcdf325e90a78042ef46d6fe18dd489a9819d9 Author: Richard Eckart de Castilho <r...@apache.org> AuthorDate: Mon Aug 7 18:12:46 2023 +0200 Issue #53: Add profile for performing dependency checks - Added dependency checking profile activated by a marker file --- pom.xml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/pom.xml b/pom.xml index 9e8e7f1..1603f42 100644 --- a/pom.xml +++ b/pom.xml @@ -2185,5 +2185,37 @@ </plugins> </build> </profile> + + <profile> + <id>dependency-check</id> + <activation> + <property> + <name>!disable-dependency-check</name> + </property> + <file> + <exists>marker-file-enabling-dependency-check</exists> + </file> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>default</id> + <phase>verify</phase> + <goals> + <goal>analyze-only</goal> + </goals> + </execution> + </executions> + <configuration> + <failOnWarning>true</failOnWarning> + </configuration> + </plugin> + </plugins> + </build> + </profile> </profiles> </project> \ No newline at end of file