pom.xml 10.4 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
4
5

    <modelVersion>4.0.0</modelVersion>

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

    <groupId>org.dcache.chimera</groupId>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
10
    <artifactId>jpnfs</artifactId>
11
    <version>0.6.0-SNAPSHOT</version>
12
    <name>Java based NFSv4.1 implementation</name>
13
14
    <packaging>jar</packaging>
    <url>http://www.dCache.ORG</url>
15
    <scm>
16
17
        <connection>scm:git:https://github.com/dCache/jpnfs.git</connection>
        <developerConnection>scm:git:https://github.com/dCache/jpnfs.git</developerConnection>
18
    </scm>
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

    <!--
        CODE LICENSE
    -->
    <licenses>
        <license>
            <name>
                GNU Lesser General Public License
            </name>
            <url>
                http://www.fsf.org/licensing/licenses/lgpl.txt
            </url>
        </license>
    </licenses>

    <developers>
        <developer>
            <id>tigran</id>
            <name>Tigran Mkrtchyan</name>
            <organization>dCache.ORG</organization>
        </developer>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
40
41
42
43
44
        <developer>
            <id>tatjana</id>
            <name>Tatjana Baranova</name>
            <organization>dCache.ORG</organization>
        </developer>
45
46
47
48
49
    </developers>

    <build>
        <sourceDirectory>src</sourceDirectory>
        <testSourceDirectory>test</testSourceDirectory>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
50
51
52
53
54
55
56
57
58
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-pmd-plugin</artifactId>
                    <version>3.0.1</version>
                </plugin>
            </plugins>
        </pluginManagement>
59
60
61
62
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
63
                <version>2.0.2</version>
64
                <configuration>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
65
66
                    <source>1.7</source>
                    <target>1.7</target>
67
                    <showDeprecation>true</showDeprecation>
68
69
                </configuration>
            </plugin>
70
71
72
73
74
75
            <!--
               start java app
            -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
76
                <version>1.2</version>
77
78
79
80
81
82
83
84
85
86
87
                <executions>
                    <execution>
                        <goals>
                            <goal>java</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <mainClass>org.dcache.xdr.SpringRunner</mainClass>
                </configuration>
            </plugin>
88
89
90
91
92
93
94
95
96
97
98
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.2</version>
                <configuration>
                    <archive>
                        <manifest>
                            <mainClass>org.dcache.xdr.SimpleRpcServer</mainClass>
                            <packageName>org.dcache.xdr</packageName>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <addClasspath>true</addClasspath>
99
                            <addExtensions />
100
101
102
103
104
                            <classpathPrefix>lib/</classpathPrefix>
                        </manifest>
                        <manifestEntries>
                            <mode>development</mode>
                            <Implementation-Build>${buildNumber}</Implementation-Build>
105
                            <url>${project.url}</url>
106
                            <Build-Time>${maven.build.timestamp}</Build-Time>
107
108
                        </manifestEntries>
                    </archive>
109
110
111
                    <excludes>
                        <exclude>**/logback.xml</exclude>
                    </excludes>
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.2-beta-4</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>attached</goal>
                        </goals>
                        <phase>package</phase>
                        <configuration>
                            <descriptorRefs>
                                <descriptorRef>jar-with-dependencies</descriptorRef>
                            </descriptorRefs>
                            <archive>
129
130
131
                                <manifest>
                                    <mainClass>org.dcache.xdr.SpringRunner</mainClass>
                                    <packageName>org.dcache.chimera.nfs</packageName>
132
                                    <addExtensions />
133
                                </manifest>
134
135
136
                                <manifestEntries>
                                    <mode>development</mode>
                                    <Implementation-Build>${buildNumber}</Implementation-Build>
137
                                    <url>${project.url}</url>
138
                                    <Build-Time>${maven.build.timestamp}</Build-Time>
139
140
141
142
143
144
145
                                </manifestEntries>
                            </archive>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
146
        <resources>
147
148
149
150
151
            <resource>
               <directory>resources</directory>
               <includes>
               </includes>
            </resource>
152
        </resources>
153
154
155
156
157
158
159
    </build>

    <!--
        EXTERNAL DEPENDENCIES
    -->
    <dependencies>
        <dependency>
160
161
162
            <groupId>com.jolbox</groupId>
            <artifactId>bonecp</artifactId>
            <version>0.7.1.RELEASE</version>
163
        </dependency>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
164
165
166
        <dependency>
            <groupId>jline</groupId>
            <artifactId>jline</artifactId>
167
            <version>1.0</version>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
168
        </dependency>
169
170
171
172
173
174
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.7</version>
            <scope>test</scope>
        </dependency>
175
176
177
178
179
180
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <version>1.9.5</version>
            <scope>test</scope>
        </dependency>
181
        <dependency>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
182
183
184
            <groupId>com.h2database</groupId>
            <artifactId>h2</artifactId>
            <version>1.3.166</version>
185
        </dependency>
186
187
188
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
189
            <version>1.7.5</version>
190
        </dependency>
191
192
193
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>log4j-over-slf4j</artifactId>
194
            <version>1.7.5</version>
195
        </dependency>
196
197
198
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
199
            <version>1.0.13</version>
200
        </dependency>
201
202
203
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
204
            <version>13.0</version>
205
        </dependency>
206
207
208
        <dependency>
            <groupId>org.liquibase</groupId>
            <artifactId>liquibase-core</artifactId>
209
            <version>2.0.3</version>
210
        </dependency>
211
212
        <dependency>
            <groupId>org.dcache</groupId>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
213
            <artifactId>oncrpc4j-spring</artifactId>
214
            <version>2.1.0</version>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
215
216
217
218
        </dependency>
        <dependency>
            <groupId>org.dcache</groupId>
            <artifactId>oncrpc4j-core</artifactId>
219
            <version>2.1.0</version>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
220
221
222
223
224
        </dependency>
        <dependency>
            <groupId>com.sun.jna</groupId>
            <artifactId>jna</artifactId>
            <version>3.0.9</version>
225
        </dependency>
226
227
228
229
230
231
        <!--
            LOCAL JARS
        -->
        <dependency>
            <groupId>org.dcache.chimera</groupId>
            <artifactId>chimera-core</artifactId>
232
            <version>0.0.12-SNAPSHOT</version>
233
        </dependency>
234
235
236
237
238
239
240

        <dependency>
            <groupId>org.glassfish.gmbal</groupId>
            <artifactId>gmbal</artifactId>
            <version>3.2.0-b003</version>
        </dependency>

241
242
243
244
245
246
247
    </dependencies>

    <!--
        MAVEN REPOSITORIES
    -->
    <repositories>
    <!-- Grizzly repository -->
248
249
250
251
252
253
        <repository>
            <id>download.java.net</id>
            <name>Glassfish Repository for Maven</name>
            <url>http://download.java.net/maven/glassfish/ </url>
            <layout>default</layout>
        </repository>
254
255
256
257
258
259
        <repository>
            <id>maven2-repository.dev.java.net</id>
            <name>Java.net Repository for Maven</name>
            <url>http://download.java.net/maven/2/</url>
            <layout>default</layout>
        </repository>
260
261
262
        <repository>
            <id>maven2-repository.dcache.org</id>
            <name>dCache.ORG Repository for Maven</name>
263
            <url>http://download.dcache.org/nexus/content/groups/public/</url>
264
265
            <layout>default</layout>
        </repository>
266
267
268
        <repository>
            <id>dcache-snapshots</id>
            <name>dCache.ORG snapshots repository</name>
269
            <url>http://download.dcache.org/nexus/content/repositories/snapshots</url>
270
271
            <layout>default</layout>
        </repository>
272
273
274
    </repositories>

    <properties>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
275
276
277
        <!--
            NETBEANS specific
        -->
278
        <netbeans.hint.license>lglp20</netbeans.hint.license>
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
279
280

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
281
    </properties>
282
283
284
285
286
287
288

    <!--
        MAVEN DEPLOYMENT REPOSITORY
    -->
    <distributionManagement>
        <repository>
            <id>dcache.org</id>
289
            <url>http://download.dcache.org/nexus/content/repositories/releases</url>
290
291
292
        </repository>
        <snapshotRepository>
            <id>dcache.org</id>
293
            <url>http://download.dcache.org/nexus/content/repositories/snapshots</url>
294
295
        </snapshotRepository>
    </distributionManagement>
296
</project>