pom.xml 8.38 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.20.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
        </plugin>
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
        <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>
127
128
    </plugins>
  </build>
129

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

222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
  <!--
    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>
239
240

    <!--
241
                 MAVEN DEPLOYMENT REPOSITORY
242
    -->
243
244
245
246
247
248
249
250
251
252
253
  <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>

254
</project>