|
9 | 9 | <packaging>jar</packaging> |
10 | 10 |
|
11 | 11 |
|
12 | | - <name>SWAN Core</name> |
13 | | - <description>SWAN uses fully automated machine-learning approaches to classify Java methods into security-relevant methods (SRM) and software vulnerabilities categories. |
14 | | - The methods are classified into the following security-relevant method categories sources, sinks, sanitizers and authentication. For the software vulnerability classes, |
15 | | - the following Common Weakness Enumeration (CWE) vulnerabilities are supported: OS Command Injection, Cross-site Scripting, SQL Injection, Missing Authentication, Open Redirect, Missing Authorisation, and Incorrect Authorisation. |
16 | | - SWAN detects methods from the provided source code and outputs a list of methods that can be used to configure static analysis tools. |
| 12 | + <name>SWAN</name> |
| 13 | + <description>SWAN uses fully automated machine-learning approaches to classify Java methods into security-relevant |
| 14 | + methods (SRM) and software vulnerabilities categories. |
| 15 | + The methods are classified into the following security-relevant method categories sources, sinks, sanitizers and |
| 16 | + authentication. For the software vulnerability classes, |
| 17 | + the following Common Weakness Enumeration (CWE) vulnerabilities are supported: OS Command Injection, Cross-site |
| 18 | + Scripting, SQL Injection, Missing Authentication, Open Redirect, Missing Authorisation, and Incorrect |
| 19 | + Authorisation. |
| 20 | + SWAN detects methods from the provided source code and outputs a list of methods that can be used to configure |
| 21 | + static analysis tools. |
17 | 22 | </description> |
18 | 23 | <url>https://github.com/secure-software-engineering/swan</url> |
19 | 24 |
|
|
80 | 85 | <dependency> |
81 | 86 | <groupId>nz.ac.waikato.cms.weka</groupId> |
82 | 87 | <artifactId>weka-stable</artifactId> |
83 | | - <version>3.8.5</version> |
| 88 | + <version>3.8.6</version> |
84 | 89 | </dependency> |
85 | 90 | <dependency> |
86 | 91 | <groupId>com.googlecode.json-simple</groupId> |
|
100 | 105 | <dependency> |
101 | 106 | <groupId>edu.stanford.nlp</groupId> |
102 | 107 | <artifactId>stanford-corenlp</artifactId> |
103 | | - <version>4.3.0</version> |
| 108 | + <version>4.4.0</version> |
104 | 109 | </dependency> |
105 | 110 | <dependency> |
106 | 111 | <groupId>edu.stanford.nlp</groupId> |
107 | 112 | <artifactId>stanford-corenlp</artifactId> |
108 | | - <version>4.3.0</version> |
109 | | - <classifier>models</classifier> |
| 113 | + <version>4.4.0</version> |
| 114 | + <classifier>models-english</classifier> |
110 | 115 | </dependency> |
111 | 116 | <dependency> |
112 | 117 | <groupId>org.jsoup</groupId> |
|
121 | 126 | <dependency> |
122 | 127 | <groupId>dev.jeka</groupId> |
123 | 128 | <artifactId>jeka-core</artifactId> |
124 | | - <version>0.9.0.M10</version> |
| 129 | + <version>0.9.15.RELEASE</version> |
125 | 130 | </dependency> |
126 | | - <!-- deeplearning4j-core: contains swanPipeline functionality and neural networks --> |
127 | 131 | <dependency> |
128 | 132 | <groupId>org.deeplearning4j</groupId> |
129 | 133 | <artifactId>deeplearning4j-core</artifactId> |
|
152 | 156 | <dependency> |
153 | 157 | <groupId>ai.libs</groupId> |
154 | 158 | <artifactId>mlplan-weka</artifactId> |
155 | | - <version>0.2.3</version> |
| 159 | + <version>0.2.7</version> |
156 | 160 | </dependency> |
157 | 161 | <dependency> |
158 | 162 | <groupId>org.graphstream</groupId> |
|
162 | 166 | <dependency> |
163 | 167 | <groupId>ai.libs</groupId> |
164 | 168 | <artifactId>hasco-core</artifactId> |
165 | | - <version>0.2.5</version> |
| 169 | + <version>0.2.7</version> |
166 | 170 | </dependency> |
167 | | - <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api --> |
168 | 171 | <dependency> |
169 | 172 | <groupId>org.slf4j</groupId> |
170 | 173 | <artifactId>slf4j-api</artifactId> |
171 | | - <version>1.7.32</version> |
| 174 | + <version>1.7.36</version> |
172 | 175 | </dependency> |
173 | | - <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple --> |
174 | 176 | <dependency> |
175 | 177 | <groupId>org.slf4j</groupId> |
176 | 178 | <artifactId>slf4j-simple</artifactId> |
177 | | - <version>1.7.32</version> |
| 179 | + <version>1.7.36</version> |
178 | 180 | </dependency> |
179 | 181 | <dependency> |
180 | 182 | <groupId>info.picocli</groupId> |
181 | 183 | <artifactId>picocli</artifactId> |
182 | | - <version>4.6.2</version> |
| 184 | + <version>4.6.3</version> |
183 | 185 | </dependency> |
184 | 186 | <dependency> |
185 | 187 | <groupId>commons-io</groupId> |
|
192 | 194 | <artifactId>jackson-databind</artifactId> |
193 | 195 | <version>2.13.1</version> |
194 | 196 | </dependency> |
195 | | - <!-- https://mvnrepository.com/artifact/net.sf.meka/meka --><!-- https://mvnrepository.com/artifact/net.sf.meka/meka --> |
196 | 197 | <dependency> |
197 | 198 | <groupId>net.sf.meka</groupId> |
198 | 199 | <artifactId>meka</artifactId> |
|
244 | 245 | <target>1.8</target> |
245 | 246 | </configuration> |
246 | 247 | </plugin> |
247 | | - <plugin> |
248 | | - <artifactId>maven-clean-plugin</artifactId> |
249 | | - <configuration> |
250 | | - <filesets> |
251 | | - <fileset> |
252 | | - <directory>${basedir}/target</directory> |
253 | | - <followSymlinks>false</followSymlinks> |
254 | | - </fileset> |
255 | | - </filesets> |
256 | | - </configuration> |
257 | | - </plugin> |
258 | 248 | <plugin> |
259 | 249 | <groupId>org.apache.maven.plugins</groupId> |
260 | 250 | <artifactId>maven-source-plugin</artifactId> |
|
268 | 258 | </execution> |
269 | 259 | </executions> |
270 | 260 | </plugin> |
271 | | - |
272 | | - <!-- This creates a runnable JAR that can be used from the command line. --> |
273 | 261 | <plugin> |
274 | 262 | <groupId>org.apache.maven.plugins</groupId> |
275 | | - <artifactId>maven-assembly-plugin</artifactId> |
| 263 | + <artifactId>maven-shade-plugin</artifactId> |
| 264 | + <version>3.2.4</version> |
276 | 265 | <executions> |
277 | 266 | <execution> |
278 | 267 | <phase>package</phase> |
279 | 268 | <goals> |
280 | | - <goal>single</goal> |
| 269 | + <goal>shade</goal> |
281 | 270 | </goals> |
282 | 271 | <configuration> |
283 | | - <archive> |
284 | | - <manifest> |
285 | | - <mainClass> |
286 | | - de.fraunhofer.iem.swan.Main |
287 | | - </mainClass> |
288 | | - </manifest> |
289 | | - </archive> |
290 | | - <descriptorRefs> |
291 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
292 | | - </descriptorRefs> |
| 272 | + <transformers> |
| 273 | + <!-- adding Main-Class to manifest file --> |
| 274 | + <transformer |
| 275 | + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 276 | + <mainClass>de.fraunhofer.iem.swan.Main</mainClass> |
| 277 | + </transformer> |
| 278 | + </transformers> |
| 279 | + <minimizeJar>true</minimizeJar> |
| 280 | + <filters> |
| 281 | + <filter> |
| 282 | + <artifact>*:*</artifact> |
| 283 | + <excludes> |
| 284 | + <exclude>META-INF/*.SF</exclude> |
| 285 | + <exclude>META-INF/*.DSA</exclude> |
| 286 | + <exclude>META-INF/*.RSA</exclude> |
| 287 | + </excludes> |
| 288 | + </filter> |
| 289 | + <filter> |
| 290 | + <artifact>edu.stanford.nlp:stanford-corenlp:models-english</artifact> |
| 291 | + <excludes> |
| 292 | + <exclude>edu/stanford/nlp/models/srparser/**</exclude> |
| 293 | + <exclude>edu/stanford/nlp/models/ner/**</exclude> |
| 294 | + <exclude>edu/stanford/nlp/models/sentiment/**</exclude> |
| 295 | + </excludes> |
| 296 | + </filter> |
| 297 | + <filter> |
| 298 | + <artifact>org.bytedeco</artifact> |
| 299 | + <excludes> |
| 300 | + <exclude>**</exclude> |
| 301 | + </excludes> |
| 302 | + </filter> |
| 303 | + <!--filter> |
| 304 | + <artifact>org.nd4j</artifact> |
| 305 | + <excludes> |
| 306 | + <exclude>**</exclude> |
| 307 | + </excludes> |
| 308 | + </filter--> |
| 309 | + </filters> |
293 | 310 | </configuration> |
294 | 311 | </execution> |
295 | 312 | </executions> |
|
306 | 323 | <plugin> |
307 | 324 | <groupId>org.apache.maven.plugins</groupId> |
308 | 325 | <artifactId>maven-javadoc-plugin</artifactId> |
309 | | - <version>3.3.1</version> |
| 326 | + <version>3.3.2</version> |
310 | 327 | <executions> |
311 | 328 | <execution> |
312 | 329 | <id>attach-javadocs</id> |
|
332 | 349 | <plugin> |
333 | 350 | <groupId>org.apache.maven.plugins</groupId> |
334 | 351 | <artifactId>maven-gpg-plugin</artifactId> |
335 | | - <version>1.6</version> |
| 352 | + <version>3.0.1</version> |
336 | 353 | <executions> |
337 | 354 | <execution> |
338 | 355 | <id>sign-artifacts</id> |
|
0 commit comments