-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
486 lines (416 loc) · 15.9 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
Copyright (C) Aros Bio AB.
CPSign is an Open Source Software that is dual licensed to allow you to choose a license that best suits your requirements:
1) GPLv3 (GNU General Public License Version 3) with Additional Terms, including an attribution clause as well as a limitation to use the software for commercial purposes.
2) CPSign Proprietary License that allows you to use CPSign for commercial activities, such as in a revenue-generating operation or environment, or integrate CPSign in your proprietary software without worrying about disclosing the source code of your proprietary software, which is required if you choose to use the software under GPLv3 license. See arosbio.com/cpsign/commercial-license for details.
-->
<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>com.arosbio</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-rc1</version>
<packaging>pom</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<description>The aggregation project for all cpsign child modules</description>
<url>http://arosbio.com</url>
<organization>
<name>Aros Bio</name>
<url>http://arosbio.com</url>
</organization>
<modules>
<module>fast-ivap</module>
<module>depict</module>
<module>encrypt-api</module>
<module>test-utils</module>
<module>confai</module>
<module>cpsign-api</module>
<module>cpsign</module>
</modules>
<licenses>
<license>
<name>GPLv3 (GNU General Public License Version 3) with Additional Terms</name>
<comments>Non-commerical license</comments>
<url>http://www.gnu.org/licenses/gpl-3.0.html</url>
<distribution>repo</distribution>
</license>
<license>
<name>Commercial license</name>
<url>https://arosbio.com/cpsign/commercial-license</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/arosbio/cpsign.git</connection>
<developerConnection>scm:git:ssh://github.com:arosbio/cpsign.git</developerConnection>
<url>http://github.com/arosbio/cpsign/tree/master</url>
</scm>
<distributionManagement>
<!--
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
-->
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<developers>
<developer>
<name>Staffan Arvidsson McShane</name>
<email>staffan.arvidsson@gmail.com</email>
<organization>Pharmb.io</organization>
<organizationUrl>https://pharmb.io/</organizationUrl>
</developer>
</developers>
<!-- Common properties -->
<properties>
<!-- This property should point to the base of the root-directory of the cpsign repo - need to be overwritten in all child-modules -->
<parent.basedir>${project.basedir}</parent.basedir>
<!-- general settings -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<application.vendor>Aros Bio AB</application.vendor>
<timestamp>${maven.build.timestamp}</timestamp>
<mf.impl.vendor>Aros Bio AB</mf.impl.vendor>
<test.pkg>com.arosbio.tests.suites</test.pkg>
<!-- plugin versions -->
<shade.plugin.version>3.2.4</shade.plugin.version>
<javadoc.plugin.version>3.4.0</javadoc.plugin.version>
<compiler.plugin.version>3.10.1</compiler.plugin.version>
<dependency.plugin.version>3.3.0</dependency.plugin.version>
<jar.plugin.version>3.3.0</jar.plugin.version>
<surefire.plugin.version>3.0.0-M7</surefire.plugin.version>
<exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
<source.plugin.version>3.2.1</source.plugin.version>
<gpg.plugin.version>3.0.1</gpg.plugin.version>
<nexus.staging.plugin.version>1.6.7</nexus.staging.plugin.version>
<!-- Dependency versions -->
<cdk.version>2.8</cdk.version>
<slf4j.version>1.7.36</slf4j.version>
<logback.version>1.2.10</logback.version>
<json-simple.version>4.0.1</json-simple.version>
<commons-csv.version>1.10.0</commons-csv.version>
<commons-math3.version>3.6.1</commons-math3.version>
<commons-io.version>2.11.0</commons-io.version>
<commons-text.version>1.10.0</commons-text.version>
<commons-lang.version>3.9</commons-lang.version>
<guava.version>31.0.1-jre</guava.version>
<filters.version>2.0.235-1</filters.version>
<libsvm.version>3.24</libsvm.version>
<liblinear.version>2.44</liblinear.version>
</properties>
<!-- DEPENDENCY MANAGEMENT - SPECIFY SAME VERSIONS AND SIMPLIFY DEPS IN CHILDS -->
<dependencyManagement>
<dependencies>
<!-- CDK DEP -->
<dependency>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-bundle</artifactId>
<version>${cdk.version}</version>
<!-- Trying to reduce the final JAR size and remove Log4j and unnecessary dependencies -->
<exclusions>
<exclusion>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-extra</artifactId>
</exclusion>
<exclusion>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-iordf</artifactId>
</exclusion>
<exclusion>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-jniinchi-support</artifactId>
</exclusion>
<exclusion>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-legacy</artifactId>
</exclusion>
<exclusion>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-qsarionpot</artifactId>
</exclusion>
<exclusion>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-ionpot</artifactId>
</exclusion>
<exclusion>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-qsarcml</artifactId>
</exclusion>
<exclusion>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-libiomd</artifactId>
</exclusion>
<exclusion>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-pdbcml</artifactId>
</exclusion>
<exclusion>
<groupId>org.openscience.cdk</groupId>
<artifactId>cdk-libiocml</artifactId>
</exclusion>
<exclusion>
<groupId>org.freehep</groupId>
<artifactId>freehep-graphicsio-svg</artifactId>
</exclusion>
<exclusion>
<groupId>org.freehep</groupId>
<artifactId>freehep-graphicsio-ps</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.cliftonlabs</groupId>
<artifactId>json-simple</artifactId>
<version>${json-simple.version}</version>
</dependency>
<dependency>
<groupId>com.jhlabs</groupId>
<artifactId>filters</artifactId>
<version>${filters.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>${commons-text.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>${commons-math3.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>${commons-csv.version}</version>
</dependency>
<dependency>
<groupId>org.beryx</groupId>
<artifactId>awt-color-factory</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>tw.edu.ntu.csie</groupId>
<artifactId>libsvm</artifactId>
<version>${libsvm.version}</version>
</dependency>
<dependency>
<groupId>de.bwaldvogel</groupId>
<artifactId>liblinear</artifactId>
<version>${liblinear.version}</version>
</dependency>
<!-- LOGGING -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
</dependency>
<!-- CLI DEPS -->
<dependency>
<groupId>me.tongfei</groupId>
<artifactId>progressbar</artifactId>
<version>0.9.4</version>
</dependency>
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.7.0</version>
</dependency>
<dependency>
<groupId>org.fusesource.jansi</groupId>
<artifactId>jansi</artifactId>
<version>2.4.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- TEST DEPENDENCIES -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>[4.13.1,)</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>2.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.stefanbirkner</groupId>
<artifactId>system-rules</artifactId>
<version>1.19.0</version>
<scope>test</scope>
<!-- junit:junit-dep is deprecated, and junit:junit replaces it. -->
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.openjdk.jol</groupId>
<artifactId>jol-core</artifactId>
<version>0.10</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${dependency.plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.plugin.version}</version>
<configuration>
<author>false</author>
<bottom><![CDATA[<i>Copyright © 2022, <a href="https://arosbio.com">Aros Bio AB</a>. All Rights Reserved.</i>]]></bottom>
</configuration>
<!--
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
-->
</plugin>
<!-- License management: updates the header of source files only
Run it using `mvn license:format` -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.1</version>
<configuration>
<licenseSets>
<licenseSet>
<inlineHeader>
Copyright (C) Aros Bio AB.
CPSign is an Open Source Software that is dual licensed to allow you to choose a license that best suits your requirements:
1) GPLv3 (GNU General Public License Version 3) with Additional Terms, including an attribution clause as well as a limitation to use the software for commercial purposes.
2) CPSign Proprietary License that allows you to use CPSign for commercial activities, such as in a revenue-generating operation or environment, or integrate CPSign in your proprietary software without worrying about disclosing the source code of your proprietary software, which is required if you choose to use the software under GPLv3 license. See arosbio.com/cpsign/commercial-license for details.
</inlineHeader>
<excludes>
<exclude>**/README</exclude>
<exclude>*.md</exclude>
<exclude>src/test/resources/**</exclude>
<exclude>src/main/resources/**</exclude>
<exclude>**/*.txt</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!-- Profile for deploying to the maven central repo - builds and signs all required artifacts -->
<profile>
<id>deploy</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<!-- TODO - not sure if we need to specify this again -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.plugin.version}</version>
<configuration>
<author>false</author>
<bottom><![CDATA[<i>Copyright © 2022, <a href="https://arosbio.com">Aros Bio AB</a>. All Rights Reserved.</i>]]></bottom>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${source.plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gpg.plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus.staging.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>