pom.xml 9.65 KB
Newer Older
1
<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">
2

3
  <modelVersion>4.0.0</modelVersion>
4

5
  <description>
6
        Pure Java implementation NFSv3, v4 and v4.1
7
  </description>
8

9
10
  <groupId>org.dcache</groupId>
  <artifactId>nfs4j</artifactId>
11
  <version>0.22.0-SNAPSHOT</version>
12
13
  <name>Java based NFSv4.1 implementation</name>
  <packaging>pom</packaging>
14

15
  <url>http://www.dCache.ORG</url>
16

17
  <scm>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
18
      <connection>scm:git:https://github.com/dCache/nfs4j.git</connection>
19
      <developerConnection>scm:git:ssh://git@github.com/dCache/nfs4j.git</developerConnection>
20
    <tag>HEAD</tag>
21
  </scm>
22

23
24
25
26
27
28
29
30
31
32
33
34
35
36
  <!--
    CODE LICENSE
  -->
  <licenses>
    <license>
      <name>
        GNU Lesser General Public License
      </name>
      <url>
        http://www.fsf.org/licensing/licenses/lgpl.txt
      </url>
      <distribution>repo</distribution>
    </license>
  </licenses>
37

38
39
  <modules>
      <module>core</module>
40
      <module>basic-client</module>
41
      <module>spring</module>
42
      <module>dlm</module>
43
      <module>benchmarks</module>
44
  </modules>
45

Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
46
47
48
49
  <properties>
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

50
51
52
53
54
55
56
57
58
59
60
61
62
63
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-pmd-plugin</artifactId>
          <version>3.0.1</version>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
64
            <version>3.7.0</version>
65
            <configuration>
66
67
                <source>1.8</source>
                <target>1.8</target>
68
                <showDeprecation>true</showDeprecation>
69
                <encoding>UTF-8</encoding>
70
71
            </configuration>
        </plugin>
72
73
74
75
76
77
78
79
80
81
82
83
	<plugin>
	    <groupId>org.apache.maven.plugins</groupId>
	    <artifactId>maven-release-plugin</artifactId>
	    <version>2.4.2</version>
	    <dependencies>
		<dependency>
		    <groupId>org.apache.maven.scm</groupId>
		    <artifactId>maven-scm-provider-gitexe</artifactId>
		    <version>1.9</version>
		</dependency>
	    </dependencies>
	</plugin>
84
        <plugin>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
85
86
87
            <groupId>com.github.spotbugs</groupId>
            <artifactId>spotbugs-maven-plugin</artifactId>
            <version>3.1.12</version>
88
89
90
            <configuration>
               <excludeFilterFile>${maven.multiModuleProjectDirectory}/spotbugs-exclude.xml</excludeFilterFile>
            </configuration>
91
        </plugin>
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
        <plugin>
            <groupId>org.jacoco</groupId>
            <artifactId>jacoco-maven-plugin</artifactId>
            <version>0.8.2</version>
            <executions>
                <!--
                    Prepares the property pointing to the JaCoCo runtime agent which
                    is passed as VM argument when Maven the Surefire plugin is executed.
                -->
                <execution>
                    <id>pre-unit-test</id>
                    <goals>
                        <goal>prepare-agent</goal>
                    </goals>
                    <configuration>
                        <!-- Sets the path to the file which contains the execution data. -->
                        <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
                    </configuration>
                </execution>
                <!--
                    Ensures that the code coverage report for unit tests is created after
                    unit tests have been run.
                -->
                <execution>
                    <id>post-unit-test</id>
                    <phase>test</phase>
                    <goals>
                        <goal>report</goal>
                    </goals>
                    <configuration>
                        <!-- Sets the path to the file which contains the execution data. -->
                        <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
                        <!-- Sets the output directory for the code coverage report. -->
                        <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
                    </configuration>
                </execution>
            </executions>
        </plugin>
130
131
    </plugins>
  </build>
132

133
134
135
136
137
  <!--
    EXTERNAL DEPENDENCIES
  -->
  <dependencyManagement>
      <dependencies>
138
139
140
141
142
143
          <dependency>
              <groupId>com.google.jimfs</groupId>
              <artifactId>jimfs</artifactId>
              <version>1.1</version>
              <scope>test</scope>
          </dependency>
144
          <dependency>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
145
              <groupId>org.jline</groupId>
146
              <artifactId>jline</artifactId>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
147
              <version>3.14.0</version>
148
149
150
151
          </dependency>
          <dependency>
              <groupId>junit</groupId>
              <artifactId>junit</artifactId>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
152
              <version>4.12</version>
153
154
155
156
157
              <scope>test</scope>
          </dependency>
          <dependency>
              <groupId>org.mockito</groupId>
              <artifactId>mockito-core</artifactId>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
158
              <version>2.28.2</version>
159
160
161
              <scope>test</scope>
          </dependency>
          <dependency>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
162
163
164
165
166
167
              <groupId>org.hamcrest</groupId>
              <artifactId>hamcrest-core</artifactId>
              <version>2.1</version>
              <scope>test</scope>
          </dependency>
          <dependency>
168
169
              <groupId>org.slf4j</groupId>
              <artifactId>slf4j-api</artifactId>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
170
              <version>1.7.25</version>
171
172
173
174
          </dependency>
          <dependency>
              <groupId>org.slf4j</groupId>
              <artifactId>log4j-over-slf4j</artifactId>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
175
              <version>1.7.25</version>
176
177
178
179
          </dependency>
          <dependency>
              <groupId>ch.qos.logback</groupId>
              <artifactId>logback-classic</artifactId>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
180
              <version>1.2.3</version>
181
182
183
184
          </dependency>
          <dependency>
              <groupId>com.google.guava</groupId>
              <artifactId>guava</artifactId>
185
              <version>24.1.1-jre</version>
186
          </dependency>
187
188
189
190
191
          <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-context</artifactId>
              <version>4.0.3.RELEASE</version>
          </dependency>
192
193
194
          <dependency>
              <groupId>org.dcache</groupId>
              <artifactId>oncrpc4j-core</artifactId>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
195
              <version>3.0.3</version>
196
          </dependency>
197
198
199
200
201
202
203
204
205
206
          <dependency>
              <groupId>com.hazelcast</groupId>
              <artifactId>hazelcast</artifactId>
              <version>3.9.2</version>
          </dependency>
          <dependency>
              <groupId>com.hazelcast</groupId>
              <artifactId>hazelcast-client</artifactId>
              <version>3.9.2</version>
          </dependency>
207
208
209
210
211
          <dependency>
              <groupId>com.sleepycat</groupId>
              <artifactId>je</artifactId>
              <version>7.3.7</version>
          </dependency>
212
213
214
215
216
217
218
219
220
221
          <dependency>
              <groupId>org.openjdk.jmh</groupId>
              <artifactId>jmh-core</artifactId>
              <version>1.21</version>
          </dependency>
          <dependency>
              <groupId>org.openjdk.jmh</groupId>
              <artifactId>jmh-generator-annprocess</artifactId>
              <version>1.21</version>
          </dependency>
222
223
      </dependencies>
  </dependencyManagement>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
224

225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
  <!--
    MAVEN REPOSITORIES
  -->
  <repositories>
    <repository>
      <id>maven2-repository.dcache.org</id>
      <name>dCache.ORG Repository for Maven</name>
      <url>http://download.dcache.org/nexus/content/groups/public/</url>
      <layout>default</layout>
    </repository>
    <repository>
      <id>dcache-snapshots</id>
      <name>dCache.ORG snapshots repository</name>
      <url>http://download.dcache.org/nexus/content/repositories/snapshots</url>
      <layout>default</layout>
    </repository>
  </repositories>
242
243

    <!--
244
                 MAVEN DEPLOYMENT REPOSITORY
245
    -->
246
247
248
249
250
251
252
253
254
255
256
  <distributionManagement>
      <repository>
          <id>dcache.org</id>
          <url>https://download.dcache.org/nexus/content/repositories/releases</url>
      </repository>
      <snapshotRepository>
          <id>dcache.org-snapshot</id>
          <url>https://download.dcache.org/nexus/content/repositories/snapshots</url>
      </snapshotRepository>
  </distributionManagement>

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
  <profiles>
      <profile>
          <id>sign-artifacts</id>
          <activation>
              <property>
                  <name>performRelease</name>
                  <value>true</value>
              </property>
          </activation>
          <build>
              <plugins>
                  <plugin>
                      <groupId>org.apache.maven.plugins</groupId>
                      <artifactId>maven-gpg-plugin</artifactId>
                      <version>1.6</version>
                      <configuration>
                          <passphrase>${gpg.passphrase}</passphrase>
                      </configuration>
                      <executions>
                          <execution>
                              <id>sign-artifacts</id>
                              <phase>verify</phase>
                              <goals>
                                  <goal>sign</goal>
                              </goals>
                          </execution>
                      </executions>
                  </plugin>
              </plugins>
          </build>
      </profile>
    </profiles>

290
</project>