source: gs2-extensions/malware-checker/trunk/java/pom.xml@ 33664

Last change on this file since 33664 was 33664, checked in by davidb, 4 years ago

Initial version code for running VirusTotal API against files, CLI scripts

File size: 4.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6
7 <groupId>org.greenstone.virustotal</groupId>
8 <artifactId>malware-checker</artifactId>
9 <version>1.0-SNAPSHOT</version>
10
11 <name>malware-checker</name>
12 <url>http://www.greenstone.org</url>
13
14 <properties>
15 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16 <maven.compiler.source>1.7</maven.compiler.source>
17 <maven.compiler.target>1.7</maven.compiler.target>
18 </properties>
19
20 <dependencies>
21 <dependency>
22 <groupId>junit</groupId>
23 <artifactId>junit</artifactId>
24 <version>4.11</version>
25 <scope>test</scope>
26 </dependency>
27
28 <dependency>
29 <groupId>com.github.vatbub</groupId>
30 <artifactId>VirustotalPublicV2.0</artifactId>
31 <version>1.1.rB</version>
32 </dependency>
33
34 </dependencies>
35
36
37
38 <build>
39 <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
40 <plugins>
41 <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
42 <plugin>
43 <artifactId>maven-clean-plugin</artifactId>
44 <version>3.1.0</version>
45 </plugin>
46 <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
47 <plugin>
48 <artifactId>maven-resources-plugin</artifactId>
49 <version>3.0.2</version>
50 </plugin>
51 <plugin>
52 <artifactId>maven-compiler-plugin</artifactId>
53 <version>3.8.0</version>
54 </plugin>
55 <plugin>
56 <artifactId>maven-surefire-plugin</artifactId>
57 <version>2.22.1</version>
58 </plugin>
59 <plugin>
60 <artifactId>maven-jar-plugin</artifactId>
61 <version>3.0.2</version>
62 </plugin>
63 <plugin>
64 <artifactId>maven-install-plugin</artifactId>
65 <version>2.5.2</version>
66 </plugin>
67 <plugin>
68 <artifactId>maven-deploy-plugin</artifactId>
69 <version>2.8.2</version>
70 </plugin>
71 <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
72 <plugin>
73 <artifactId>maven-site-plugin</artifactId>
74 <version>3.7.1</version>
75 </plugin>
76 <plugin>
77 <artifactId>maven-project-info-reports-plugin</artifactId>
78 <version>3.0.0</version>
79 </plugin>
80 <plugin>
81 <artifactId>maven-assembly-plugin</artifactId>
82 <configuration>
83 <archive>
84 <manifest>
85 <mainClass>org.greenstone.virustotal.ScanFile</mainClass>
86 </manifest>
87 </archive>
88 <descriptorRefs>
89 <descriptorRef>jar-with-dependencies</descriptorRef>
90 </descriptorRefs>
91 </configuration>
92 </plugin>
93
94 <plugin>
95 <artifactId>maven-assembly-plugin</artifactId>
96 <configuration>
97 <archive>
98 <manifest>
99 <mainClass>org.greenstone.virustotal.GetFileScanReport</mainClass>
100 </manifest>
101 </archive>
102 <descriptorRefs>
103 <descriptorRef>jar-with-dependencies</descriptorRef>
104 </descriptorRefs>
105 </configuration>
106 </plugin>
107
108 <plugin>
109 <artifactId>maven-assembly-plugin</artifactId>
110 <configuration>
111 <archive>
112 <manifest>
113 <mainClass>org.greenstone.virustotal.ScanFile</mainClass>
114 </manifest>
115 </archive>
116 <descriptorRefs>
117 <descriptorRef>jar-with-dependencies</descriptorRef>
118 </descriptorRefs>
119 </configuration>
120 </plugin>
121
122 <plugin>
123 <artifactId>maven-assembly-plugin</artifactId>
124 <configuration>
125 <archive>
126 <manifest>
127 <mainClass>org.greenstone.virustotal.addComment</mainClass>
128 </manifest>
129 </archive>
130 <descriptorRefs>
131 <descriptorRef>jar-with-dependencies</descriptorRef>
132 </descriptorRefs>
133 </configuration>
134 </plugin>
135
136 </plugins>
137 </pluginManagement>
138 </build>
139</project>
Note: See TracBrowser for help on using the repository browser.