Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
executable file
·227 lines (210 loc) · 9.98 KB
/
Copy pathpom.xml
File metadata and controls
executable file
·227 lines (210 loc) · 9.98 KB
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
<?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-examples</artifactId>
<!--
The module version defines the version of CloudSim Plus to be used.
This way, it cannot be a version number which doesn't exist for CloudSim Plus.
-->
<version>9.0.0-SNAPSHOT</version>
<name>CloudSim Plus Examples</name>
<description>
Ready-to-run examples of how to use CloudSim Plus API.
It is an excellent start point to learn how to implement cloud computing
simulations using CloudSim Plus.
All examples of CloudSim Plus exclusive features are inside the org.cloudsimplus.examples package.
Each Java class with a main method is a different example.
</description>
<inceptionYear>2015</inceptionYear>
<licenses>
<license>
<name>GPLv3</name>
<url>http://www.gnu.org/licenses/gpl-3.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>Manoel Campos da Silva Filho</name>
<email>manoelcampos@gmail.com</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:git@github.com:cloudsimplus/cloudsimplus-examples.git</connection>
<developerConnection>scm:git:git@github.com:cloudsimplus/cloudsimplus-examples.git</developerConnection>
<url>git@github.com:cloudsimplus/cloudsimplus-examples.git</url>
</scm>
<issueManagement>
<url>https://github.com/cloudsimplus/cloudsimplus-examples/issues</url>
<system>GitHub Issues</system>
</issueManagement>
<properties>
<errorprone.version>2.50.0</errorprone.version>
<nullaway.version>0.14.2</nullaway.version>
<jspecify.version>1.0.0</jspecify.version>
<!-- Error Prone arguments (see maven-compiler-plugin). -->
<errorprone.args>-XepDisableWarningsInGeneratedCode -XepExcludedPaths:.*/target/generated-sources/.* -Xep:StringConcatToTextBlock:OFF</errorprone.args>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<license-maven-plugin.version>5.0.0</license-maven-plugin.version>
<!-- License file to be used by the com.mycila.license-maven-plugin -->
<copyrightfile>../COPYRIGHT</copyrightfile>
<maven.compiler.release>25</maven.compiler.release>
<logback.version>1.5.18</logback.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.0</version>
<configuration>
<annotationProcessorPaths>
<path>
<!--
Error Prone: Google's static analyzer that runs as a javac plugin,
finding common mistakes at compile time.
It is also the base to run NullAway.
StringConcatToTextBlock is disabled because it crashes on some string concatenations.
Requires the options in .mvn/jvm.config to work on JDK 16+.
https://errorprone.info
-->
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>${errorprone.version}</version>
</path>
<path>
<!--
NullAway: Error Prone check that fails the build when a value
that may be null is used without a check, avoiding NullPointerException.
Just packages annotated with JSpecify @NullMarked (see package-info.java files) are checked.
Inside them, everything is considered non-null by default, unless annotated with @Nullable.
This way, classes from dependencies (such as CloudSim Plus) are considered unannotated.
https://github.com/uber/NullAway
-->
<groupId>com.uber.nullaway</groupId>
<artifactId>nullaway</artifactId>
<version>${nullaway.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<!-- Error Prone and NullAway settings (see the comments in annotationProcessorPaths above). -->
<arg>-XDcompilePolicy=simple</arg>
<arg>--should-stop=ifError=FLOW</arg>
<arg>-Xplugin:ErrorProne ${errorprone.args} -Xep:NullAway:ERROR -XepOpt:NullAway:OnlyNullMarked=true</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</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 root of the local maven repository. !-->
<classpathPrefix>${user.home}/.m2/repository/</classpathPrefix>
</manifest>
</archive>
</configuration>
</plugin>
<!-- Creates an "uber jar" that includes all external dependencies
inside it. This way, the jar can be run directly in any
computer with a regular JVM installed. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- Keep the original jar file and generate a new shaded jar (the uber jar) -->
<shadedArtifactAttached>true</shadedArtifactAttached>
<!-- The suffix to add to the shaded jar -->
<shadedClassifierName>with-dependencies</shadedClassifierName>
</configuration>
</plugin>
<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>
<excludes>
<exclude>**/src/main/resources/**</exclude>
<exclude>**/src/main/java/org/cloudbus/**</exclude>
<exclude>**/*.md</exclude>
<exclude>**/*.xml</exclude>
<exclude>**/*.brite</exclude>
<exclude>**/package-info.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<!--
Maven Central repository for SNAPSHOT versions, enabling the use of CloudSim Plus
SNAPSHOT versions (such as 9.0.0-SNAPSHOT) before they are released.
Final versions are still downloaded from Maven Central, since releases are disabled here.
https://central.sonatype.org/publish/publish-portal-snapshots/
-->
<name>Central Portal Snapshots</name>
<id>central-portal-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.cloudsimplus</groupId>
<artifactId>cloudsimplus</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<!-- Automatically includes slf4j-api 2.0 -->
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<!--
JSpecify annotations (such as @Nullable) to indicate values that may be null.
They are checked by NullAway at compile time.
https://jspecify.dev
-->
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<version>${jspecify.version}</version>
</dependency>
</dependencies>
</project>