forked from cloudsimplus/cloudsimplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
536 lines (493 loc) · 22.3 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
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
<?xml version="1.0"?>
<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.cloudsimplus</groupId>
<artifactId>cloudsimplus</artifactId>
<version>8.5.5</version>
<name>CloudSim Plus API</name>
<description>CloudSim Plus: A modern, highly extensible and easier-to-use Java 17+ Framework for Modeling and Simulation of Cloud Computing Infrastructures and Services</description>
<url>https://cloudsimplus.org</url>
<organization>
<name>Instituto de Telecomunicações (IT) - Universidade da Beira Interior (UBI) - Instituto Federal de Educação Ciência e Tecnologia do Tocantins (IFTO)</name>
<url>https://www.it.pt https://www.ubi.pt http://www.ifto.edu.br</url>
</organization>
<inceptionYear>2015</inceptionYear>
<licenses>
<license>
<name>GPLv3</name>
<url>http://www.gnu.org/licenses/gpl-3.0.txt</url>
</license>
</licenses>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<license-maven-plugin.version>3.0</license-maven-plugin.version>
<!-- License file to be used by the com.mycila.license-maven-plugin -->
<copyrightfile>COPYRIGHT</copyrightfile>
</properties>
<developers>
<developer>
<name>Manoel Campos da Silva Filho</name>
<email>[email protected]</email>
<organization>Instituto Federal de Educação Ciência e Tecnologia do Tocantins (IFTO)</organization>
<organizationUrl>http://www.ifto.edu.br</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:[email protected]:cloudsimplus/cloudsimplus.git</connection>
<developerConnection>scm:git:[email protected]:cloudsimplus/cloudsimplus.git</developerConnection>
<url>[email protected]:cloudsimplus/cloudsimplus.git</url>
</scm>
<issueManagement>
<url>https://github.com/cloudsimplus/cloudsimplus/issues</url>
<system>GitHub Issues</system>
</issueManagement>
<profiles>
<!-- The profiles 'default' and 'integration-tests' are specified to allow
using the maven-surefire-plugin instead of the maven-failsafe-plugin to run
Integration/Functional tests. By this way, it is possible to see the
Integration/Functional tests results directly at the NetBeans JUnit graphical
test results interface.
-->
<profile>
<!-- This is the default profile that runs just the Unit Tests,
ignoring the Integration/Functional tests.
-->
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/integrationtests/*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</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-javadoc-plugin</artifactId>
<configuration>
<additionalOptions>-Xdoclint:none</additionalOptions>
<tags>
<tag>
<name>TODO</name>
<!-- "to do" tag for all places -->
<placement>a</placement>
<head>To do something:</head>
</tag>
</tags>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!--
This is the profile that runs all the Unit and Integration/Functional Tests.
-->
<id>integration-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<tags>
<tag>
<name>TODO</name>
<!-- "to do" tag for all places -->
<placement>a</placement>
<head>To do something:</head>
</tag>
</tags>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!--
A profile used to execute all goals required to deploy
the project to the Maven Central.
To execute use: mvn clean deploy -P sonatype
To check the deployed artifact and probably release it to maven central
you should visit https://oss.sonatype.org.
MAKE SURE YOU ARE LOGGED IN TO SEE YOUR DEPLOYMENTS.
-->
<id>sonatype</id>
<!--
URLs to deploy the project at the Maven Central (http://mvnrepository.com)
using a Sonatype account (http://central.sonatype.org)
See the "all" profile in this pom for deployment information.
-->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Forking the process was causing runtime exceptions
when running tests with Java 10+ -->
<forkCount>0</forkCount>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<tags>
<tag>
<name>TODO</name>
<!-- "to do" tag for all places -->
<placement>a</placement>
<head>To do something:</head>
</tag>
</tags>
</configuration>
</plugin>
<!--
Signs the generated jar using GPG, as required for deploying at the Maven Central.
Configurations are defined into the local repo settings.xml
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- Prevent `gpg` from using pinentry programs
and avoid "gpg: signing failed: Inappropriate ioctl for device" error. -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<!--
Plugin to deploy to the maven central using a Sonatype account.
Credentials are defined into the local repo settings.xml
-->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.7.0</version>
<extensions>true</extensions>
<configuration>
<serverId>manoelcampos-ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!--If the artifact will be automatically released to maven central after the upload to sonatype.-->
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<pluginManagement>
<!-- Plugins to be reused for different <profile>'s -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<!-- There is some problem with the version 2.19.1 or with
Netbeans 8.0.2 that the JUnit GUI is not shown at the IDE-->
<version>3.0.0-M5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<configuration>
<failOnError>false</failOnError>
<tags>
<tag>
<name>TODO</name>
<!-- "to do" tag for all places -->
<placement>a</placement>
<head>To do something:</head>
</tag>
</tags>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
<!-- Adds dependencies to classpath into the manifest file inside the jar !-->
<addClasspath>true</addClasspath>
<!-- Defines that the dependencies will follow the same
hierarchical directory structure of a maven repository !-->
<classpathLayoutType>repository</classpathLayoutType>
<!-- Defines the root folder where the dependencies are. In this case
is the the root of the local maven repository. !-->
<classpathPrefix>${user.home}/.m2/repository/</classpathPrefix>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<release>17</release>
</configuration>
</plugin>
<!--
Plugin for code coverage, enabling
generation of reports on IDE to see percentage
of the project's code that is being covered by unit tests.
-->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<!--
Adds License Information to project source and binaries using com.mycila.maven-license-plugin.
https://dzone.com/articles/adding-license-information.
To add missing license information for source files run:
mvn license:format
-->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${license-maven-plugin.version}</version>
<configuration>
<header>${copyrightfile}</header>
<mapping>
<java>SLASHSTAR_STYLE</java>
</mapping>
<strictCheck>true</strictCheck>
<failIfMissing>false</failIfMissing>
<includes>
<include>**/src/main/java/org/cloudsimplus/**</include>
<include>**/src/test/java/org/cloudsimplus/**</include>
<!--
CloudSim Plus exclusive files that are inside CloudSim packages.
The original copyright note was kept for files that were introduced in CloudSim Plus
but were derived from existing classes.
Such files accordingly have a "@since CloudSim Plus XXXX" tag to indicate
when they were introduced.
-->
<include>**/src/main/java/**/Processor.java</include>
<include>**/src/main/java/**/Identifiable.java</include>
<include>**/src/main/java/**/ResourceCapacity.java</include>
<include>**/src/main/java/**/RawStorage.java</include>
<include>**/src/main/java/**/Bandwidth.java</include>
<include>**/src/main/java/**/Ram.java</include>
<include>**/src/main/java/**/RawStorageManageable.java</include>
<include>**/src/main/java/**/BandwidthManageable.java</include>
<include>**/src/main/java/**/RamManageable.java</include>
<include>**/src/main/java/**/Nameable.java</include>
<include>**/src/main/java/**/CloudletSchedulerCompletelyFair.java</include>
<include>**/src/main/java/**/Resourceful.java</include>
<include>**/src/main/java/**/PoissonDistr.java</include>
<include>**/src/main/java/**/ResourceAbstract.java</include>
<include>**/src/main/java/**/VmAllocationPolicyBestFit.java</include>
</includes>
<excludes>
<exclude>**/package-info.java</exclude>
<exclude>**/src/test/resources/**</exclude>
<exclude>**/src/main/resources/**</exclude>
<exclude>**/*.md</exclude>
<exclude>**/*.adoc</exclude>
<exclude>**/*.swf</exclude>
<exclude>**/*.brite</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.properties</exclude>
<exclude>**/*.uml</exclude>
<exclude>**/*.iml</exclude>
<exclude>**/*.xml</exclude>
<exclude>**/src/main/resources/**</exclude>
<exclude>**/package-info.java</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<!--
Automatically checks for missing license header in source files.
You can use "format" to add missing headers or
call manually using: mvn license:format
-->
<goal>check</goal>
</goals>
<phase>process-sources</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.26</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>3.6.1</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>4.4</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.9.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.9.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.4.12</version>
</dependency>
<dependency>
<!-- Automatically includes slf4j-api 2.0 -->
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.4.6</version>
</dependency>
</dependencies>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<reportSets>
<!-- https://maven.apache.org/plugins/maven-javadoc-plugin/examples/javadoc-nofork.html -->
<reportSet>
<reports>
<report>javadoc-no-fork</report>
<report>test-javadoc-no-fork</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<tags>
<tag>
<name>TODO</name>
<!-- "to do" tag for all places -->
<placement>a</placement>
<head>To do something:</head>
</tag>
</tags>
</configuration>
</plugin>
</plugins>
</reporting>
</project>