Last active
February 26, 2016 21:55
-
-
Save jeremylong/63e90cd6103ff9e41b6a to your computer and use it in GitHub Desktop.
dependency-check-maven-mysql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<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> | |
<groupId>org.owasp</groupId> | |
<artifactId>dependency-check-maven-mysql</artifactId> | |
<version>1.3.1</version> | |
<packaging>maven-plugin</packaging> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<maven.compiler.source>1.7</maven.compiler.source> | |
<maven.compiler.target>1.7</maven.compiler.target> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-plugin-plugin</artifactId> | |
<version>3.3</version> | |
<configuration> | |
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> | |
<goalPrefix>dependency-check-mysql</goalPrefix> | |
</configuration> | |
<executions> | |
<execution> | |
<id>mojo-descriptor</id> | |
<goals> | |
<goal>descriptor</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>generated-helpmojo</id> | |
<goals> | |
<goal>helpmojo</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>org.owasp</groupId> | |
<artifactId>dependency-check-maven</artifactId> | |
<version>1.3.1</version> | |
</dependency> | |
<dependency> | |
<groupId>mysql</groupId> | |
<artifactId>mysql-connector-java</artifactId> | |
<version>5.1.36</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-core</artifactId> | |
<version>3.3.3</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-plugin-api</artifactId> | |
<version>3.3.3</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-settings</artifactId> | |
<version>3.3.3</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-site-plugin</artifactId> | |
<version>3.4</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.plugin-tools</groupId> | |
<artifactId>maven-plugin-annotations</artifactId> | |
<version>3.4</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.reporting</groupId> | |
<artifactId>maven-reporting-api</artifactId> | |
<version>3.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.velocity</groupId> | |
<artifactId>velocity</artifactId> | |
<version>1.7</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.owasp.dependencycheck.maven; | |
import org.apache.maven.plugins.annotations.LifecyclePhase; | |
import org.apache.maven.plugins.annotations.Mojo; | |
import org.apache.maven.plugins.annotations.ResolutionScope; | |
@Mojo( | |
name = "aggregate", | |
defaultPhase = LifecyclePhase.VERIFY, | |
threadSafe = false, | |
requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME, | |
requiresOnline = true | |
) | |
public class AggregateMySQLMojo extends AggregateMojo { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.owasp.dependencycheck.maven; | |
import org.apache.maven.plugins.annotations.LifecyclePhase; | |
import org.apache.maven.plugins.annotations.Mojo; | |
import org.apache.maven.plugins.annotations.ResolutionScope; | |
@Mojo( | |
name = "check", | |
defaultPhase = LifecyclePhase.VERIFY, | |
threadSafe = false, | |
requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME, | |
requiresOnline = true | |
) | |
public class CheckMySQLMojo extends CheckMojo { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the path to the data directory | |
data.directory=[JAR]/../../dependency-check-data | |
data.connection_string=jdbc:h2:file:%s;FILE_LOCK=SERIALIZED;AUTOCOMMIT=ON; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment