dependency-check-ant
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.owasp</groupId> <artifactId>dependency-check-ant</artifactId> <version>12.1.3</version> </dependency>
<!-- This file is part of dependency-check-ant. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Copyright (c) 2013 - Jeremy Long. All Rights Reserved. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.owasp</groupId> <artifactId>dependency-check-parent</artifactId> <version>12.1.3</version> </parent> <artifactId>dependency-check-ant</artifactId> <packaging>jar</packaging> <name>Dependency-Check Ant Task</name> <description>dependency-check-ant is an Ant Task that uses dependency-check-core to detect publicly disclosed vulnerabilities associated with the project's dependencies. The task will generate a report listing the dependency, any identified Common Platform Enumeration (CPE) identifiers, and the associated Common Vulnerability and Exposure (CVE) entries.</description> <scm> <connection>scm:git:https://github.com/dependency-check/DependencyCheck.git</connection> <url>https://github.com/dependency-check/DependencyCheck/tree/main/ant</url> <developerConnection>scm:git:git@github.com/dependency-check/DependencyCheck.git</developerConnection> <tag>v12.1.3</tag> </scm> <build> <resources> <resource> <directory>${basedir}/src/main/resources</directory> <includes> <include>**/*.properties</include> </includes> <filtering>true</filtering> </resource> <resource> <directory>${basedir}</directory> <targetPath>META-INF</targetPath> <includes> <include>LICENSE.txt</include> <include>NOTICE.txt</include> </includes> </resource> </resources> <testResources> <testResource> <directory>${basedir}/src/test/resources</directory> <includes> <include>**/*.xml</include> </includes> <filtering>true</filtering> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <configuration> <escapeWindowsPaths>false</escapeWindowsPaths> </configuration> <executions> <!-- the following executions are solely to setup the test environment --> <execution> <id>copy-test-data.zip</id> <phase>pre-integration-test</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/test-classes</outputDirectory> <resources> <resource> <directory>${basedir}/../src/test/resources</directory> <filtering>false</filtering> <includes> <include>data.zip</include> </includes> </resource> </resources> </configuration> </execution> <execution> <id>copy-test-resources-1</id> <phase>pre-integration-test</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/test-classes/lib</outputDirectory> <resources> <resource> <directory>${basedir}/../src/test/resources</directory> <filtering>false</filtering> <includes> <include>org.mortbay.*.jar</include> </includes> </resource> </resources> </configuration> </execution> <execution> <id>copy-test-resources-2</id> <phase>pre-integration-test</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/test-classes/jars</outputDirectory> <resources> <resource> <directory>${basedir}/../src/test/resources</directory> <filtering>false</filtering> <includes> <include>axis-1.4.jar</include> </includes> </resource> </resources> </configuration> </execution> <execution> <id>copy-test-resources-3</id> <phase>pre-integration-test</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/test-classes/webroot</outputDirectory> <resources> <resource> <directory>${basedir}/../src/test/resources</directory> <filtering>false</filtering> <includes> <include>struts.jar</include> </includes> </resource> </resources> </configuration> </execution> <execution> <id>copy-test-resources-4</id> <phase>pre-integration-test</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/test-classes/list</outputDirectory> <resources> <resource> <directory>${basedir}/../src/test/resources</directory> <filtering>false</filtering> <includes> <include>org.mortbay.jetty.jar</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> <classpathPrefix>lib/</classpathPrefix> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <configuration> <attach>true</attach> </configuration> <executions> <execution> <id>create-distribution</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <descriptors> <descriptor>src/main/assembly/release.xml</descriptor> </descriptors> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.owasp</groupId> <artifactId>dependency-check-core</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>org.owasp</groupId> <artifactId>dependency-check-utils</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <!-- not visible in imports due to method chaining, but Check code uses classes from this library --> <groupId>io.github.jeremylong</groupId> <artifactId>open-vulnerability-clients</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>io.github.jeremylong</groupId> <artifactId>jcs3-slf4j</artifactId> </dependency> <dependency> <groupId>org.owasp</groupId> <artifactId>dependency-check-core</artifactId> <version>${project.parent.version}</version> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-testutil</artifactId> <scope>test</scope> </dependency> </dependencies> </project>