forked from hazelcast/hazelcast-code-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
169 lines (157 loc) · 6.68 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
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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>
<packaging>pom</packaging>
<version>0.1-SNAPSHOT</version>
<groupId>com.hazelcast.samples</groupId>
<artifactId>code-samples</artifactId>
<name>Sample Code</name>
<description>
Hazelcast sample code.
</description>
<properties>
<main.basedir>${project.basedir}</main.basedir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.version>1.8</jdk.version>
<jdk.integration.version>1.8</jdk.integration.version>
<hazelcast.version>4.1-SNAPSHOT</hazelcast.version>
<hazelcast-jet.version>3.2.2</hazelcast-jet.version>
<hazelcast-jclouds.version>3.7.2</hazelcast-jclouds.version>
<maven.compiler.plugin.version>3.5.1</maven.compiler.plugin.version>
<maven.checkstyle.plugin.version>2.15</maven.checkstyle.plugin.version>
<maven.assembly.plugin.version>3.0.0</maven.assembly.plugin.version>
<lombok.version>1.16.22</lombok.version>
</properties>
<repositories>
<repository>
<id>snapshot-repository</id>
<name>Maven2 Snapshot Repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<modules>
<module>clients</module>
<module>cluster</module>
<module>cluster-split-brain-protection</module>
<module>cluster-split-brain-protection-xml</module>
<module>cluster-state</module>
<module>cp-subsystem</module>
<module>demo</module>
<module>distributed-collections</module>
<module>distributed-executor</module>
<module>distributed-map</module>
<module>distributed-primitives</module>
<module>distributed-topic</module>
<module>enterprise</module>
<module>hazelcast-integration</module>
<module>helper</module>
<module>jcache</module>
<module>jcache-1.1</module>
<module>jmx</module>
<module>json</module>
<module>learning-basics</module>
<module>monitoring</module>
<module>near-cache</module>
<module>network-configuration</module>
<module>org-website-samples</module>
<module>osgi</module>
<module>partition</module>
<module>pipeline</module>
<module>replicated-map</module>
<module>querying</module>
<module>serialization</module>
<module>spi</module>
<module>transactions</module>
<module>variable-replacers</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<profile>
<id>checkstyle</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven.checkstyle.plugin.version}</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
<configuration>
<configLocation>${main.basedir}/checkstyle/checkstyle.xml</configLocation>
<suppressionsLocation>${main.basedir}/checkstyle/suppressions.xml</suppressionsLocation>
<headerLocation>${main.basedir}/checkstyle/ClassHeader.txt</headerLocation>
<enableRSS>false</enableRSS>
<linkXRef>true</linkXRef>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<failOnViolation>true</failOnViolation>
<includeTestSourceDirectory>false</includeTestSourceDirectory>
<enableRulesSummary>true</enableRulesSummary>
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>